Announcement

Collapse
No announcement yet.

Problem with adding services to servicegroups

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

  • Problem with adding services to servicegroups

    Hi!

    I'm having a problem with adding hosts and services to service groups.

    I have multiple hosts added to a service. When I add this service to a service group it adds the hosts and services right to servicegroups.cfg, but it also adds servicegroups definition to services.cfg. So when monitoring with nagios' own interface it shows multiple same services assigned to each host when looking from servicegroup grid/summary.

    The problem is fixed by removing servicegroups line from services.cfg, but it repeats itself when generating config files again with oreon. Is this a feature or am i doing something wrong here?-)


    This is how services.cfg looks:
    define service{
    host_name host1,host2,host3,host4,host5
    service_description HTTP
    servicegroups HTTP-services, HTTP-services, HTTP-services, HTTP-services, HTTP-services
    ...
    }

    And this is servicegroups.cfg:
    define servicegroup{
    servicegroup_name HTTP-services
    alias HTTP-services
    members host1,host2,host3,host4,host5
    }

    --
    Firefly
Working...
X