Code: Select all
https://192.168.1.11:5693/api/service/httpd/running
Code: Select all
{
"value": {
"returncode": 0,
"stdout": "OK: Service httpd is running"
}
}
Code: Select all
{
"value": {
"returncode": 2,
"stdout": "CRITICAL: Service iptables is stopped"
}
}
Also can't check via /api/processes, because it doesn't show up in the list!
Would love to switch all our NRPE stuff over to NCPA, but if we can't get accurate process/service information, we can't convert.