I use a slightly modified (allow cheks of "/var" as well as "c:")
check_hd plugin to check disk space on both windows and unix. It works
fine for the most part, except for a windows machine with 2 partitions. 

The E: partition report is fine
OK: hd e:\.* 1% full, 27.4GB free. [EMAIL PROTECTED], [EMAIL PROTECTED]

The C partition wasn't
OK: hd c:\.* 83% full, 0.7GB free. [EMAIL PROTECTED], [EMAIL PROTECTED]

Investigating revealed the plugin working correctly
DBG: fullsize  8388447 * 512 = 4294884864
DBG: usedsize  6984708 * 512 = 3576170496

However the C: drive wasn't using 3.5G, it was using about 210*6984708 

So I doubt it's the allocationunit that's a problem.

It now reports the correct value, which may be linked to a restart of
the snmp service.
OK: hd c:\.* 65% full, 1.4GB free. [EMAIL PROTECTED], [EMAIL PROTECTED]

Has anyone seen this kind of behavior before?


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
                                        
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to