I have defined a contact as below (i have replaced the email address for this post)
Code: Select all
define contact{
contact_name JLamb
alias JLamb
email [email protected]
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
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
register 1
}Code: Select all
define host{
use generic-router
host_name apps4
alias apps4
address 10.20.43.111
parents Virtual Servers
notifications_enabled 1
notification_period 24x7
notification_interval 30
notification_options d,u,r,f,s
contacts JLamb
#hostgroups windows-servers,ping-only
hostgroups ping-only, windows-servers
}
I have checked that postfix is running as i understand that this is the service which send the emails. i have not changed any configuration for this so this may be where the problem lies. do i need to give it an smtp server?
Code: Select all
[root@localhost sysadmin]# postfix status
postfix/postfix-script: the Postfix mail system is running: PID: 32284
[root@localhost sysadmin]#Any help with this will be much appreciated!
Many thanks