mirror of
https://github.com/opnsense/docs
synced 2024-11-18 21:28:29 +00:00
44 lines
1.9 KiB
ReStructuredText
44 lines
1.9 KiB
ReStructuredText
Monit
|
|
~~~~~
|
|
|
|
.. csv-table:: Service (ServiceController.php)
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
"``POST``","monit","service","configtest",""
|
|
"``POST``","monit","service","reconfigure",""
|
|
|
|
"``<<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","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","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'"
|