configure email notifications

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
gmills
Posts: 114
Joined: Wed Jun 12, 2019 2:08 pm

configure email notifications

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: configure email notifications

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked