Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios-plugins-ipmi
> README.check_ipmi_eventlog
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File README.check_ipmi_eventlog of Package nagios-plugins-ipmi
Project: check_ipmi_eventlog Owner: sbosek Created: 2007-10-19 Modified: 2008-04-02 URL: http://foo.bar Nagios plugin (script) to check for new error reports since last time in the ipmi eventlog. Nagios plugin (script) to check for new error reports since last time in the ipmi eventlog. This script has been designed and written on Unix plateform (Linux). Nagios must permission run ipmitool (use sudo for this) : nagios ALL=(ALL) NOPASSWD:/usr/bin/ipmitool Usage : check_ipmi_eventlog.sh -i <interface(lan|lanplus)> -H <ipmiaddress> -u <user> -p <passwd> You can use this plugin through the network or with nrpe according to the version of IPMI: 1. Define command in checkcommand.cfg define command{ command_name check_ipmi_eventlog command_line $USER8$/check_ipmi_eventlog.sh -i $ARG1$ -H $ARG2$ -u $ARG3$ -p $ARG4$ } define command{ command_name check_nrpe_ipmi_eventlog command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_ipmi_eventlog -a $ARG1$ $ARG2$ } 2. Command in nrpe.cfg command[check_ipmi_eventlog]=/usr/local/nagios/libexec/hardware/check_ipmi_eventlog.sh -u $ARG1$ -p $ARG2$