Page 1 of 1

configure email notifications

Posted: Wed Dec 04, 2019 4:14 pm
by gmills
hello, it's me again :)

I'm trying to set up a contact and group for a specific email notification to be sent.

just covering bases...

in contacts.cfg, I added
define contact{
contact_name deltaadmins ; Short name of user
use generic-contact ; Inherit default values from generic-contact template (defined above)
alias Delta Admins ; Full name of user
email [email protected]
# email [email protected]
}

define contactgroup{
contactgroup_name Delta-Admins
alias Delta Administrators
members deltaadmins
}

in the services cfg for host
define host {
host_name GEIPALPDLTPRC01
address 3.239.245.147
check_command check_ncpa!-t 'gold3726' -P 5693 -M system/agent_version
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
contact_groups Delta-Admins
notification_interval 60
notification_period 24x7
notifications_enabled 1
icon_image ncpa.png
statusmap_image ncpa.png
register 1
}

define service {
host_name GEIPALPDLTPRC01
service_description Delta File Count
check_command check_ncpa!-t 'gold3726' -P 5693 -M 'plugins/check_files.vbs' -a '-p D:\Delta Incoming\IncomingData\PersistentStore\Delta IBM MQ Series' -w 180 -c 200
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
contact_groups Delta-Admins
register 1
}


it seems to not be sending to this email group but the nagiosadmin group???

Please excuse me, it is working LOL, please close this ticket.... Sorry
thank you

Re: configure email notifications

Posted: Wed Dec 04, 2019 5:36 pm
by benjaminsmith
Please excuse me, it is working LOL, please close this ticket.... Sorry
thank you
No problem. Glad we could help :D

We'll close this up, but feel free to open another if you have any new questions.