Header RSS Feed
 
» Nagios Plugins

Nagios/Monitoring Plugin: check_promise_vtrak.pl

Last Update: August 31, 2017

This plugin was created to monitor a Promise Vtrak storage device. It monitors the physical drives and the chassis itself (power supplies, fans, etc). Several attached enclosures are supported. The plugin is more or less a merge between check_promise_chassis.pl by Barry O'Donovan and check_ibm_ts_tape.pl by myself, although it is completely rewritten from scratch and many additional checks have been added.

Download check_promise_vtrak.pl check_promise_vtrak.pl
Download plugin and save it in your Nagios plugin folder (e.g. /usr/local/nagios/libexec)
1552 downloads so far...

Contribute on github!
https://github.com/Napsty/check_promise_vtrak

Version History
# 2007XXXX Created check_promise_chassis.pl (bod)
# 20140626 Fork/rewrite for multiple Vtrak models (ck)
# 20140627 Added enclosure check type (ck)
# 20140701 Extended disk check with different subchecks (ck)
# 20140701 Added ps check type (ck)
# 20140701 Added fan check type (ck)
# 20140702 Added ctrl check type (ck)
# 20140702 Merged disk and diskonline checks (ck)
# 20140703 Added spare check type (ck)

Successfully tested on...
- Promise Vtrak E310
- Promise Vtrak E830f (use -m M610)
- Promise Vtrak E610
- Promise Vtrak M610
- Promise VessRaid 1840i

If you have successfully tested the plugin on a model not mentioned here, please let me know.

------------------------

Usage

./check_promise_vtrak.pl -H host [-p port] [-C community] -m model -t checktype

Practical example:

./check_promise_vtrak.pl -H myvtrak.example.com -C public -m E310s -t spare

------------------------

Definition of the parameters

-H Hostname or IP address of the Promise Vtrak Head
-p SNMP port (if not set, port 161 will be used)
-C SNMP community name (if not set, public will be used)
-m Model of the Vtrak. Currently supported: E310x, E610x, M610x
-t Type to check. See below for valid types.
--help Show this help/usage.

------------------------

Definition of the check types

ctrl - Check status of all controllers
disk - Check status of all physical disks
enclosure - Check status of all enclosures
fan - Check status of all fans (blowers)
info - Show basic information of the Vtrak
ps - Check status of all power supplies
spare - Check the status of all spare disks

------------------------

Command definition (example):

# check_promise_vtrak
define command{
command_name check_promise_vtrak
command_line $USER1$/check_promise_vtrak.pl -H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -t $ARG3$
}

------------------------

Service definitions (examples):

# check vtrak disks
define service{
use generic-service
host_name myvtrak
service_description Vtrak Disk
check_command check_promise_vtrak!public!E610s!disk
}

# check vtrak info
define service{
use generic-service
host_name myvtrak
service_description Vtrak Info
check_command check_promise_vtrak!public!E610s!info
}

# check vtrak enclosure
define service{
use generic-service
host_name myvtrak
service_description Vtrak Enclosure
check_command check_promise_vtrak!public!E610s!enclosure
}

# check vtrak power supplies
define service{
use generic-service
host_name myvtrak
service_description Vtrak Power Supplies
check_command check_promise_vtrak!public!E610s!ps
}

# check vtrak fans
define service{
use generic-service
host_name myvtrak
service_description Vtrak Fans
check_command check_promise_vtrak!public!E610s!fan
}

# check vtrak controller
define service{
use generic-service
host_name myvtrak
service_description Vtrak Controller
check_command check_promise_vtrak!public!E610s!ctrl
}

# check vtrak spare
define service{
use generic-service
host_name myvtrak
service_description Vtrak Spare
check_command check_promise_vtrak!public!E610s!spare
}

------------------------

Nagios screenshots:


Go to Homepage home
Linux Howtos how to's
Monitoring Plugins monitoring plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

6979 Days
until Death of Computers
Why?