mirror of
https://github.com/opnsense/docs
synced 2024-11-17 03:25:33 +00:00
49 lines
1.8 KiB
ReStructuredText
49 lines
1.8 KiB
ReStructuredText
Telegraf
|
|
~~~~~~~~
|
|
|
|
.. csv-table:: Resources (GeneralController.php)
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
"``GET``","telegraf","general","get",""
|
|
"``POST``","telegraf","general","set",""
|
|
|
|
.. csv-table:: Resources (InputController.php)
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
"``GET``","telegraf","input","get",""
|
|
"``POST``","telegraf","input","set",""
|
|
|
|
.. csv-table:: Resources (KeyController.php)
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
"``POST``","telegraf","key","addKey",""
|
|
"``POST``","telegraf","key","delKey","$uuid"
|
|
"``GET``","telegraf","key","get",""
|
|
"``GET``","telegraf","key","getKey","$uuid=null"
|
|
"``*``","telegraf","key","searchKey",""
|
|
"``GET``","telegraf","key","set",""
|
|
"``POST``","telegraf","key","setKey","$uuid"
|
|
"``POST``","telegraf","key","toggleKey","$uuid"
|
|
|
|
"``<<uses>>``", "", "", "", "*model* `Key.xml <https://github.com/opnsense/plugins/blob/master/net-mgmt/telegraf/src/opnsense/mvc/app/models/OPNsense/Telegraf/Key.xml>`__"
|
|
|
|
.. csv-table:: Resources (OutputController.php)
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
"``GET``","telegraf","output","get",""
|
|
"``POST``","telegraf","output","set",""
|
|
|
|
.. csv-table:: Service (ServiceController.php)
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
"``POST``","telegraf","service","reconfigure",""
|
|
"``POST``","telegraf","service","restart",""
|
|
"``POST``","telegraf","service","start",""
|
|
"``GET``","telegraf","service","status",""
|
|
"``POST``","telegraf","service","stop",""
|