All pastes #834859 Raw Edit

Grejao

public text v1 · immutable
#834859 ·published 2007-12-28 15:04 UTC
rendered paste body
at commands.cfg

# 'check_jboss' command definition
define command{
        command_name    check_jboss
        command_line    $USER1$/check_tcp -H $HOSTADDRESS$ -p 8080
        }






at hosts.cfg

#
# MAAT
#

define host{
    use                                 generic-host
    host_name                           maat
    alias                               maat
    address                             96.1.1.100
}






at hostextinfo.cfg
# MAAT
define hostextinfo{
        use                     redhat
        host_name               maat
        icon_image_alt          MAAT
}





at services.cfg

################################################################################
# MAAT SERVICES
################################################################################
#
# MAAT PING SERVICE
#
define service{
    use                                 generic-service
    host_name                           maat
    service_description                 PING
    contact_groups                      linux-admins
    check_command                       check_ping!1000.0,20%!5000.0,60%!5
}

#
# MAAT JBOSS SERVICE
#
define service{
    use                                 generic-service
    host_name                           maat
    service_description                 jboss
    contact_groups                      linux-admins
    check_command                       check_jboss
}