Page 1 of 1

Nagiosxi reporting incorrect disk space usage

Posted: Tue Jan 22, 2013 10:35 am
by isadmin
I have two exchange servers that the drives went into alert mode last night.
After the nightly backup the drives now have plenty of free space but nagios is alerting that they still
are full? The checks show updated times...logs show it checking servers....repaired database....
restarting agents on Servers....set refresh on template and the two services showing incorrectly?
Where should I look next?
commandline results
/check_nt -H 10.x.x.x -s "" -p 12489 -v USEDDISKSPACE -l T -w 90 -c 95
T:\ - total: 39.87 Gb - used: 38.67 Gb (97%) - free 1.20 Gb (3%) | 'T:\ Used Space'=38.67Gb;35.88;37.88;0.00;39.87
Actual Disk Usage on Server
[img]
snapshot10.png
[/img]

but actual command is
check_xi_service_nsclient $USER1$/check_nt -H $HOSTADDRESS$ -s "$ARG1$" -p 12489 -v $ARG2$ $ARG3$
Arg 2 USEDDISKSPACE
Arg 3 -l T -w 90 -c 95

Re: Nagiosxi reporting incorrect disk space usage

Posted: Tue Jan 22, 2013 10:40 am
by slansing
What checks are you using to relay this information?

Re: Nagiosxi reporting incorrect disk space usage

Posted: Tue Jan 22, 2013 1:12 pm
by isadmin
Does check_nt use a tmp file somewhere?

Re: Nagiosxi reporting incorrect disk space usage

Posted: Tue Jan 22, 2013 1:51 pm
by lmiltchev
When you run the check from the command line, does it report the correct value? Can you run the actual command and show the output? (Hide the sensitive data)

For example:

Code: Select all

/usr/local/nagios/libexec/check_nt -H <IP_address> -s "<password>" -p 12489 -v USEDDISKSPACE -l C -w 90% -c 95%
Try running the following commands and see if this is going to help:

Code: Select all

service nagios stop
killall -9 nagios
service ndo2db stop
service ndo2db start
service nagios start

Re: Nagiosxi reporting incorrect disk space usage

Posted: Wed Jan 23, 2013 8:37 am
by isadmin
Commandline results were incorrect.... they were included previously but rebooted the servers last night and
all is correct today....Gremlins maybe?

Re: Nagiosxi reporting incorrect disk space usage

Posted: Wed Jan 23, 2013 10:12 am
by lmiltchev
:D :D :D
Let us know if you have any more issues.