Hello again,

I followed the documentation that Greg advised and also the additions that
Kevin suggested and everything worked out just fine using the
check_nrpe plugin.

A snippet of some definitions are;


*Service Definition;*

define service{
        use                             generic-service

        host_name                       eapp03
        service_description             Users
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              6
        normal_check_interval           3
        retry_check_interval            1
        contact_groups                  admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_nrpe!check_users
        }

define service{
        use                             generic-service

        host_name                       eapp03
        service_description             Load
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              6
        normal_check_interval           3
        retry_check_interval            1
        contact_groups                  admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_nrpe!check_load


*Command Definition;*

# 'check_users' command definition
define command{
        command_name    check_users
        command_line    $USER1$/check_users -w $ARG1$ -c $ARG2$
        }

# 'check_load' command definition
define command{
        command_name    check_load
        command_line    $USER1$/check_load -w $ARG1$ -c $ARG2$
        }

*Host Definition;*

# Application server host definition
define host{
        host_name               eapp03
        use                     generic-host
        alias                   Server 3
        address                 xx.xx.xx.xx
        check_command           check-host-alive
        check_period            24x7
        check_interval          5
        contact_groups          admins
        retry_interval          1
        max_check_attempts      10
        notification_interval   120
        notification_period     24x7
        notification_options    d,u,r
        }


Thanks everyone for the help - much appreciated!


Regards,
Juki
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to