Negative disk check result
Posted: Tue Nov 28, 2023 4:28 pm
Hello!
I am running into an issue with one of our disk checks when migrating to NCPA where it is showing a negative value for the amount of used disk space:
[nagios@nagiosxi ~]$ /usr/local/nagios/libexec/check_ncpa.py -H XXX.XXX.XXX.41 -t 'TOKEN' -P 5693 -M 'disk/logical/|u04|dbs' -w '90' -c '95'
CRITICAL: Used disk space was -198.70 % (Used: -3300.27 GiB, Free: 4960.87 GiB, Total: 1660.60 GiB) | 'used'=-3300.27GiB;1495;1578; 'free'=4960.87GiB;1495;1578; 'total'=1660.60GiB;1495;1578;
Old check:
[nagios@nagiosxi ~]$ /usr/local/nagios/libexec/check_nrpe -2 -H XXX.XXX.XXX.41 -c check_disk1 -t 30 -a 6% 3% "/u04/dbs"
DISK OK - free space: /u04/dbs 5081154 MiB (27.49% inode=100%);| /u04/dbs=13396925MiB;17369395;17923737;0;18478080
However, all the other disk checks in NCPA are coming back as normal values.
Is there something we need to ask the system administrators of this host to check in terms of the way the partition is set up? Do we need to have them reinstall NCPA? Do you have any other suggestions for troubleshooting this issue?
Thank you.
I am running into an issue with one of our disk checks when migrating to NCPA where it is showing a negative value for the amount of used disk space:
[nagios@nagiosxi ~]$ /usr/local/nagios/libexec/check_ncpa.py -H XXX.XXX.XXX.41 -t 'TOKEN' -P 5693 -M 'disk/logical/|u04|dbs' -w '90' -c '95'
CRITICAL: Used disk space was -198.70 % (Used: -3300.27 GiB, Free: 4960.87 GiB, Total: 1660.60 GiB) | 'used'=-3300.27GiB;1495;1578; 'free'=4960.87GiB;1495;1578; 'total'=1660.60GiB;1495;1578;
Old check:
[nagios@nagiosxi ~]$ /usr/local/nagios/libexec/check_nrpe -2 -H XXX.XXX.XXX.41 -c check_disk1 -t 30 -a 6% 3% "/u04/dbs"
DISK OK - free space: /u04/dbs 5081154 MiB (27.49% inode=100%);| /u04/dbs=13396925MiB;17369395;17923737;0;18478080
However, all the other disk checks in NCPA are coming back as normal values.
Is there something we need to ask the system administrators of this host to check in terms of the way the partition is set up? Do we need to have them reinstall NCPA? Do you have any other suggestions for troubleshooting this issue?
Thank you.