Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_iseries with snmp
0.2
2013-01-31
- Nagios 3.x
- Nagios XI
96820
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!
Monitors:
load
number of logged on users
ASP storage
uptime
jobs
(not as feature-complete as the check_as400 plugin published)
You need to have Nagios::Plugin perl module installed:
ubuntu
cpan
cpan>install Monitoring::Plugin
redhat/centos
sudo yum install perl-Monitoring-Plugin
You also need snmpwalk installed:
(On ubuntu)
apt-get install snmp
The script has been tested with:
model 810 v6r2
model 550 v7r1/v6r1
Drop the script in you plugins directory, in many cases: /usr/lib64/nagios/plugins or /usr/local/nagios/libexec
Test script with:
nagios@nagios:/usr/lib64/nagios/plugins/check_iseries.pl -H 192.168.169.2 -c public -o asp -w 80
check_iseries OK - Current ASP used (%): 73.23 | total=175825223680b;; usage=128763555840b;;
define command{
command_name check_iseries
command_line /usr/bin/perl $USER1$/check_iseries.pl -H $HOSTADDRESS$ -c $ARG1$ -o $ARG2$ -w $ARG3$
}
define service{
use generic-service
name iseriesLoad
hostgroup_name iseries-servers
service_description iseries load
check_command check_iseries!public!load!80
}
define service{
use generic-service
name iseriesUsers
hostgroup_name iseries-servers
service_description iseries users
check_command check_iseries!public!users!90
}
define service{
use generic-service
name iseriesASP
hostgroup_name iseries-servers
service_description iseries ASP usage
check_command check_iseries!public!asp!80
}
Reviews (0)
Be the first to review this listing!