i have to manage disk io so i have installed check_diskio-3.2.4.tar.gz
it is working properly in CLI but i could not get into nagios web interface
what are the configurations i have to make change into
commands.cfg (define command)
remotehost.cfg ( define service)
nrpe.cfg
this is the output got from CLI
Quote:
[root@localhost Desktop]# /usr/local/nagios/libexec/check_nrpe -H 172.30.0.72 -c check_diskio
CHECK_DISKIO OK - sda 123.00 sectors/s | WRITE=123;4000;6000 READ=0;4000;6000 TOTAL=123;4000;6000
|
i have installed check_diskio-3.2.4.tar.gz through this steps
Quote:
At the Client Machine.
# yum install perl
# tar -zxvf check_diskio-3.2.2.tar.gz
# cd check_diskio-3.2.2
# less INSTALL (Read the INSTALL Readme file)
# perl Makefile.PL INSTALLSCRIPT=/usr/lib64/nagios/plugins
(You will see a list of warnings of prerequisites)
B. Install the prerequisites Perl-Modules. Here may not be completed lists.
# yum install perl-Nagios*
# yum install perl-List*
# yum install perl-Readonly*
# yum install perl-Number-Format
# yum install perl-File-Slurp*
# yum install perl-Array-Unique
C. Finally compile
# perl Makefile.PL INSTALLSCRIPT=/usr/lib64/nagios/plugins
# make
# make install
(You will see the check_diskio at /usr/lib64/nagios/plugins)
D. Edit the nrpe.cfg file on the client machine. If you have not download nagios nrpe plugins, just do a
# yum install nagios-nrpe
D1. Edit /etc/nagios/nrpe.cfg on the client machine,
# vim /etc/nagios/nrpe.cfg
command[check_diskio]=/usr/lib64/nagios/plugins/check_diskio --device=/dev/sda -w 200 -c 300
At the Server, just make sure you install the nagios nrpe plugins like D. Finally to ensure that the remote server plugins are ok, do a test at Nagios Server
# cd /usr/lib64/nagios/plugins
# ./check_nrpe -H remote-server -c check_diskio
CHECK_DISKIO OK - sda 194 sectors/s | WRITE=194;200;300 READ=0;200;300 TOTAL=194;200;3
|
please help me immediatly