Hello Team
I am using the following service check on a windows 2012 server with NCPA agent running there
Check command : Check_xi_ncpa
Check view: $USER1$/check_ncpa.py -H $HOSTADDRESS$ $ARG1$
$ARG1$ : -t '' -P 5693 -M 'disk/logical/E:|/' -u G -w 90 -c 95
The return I am getting is -
WARNING: Used disk space was 90.30 % (Used: 920.90 GB, Free: 99.15 GB, Total: 1020.05 GB)
Date/Time: 2020-02-20 15:59:26
When I can see E drive size as 950 GB on server, but the alert says its Total of 1020 GB
Any
Check_xi_ncpa disk check not getting right disk value
Re: Check_xi_ncpa disk check not getting right disk value
Do you get the expected results if you use "Gi" instead of "G"?
Example:
Example:
Code: Select all
/usr/local/nagios/libexec/check_ncpa.py -H x.x.x.x -t 'token' -M 'disk/logical/E:|' -w 90 -c 95 -u GiBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Check_xi_ncpa disk check not getting right disk value
Thanks that solved the issue
Now are getting actual values
you can close this ticket
Thansk
Insurity
Now are getting actual values
you can close this ticket
Thansk
Insurity
Re: Check_xi_ncpa disk check not getting right disk value
I am glad I could help!
Be sure to check out our Knowledgebase for helpful articles and solutions!