mirror of
https://github.com/opnsense/docs
synced 2024-11-09 01:10:33 +00:00
51 lines
2.2 KiB
ReStructuredText
51 lines
2.2 KiB
ReStructuredText
Monit
|
|
~~~~~
|
|
|
|
.. csv-table:: Service (ServiceController.php)
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
"``POST``","monit","service","check",""
|
|
"``POST``","monit","service","reconfigure",""
|
|
"``POST``","monit","service","reconfigure",""
|
|
"``POST``","monit","service","restart",""
|
|
"``POST``","monit","service","start",""
|
|
"``GET``","monit","service","status",""
|
|
"``POST``","monit","service","stop",""
|
|
|
|
"``<<uses>>``", "", "", "", "*model* `Monit.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/Monit/Monit.xml>`__"
|
|
|
|
.. csv-table:: Resources (SettingsController.php)
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
"``POST``","monit","settings","addAlert",""
|
|
"``POST``","monit","settings","addService",""
|
|
"``POST``","monit","settings","addTest",""
|
|
"``POST``","monit","settings","delAlert","$uuid"
|
|
"``POST``","monit","settings","delService","$uuid"
|
|
"``POST``","monit","settings","delTest","$uuid"
|
|
"``GET``","monit","settings","dirty",""
|
|
"``GET``","monit","settings","get",""
|
|
"``GET``","monit","settings","getAlert","$uuid=null"
|
|
"``GET``","monit","settings","getGeneral",""
|
|
"``GET``","monit","settings","getService","$uuid=null"
|
|
"``GET``","monit","settings","getTest","$uuid=null"
|
|
"``*``","monit","settings","searchAlert",""
|
|
"``*``","monit","settings","searchService",""
|
|
"``*``","monit","settings","searchTest",""
|
|
"``POST``","monit","settings","set",""
|
|
"``POST``","monit","settings","setAlert","$uuid"
|
|
"``POST``","monit","settings","setService","$uuid"
|
|
"``POST``","monit","settings","setTest","$uuid"
|
|
"``POST``","monit","settings","toggleAlert","$uuid,$enabled=null"
|
|
"``POST``","monit","settings","toggleService","$uuid,$enabled=null"
|
|
|
|
"``<<uses>>``", "", "", "", "*model* `Monit.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/Monit/Monit.xml>`__"
|
|
|
|
.. csv-table:: Resources (StatusController.php)
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
"``GET``","monit","status","get","$format='xml'"
|