Announcement

Collapse
No announcement yet.

[Nagios 2.4] import hostgroup et service

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Nagios 2.4] import hostgroup et service

    Hi

    In my configuration, I have an hostgroup and a service associate to this group :

    # check that ping-only hosts are up
    define service{
    hostgroup_name ping-servers
    service_description PING
    check_command check_ping!100.0,20%!200.0,60%
    use generic-service
    }


    this is not load when I'm importing the configuration

    is that support by oreon or I must re define the ping service for each host ?

    Yoann

  • #2
    For me, this kind of upload is working :

    Code:
    define hostgroup	{
    hostgroup_name	hg1
    alias	hg1
    members	www.google.fr
    }
    
    define service{
    hostgroup_name hg1
    service_description PING
    check_command check_ping!100.0,20%!200.0,60%
    use generic-service
    }
    
    define service{
    name generic-service
    register	0
    }
    Romain Le Merlus
    Centreon Forge
    MERETHIS

    Comment

    Working...
    X