Nagiosxi reporting incorrect disk space usage

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
isadmin
Posts: 151
Joined: Thu Nov 08, 2012 10:49 am

Nagiosxi reporting incorrect disk space usage

Post 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
You do not have the required permissions to view the files attached to this post.
Last edited by isadmin on Tue Jan 22, 2013 10:56 am, edited 2 times in total.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagiosxi reporting incorrect disk space usage

Post by slansing »

What checks are you using to relay this information?
isadmin
Posts: 151
Joined: Thu Nov 08, 2012 10:49 am

Re: Nagiosxi reporting incorrect disk space usage

Post by isadmin »

Does check_nt use a tmp file somewhere?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagiosxi reporting incorrect disk space usage

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
isadmin
Posts: 151
Joined: Thu Nov 08, 2012 10:49 am

Re: Nagiosxi reporting incorrect disk space usage

Post by isadmin »

Commandline results were incorrect.... they were included previously but rebooted the servers last night and
all is correct today....Gremlins maybe?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagiosxi reporting incorrect disk space usage

Post by lmiltchev »

:D :D :D
Let us know if you have any more issues.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked