Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Check remaining storage capacity of Buffalo TeraStations via SNMP
Current Version
0.2
Last Release Date
2012-10-18
Owner
Kyle
License
GPL
Compatible With
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.
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,
You must be logged in to submit a review.
To:
From: