NRPE revised

Tim Wolak Tim.Wolak at computershare.com
Mon Sep 27 21:10:23 CEST 2004


All,

I am able to get NRPE to respond back with NRPE v2.0 but still am not
getting any data.  Here is my check command file, services file and the
nrpe.cfg.  Thanks in advance.

Check command

# 'check_nrpe' command definition
define command{
        command_name    check_nrpe
        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$
        }

Service file

Service definition
define service{
        use                             generic-service         ;

        host_name                       chilorms3
        service_description             DISK
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  linux-admins
        notification_interval           240
        notification_period             24x7
        notification_options            c,r
        check_command                   check_nrpe!check_disk
        }

NRPE Config

# The following examples use hardcoded command arguments...

#command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
#command[check_load]=/usr/local/nagios/libexec/check_load 
#command[check_load]=/usr/local/nagios/libexec/check_load 
command[check_disk]=/usr/local/nagios/libexec/check_disk -w 85 -c 65 -x
/dev/hda1 
#command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p
/dev/hdb1
#command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c
10 -s Z
#command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c
200 
#command[check_disk]=/usr/local/nagios/libexec/check_disk

Tim Wolak
Server Engineer
Computershare Investor Services
2 N. LaSalle
Chicago, Il 60602
312.588.4992 x4971



**********************************************************************
 
This message is intended for the sole use of the intended recipient. The message and any files transmitted with it 
may contain material that is confidential and/or legally 
privileged. Any review, reliance or distribution by others or 
forwarding without express permission is strictly prohibited. 
If you are not the intended recipient, please contact the 
sender and delete all copies. 
***********************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040927/e49e9a98/attachment.html>


More information about the Users mailing list