Hi all,
I have nagios setup on a server and is working fine except for setting additional contacts / groups for certain configs.
I've checked my configs against what others are listing as the correct way in setting it up but it doesn't seem to work.
The following is my Contacts.cfg file
Code:
define contact{
contact_name Person 1
use generic-contact
alias person1
email email@domain.com
}
define contact{
contact_name Person 2
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r,f,s
host_notification_options d,u,r,f,s
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
email anotheremail@domain.com
}
define contactgroup{
contactgroup_name admins
alias Nagios Administrators
members nagiosadmin, Person 1
}
#
define contactgroup{
contactgroup_name External-people
alias External Group
members Person 1, Person 2
}
And this is part of my Windows server config file
Code:
define host{
use windows-server ; Inherit default values from a template
host_name Encoding-2 ; The name we're giving to this host
alias Encoding-2 ; A longer name associated with the host
address 192.168.1.166 ; IP address of the host
contact_groups External-people
}
At the moment only users named in the admins group is received.
Is there something configured somewhere else that i need to change?