CHECK_SNMP - Recalc output - possible?

Thomas Jens Lauritsen tjl at topdanmark.dk
Mon Dec 22 10:52:56 CET 2003


Dear List,

I ask the server (W2K) for different disk space informations via SNMP.


Example:
Disk Size
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.4 = 42371287

Disk Used
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.4 = 24565772

Question:

Is it possible to substract those two outputs - to get the freespace via
the Check_snmp
command or there a way around this?


Thanks for your time.

Thomas




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list