Monitoring with check_snmp a file system

Werner, Robert RWerner at pomwonderful.com
Wed Feb 29 23:37:41 CET 2012


To get that kind of info over snmp you probably would have to write a script because the check_snmp only pulls one oid at a time.

However there already are plugins that will do exactly what you want:
http://nagios.manubulon.com/index_snmp.html

I use these to monitor diskspace.  Read the instructions on that page for how to set your thresholds.

--
Robert G. Werner
Oracle Apps Systems Administrator
rwerner at pomwonderful.com
559.521.5089

From: Verges Casadevall, Jordi [mailto:jordi.verges at t-systems.es]
Sent: Wednesday, February 29, 2012 3:50 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Monitoring with check_snmp a file system

Hello,

I'm a newbie on Nagios. I'm reading http://nagiosplugins.org/man/check_snmp
I would like to monitor by SNMP file systems on remote servers. I'm trying to use check_snmp but I don't know how to check multiples OIDs
For example: check_snmp -H localhost -P 2c -C public -o hrStorageDescr.19,hrStorageSize.19,hrStorageUsed.19
SNMP OK - /usr/local/nagios 1274000 39195 | HOST-RESOURCES-MIB::hrStorageSize.19=1274000 HOST-RESOURCES-MIB::hrStorageUsed.19=39195

But I would like to monitor if % space used is more than 80%, please could you tell me how to configure warnings and criticals?


Best Regards,

Jordi Verges Casadevall
T-Systems Iberia
Production (ICTO) - Automation & Tools
Sancho de Àvila, 110-130
08018 Barcelona
Tel. +34 933 419 576
e-mail: jordi.verges at t-systems.es<mailto:jordi.verges at t-systems.es>
Internet: www.t-systems.es<http://www.t-systems.es/>
This e-mail and any attachments may contain confidential or privileged information. Any unauthorized copying, use or distribution of this information is strictly prohibited.




This e-mail and any attachments may contain confidential or privileged information.
Any unauthorized copying, use or distribution of this information is strictly
prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120229/25cd1108/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
-------------- next part --------------
_______________________________________________
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