RHEL6 services UNKNOWN in web UI but are valid
Posted: Tue Mar 09, 2021 2:44 pm
Greetings,
Strange issue where some valid services and mounts show up as UNKNOWN in the 4.4.6 core web UI but direct queries provide valid return data. api shows valid data as well.
Direct query of a mount point:
/usr/local/nagios/libexec/./check_ncpa.py -H host -t 'token' -P 5693 -M 'disk/logical/|var|cb|data/used_percent' --warning 90 --critical 95 -v
Connecting to: https://host:5693/api/disk/logical/%7Cv ... 95&check=1
File returned contained:
{
"returncode": 0,
"stdout": "OK: Used_percent was 38.90 % | 'used_percent'=38.90%;90;95;"
}
OK: Used_percent was 38.90 % | 'used_percent'=38.90%;90;95;
Web UI status: UNKNOWN: The node (/var/cb/data) requested does not exist. You may be trying to access the '/' node.
Anybody know how to troubleshoot these?
Thanks Ron
Strange issue where some valid services and mounts show up as UNKNOWN in the 4.4.6 core web UI but direct queries provide valid return data. api shows valid data as well.
Direct query of a mount point:
/usr/local/nagios/libexec/./check_ncpa.py -H host -t 'token' -P 5693 -M 'disk/logical/|var|cb|data/used_percent' --warning 90 --critical 95 -v
Connecting to: https://host:5693/api/disk/logical/%7Cv ... 95&check=1
File returned contained:
{
"returncode": 0,
"stdout": "OK: Used_percent was 38.90 % | 'used_percent'=38.90%;90;95;"
}
OK: Used_percent was 38.90 % | 'used_percent'=38.90%;90;95;
Web UI status: UNKNOWN: The node (/var/cb/data) requested does not exist. You may be trying to access the '/' node.
Anybody know how to troubleshoot these?
Thanks Ron