2
0
mirror of https://github.com/opnsense/docs synced 2024-11-09 01:10:33 +00:00
opensense-docs/source/development/api/core/monit.rst

40 lines
1.6 KiB
ReStructuredText
Raw Normal View History

2020-02-16 15:08:40 +00:00
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",""
.. 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"
.. csv-table:: Resources (StatusController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","monit","status","get","$format='xml'"