Page 3 of 3

Update: Setting up Service Dependencies

Posted: Fri Aug 23, 2013 3:31 am
by Fred Kroeger
Desperation turns to Experimentation:
I have managed to reduce the service dependencies down to a managable ~3000.
What I have done is removed the 3 x Hostgroups from the "Depenedant HostGroup Name"

Code: Select all

define servicedependency {
       dependent_service_description            / Disk Usage - Cat3-5,CPU Utilisation - Solaris Cat3-5,Disk Usage - UFS - Cat3-5,Disk Usage - ZFS - Cat3-5,Disk Usage - zpools,FMD - Fault Management,Load - Solaris - Cat3-5,Memory Usage - Solaris - Cat3-5,Network - kb/sec,Network - pkt/sec,Network - Utilisation,NTP Time - Solaris,RAID - Hardware,SMF - Services,Swap Usage - Cat3-5,Total Processes - Solaris - Cat3-5,Uptime - Solaris,Users - Cat3-5,ZPOOL Health Check,ZPOOL Status
       hostgroup_name                           CAT-3 UNIX - Global,CAT-4 UNIX - Global,CAT-5 UNIX - Global
       service_description                      Check NRPE Agent - Solaris
       inherits_parent                          1
       execution_failure_criteria               w,u,c,
       notification_failure_criteria            w,u,c,
       dependency_period                        24x7

}


Re: Setting up Service Dependencies

Posted: Fri Aug 23, 2013 9:15 am
by slansing
Ah, I thought you were just trying to visualize them. I had mentioned looking in the configurations as you did not have many host / service configurations. You will always be able to see "dependencies" through your flat config file structure by looking for the links such as templates, service/host groups etc.