SAN and NAS

Check TeraStation Storage

Description:

Check remaining storage capacity of Buffalo TeraStations via SNMP

Current Version

0.2

Last Release Date

2012-10-18

Compatible With

  • Nagios 3.x

Owner

License

GPL


Project Files
Project Photos
Project Notes
check_terastation_storage.php Check storage capacity of Buffalo TeraStations via SNMP V0.2 Updated to use more accurate vendor specific OIDs. Should now be compatible with all SNMP enabled TeraStation models. This has been tested to work with models: TS.XE4, TS.XE8, and TS5000 Series. The following OIDs are used. Raid Array1 total size in GB: iso.3.6.1.4.1.5227.27.1.3.1.3.1 Raid Array1 amount used in %: iso.3.6.1.4.1.5227.27.1.3.1.4.1 *If you have more than one array, just increment the last digit. USAGE: php check_terastation_storage.php HOST COMMUNITY WARNING CRITICAL HOST=IP or FQDN of the target TeraStation COMMUNITY=SNMP Community name WARNING=Level of amount free to trigger warning in percentage. CRITICAL=Level of amount free to trigger critical in percentage. EXAMPLE: php check_terastation_storage.php 192.168.1.1 public 5 2 Include in commands.cfg define command{ command_name check_terastation_storage command_line php /path/to/check_terastation_storage.php $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ } This plugin requires php5-snmp to be installed. Written by Kyle M. Reviewed and edited by Joshua K Roberson.
Reviews (1) Add a Review
Good script
by Thibow, August 31, 2013

Script qui fait ce qu'on lui demande :-) I used this script with Centreon, and for execute it, add this line on header script: #!/usr/bin/php Delete your php calling in Nagios command line : define command{ command_name check_terastation_storage command_line $USER1$/check_terastation_storage.php $HOSTADDRESS$ $USER2$ 5 2 } $USER1$ = Path to plugin $USER2$ = community 5 and 2 = warning and critique value Freindly,



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (1)
Favorites
0
Views
60,738