Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check TeraStation Storage

Rating
1 vote
Favoured:
0
Current Version
0.2
Last Release Date
2012-10-18
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
60831
Files:
FileDescription
check_terastation_storage.phpcheck_terastation_storage.php
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Check TeraStation Storage
Check remaining storage capacity of Buffalo TeraStations via SNMP
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)
byThibow, August 14, 2013
1 of 1 people found this review helpful
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,