I have a servicegroups.cfg file in the /usr/local/nagios/etc/objects folder which reads as follows:
Code: Select all
define servicegroup {
servicegroup_name NETWORKS
alias Network Loads
members dev,Network Load,aspcon,Network Load,aspent,Network Load
}
Code: Select all
servicegroups NETWORKS
Error: Could not find any servicegroup matching 'NETWORKS'
Error: Failed to process servicegroup names for service 'Network Load' on host 'dev'
If I remove the line from my service definition for 'dev', then I get the same error for one of the others. So it looks as if the servicegroups.cfg file is either not being read, or it has a syntax error of some description.
Can anyone help me resolve this please?