Email sent to default email
Posted: Thu Jun 05, 2014 1:30 pm
Hi,
I have defined contact as below in my contact.cfg:
define contact{
contact_name dbintadmin ; Short name of user
use generic-contact ; Inherit default values from generic-contact template (defined above)
alias DB Admin ; Full name of user
email [email protected], [email protected]
}
###########################################################################################################
define contactgroup{
contactgroup_name db_group
alias db_group
# members dbintadmin,nagios-systems,Text
members dbintadmin
}
define contactgroup{
contactgroup_name Dev-dbgroup
alias DB Administrators
members dbintadmin
}
I have created a htpassword for dbintadmin user, So that I can see only specific servers whose contact group is db_group and Dev-dbgroup as defined below:
define host{
use generic-host,host-pnp
host_name WIN2K12-DEV
alias WIN2K12-DEV
address 10.10.28.83
icon_image win40.png
statusmap_image win40.gd2
parents VM3
max_check_attempts 2
contact_groups Dev-dbgroup
}
define host{
use generic-host,host-pnp
host_name DB3
alias DB3
address 10.20.20.80
icon_image win40.png
statusmap_image win40.gd2
parents VM Host 3
max_check_attempts 2
contact_groups db_group
}
The problem is the notification is triggering to another email id instead of [email protected] and [email protected]!!!!
Any suggestions please??
Thanks,
kalyanP
I have defined contact as below in my contact.cfg:
define contact{
contact_name dbintadmin ; Short name of user
use generic-contact ; Inherit default values from generic-contact template (defined above)
alias DB Admin ; Full name of user
email [email protected], [email protected]
}
###########################################################################################################
define contactgroup{
contactgroup_name db_group
alias db_group
# members dbintadmin,nagios-systems,Text
members dbintadmin
}
define contactgroup{
contactgroup_name Dev-dbgroup
alias DB Administrators
members dbintadmin
}
I have created a htpassword for dbintadmin user, So that I can see only specific servers whose contact group is db_group and Dev-dbgroup as defined below:
define host{
use generic-host,host-pnp
host_name WIN2K12-DEV
alias WIN2K12-DEV
address 10.10.28.83
icon_image win40.png
statusmap_image win40.gd2
parents VM3
max_check_attempts 2
contact_groups Dev-dbgroup
}
define host{
use generic-host,host-pnp
host_name DB3
alias DB3
address 10.20.20.80
icon_image win40.png
statusmap_image win40.gd2
parents VM Host 3
max_check_attempts 2
contact_groups db_group
}
The problem is the notification is triggering to another email id instead of [email protected] and [email protected]!!!!
Any suggestions please??
Thanks,
kalyanP