Logoj0ke.net Open Build Service > Projects > server:monitoring > nagios-plugins-ipmi > README.check_ipmi_eventlog
Sign Up | Log In

File README.check_ipmi_eventlog of Package nagios-plugins-ipmi

 
1
2
Project:    check_ipmi_eventlog
3
Owner:      sbosek
4
Created:    2007-10-19
5
Modified:   2008-04-02
6
URL:        http://foo.bar
7
8
Nagios plugin (script) to check for new error reports since last time in the ipmi eventlog.
9
10
11
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). 
12
Nagios must permission run ipmitool (use sudo for this) :
13
14
nagios  ALL=(ALL) NOPASSWD:/usr/bin/ipmitool
15
16
Usage : check_ipmi_eventlog.sh -i <interface(lan|lanplus)> -H <ipmiaddress>  -u <user> -p  <passwd>
17
18
You can use this plugin through the network or with nrpe according to the version of IPMI:
19
20
1. Define command in checkcommand.cfg 
21
define command{
22
        command_name    check_ipmi_eventlog
23
        command_line    $USER8$/check_ipmi_eventlog.sh -i $ARG1$ -H $ARG2$ -u $ARG3$ -p $ARG4$
24
        }
25
26
define command{
27
        command_name    check_nrpe_ipmi_eventlog
28
        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_ipmi_eventlog -a $ARG1$ $ARG2$
29
        }
30
31
2. Command in nrpe.cfg
32
command[check_ipmi_eventlog]=/usr/local/nagios/libexec/hardware/check_ipmi_eventlog.sh -u $ARG1$ -p $ARG2$
33
34
35
36