Notification email address questions

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
derekb
Posts: 177
Joined: Wed Jun 10, 2015 1:54 pm

Notification email address questions

Post by derekb »

Hi there
We currently use the default send mail to process email alerts to our users which works great. Is there a way to specif my a different "from" address based on the user account receiving the email?

We're trying to find a good way to get Nagios alerts to generate a ticket in our CRM. It looks at the "from" address to see if it is associated with a customer account and then makes a ticket based on this. If the from address isn't tied to any customer account, the ticket is generated but sits in limbo until we assign it to the right customer. The CRM we use is TigerPaw -- not sure if anyone has any experience with the two products -- probably a long shot :)
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Notification email address questions

Post by Box293 »

Not that I am aware from. From what I understand, the from address is taken from the Admin > System Config > Manage Email Settings page.

Technically you could create custom notification commands that could use a custom script to do this for you.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
derekb
Posts: 177
Joined: Wed Jun 10, 2015 1:54 pm

Re: Notification email address questions

Post by derekb »

Box293 wrote:Not that I am aware from. From what I understand, the from address is taken from the Admin > System Config > Manage Email Settings page.

Technically you could create custom notification commands that could use a custom script to do this for you.
Any suggestions on who we might speak to for some advice on how to get Nagios alerts integrated with our CRM? We're aware there would be Dev costs.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Notification email address questions

Post by Box293 »

Email [email protected] with your request, providing as much detail as possible. They will be able to come up with a quote.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
derekb
Posts: 177
Joined: Wed Jun 10, 2015 1:54 pm

Re: Notification email address questions

Post by derekb »

Sorry to raise this thread from the dead.

Just trying to hash out some items regarding quieting down NAGIOS alerts a bit. We're trying to figure out the best way to have NAGIOS tie into our existing CRM via email without having it generate a million tickets. I'm aware there are services like PagerDuty etc, but I'm wondering if anyone has come up with some clever ideas here.

Essentially, I'm wondering if there's a way to have a 'summary' of alerts generated. Kind of like a mailing list digest -- one email with all the alert activity in the last X minutes generated by host Y.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Notification email address questions

Post by tgriep »

I found this on our exchange site.
https://exchange.nagios.org/directory/A ... er/details

It looks fairly close to what you are looking for.
It consolidates the notifications and then uses Cron to send them out.
You may be able to modify it for your needs.
Be sure to check out our Knowledgebase for helpful articles and solutions!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Notification email address questions

Post by rkennedy »

In addition to what @tgriep mentioned. If your ticketing system is able to detect different types of tickets, you could have them set to only send on OK and WARN / CRIT, with this triggering whether or not to open / close. With that, you'll want to set your notification_interval to 0, which will send only one notification right away as the state changes.

I know that there was a recent post about getting OTRS integrated here we've been working through that might have some information for you - https://support.nagios.com/forum/viewto ... 999#bottom

I know many customers have ServiceNow integrated in with Nagios, perhaps you could recycle some of the code? https://exchange.nagios.org/directory/P ... er/details
Essentially, I'm wondering if there's a way to have a 'summary' of alerts generated. Kind of like a mailing list digest -- one email with all the alert activity in the last X minutes generated by host Y.
This isn't going to be possible currently.
Former Nagios Employee
derekb
Posts: 177
Joined: Wed Jun 10, 2015 1:54 pm

Re: Notification email address questions

Post by derekb »

tgriep wrote:I found this on our exchange site.
https://exchange.nagios.org/directory/A ... er/details

It looks fairly close to what you are looking for.
It consolidates the notifications and then uses Cron to send them out.
You may be able to modify it for your needs.
That IS what I'm looking for! I'm playing around iwth it, but not getting it to work. Emailed the author -- here's to hoping he's still around :)
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Notification email address questions

Post by tgriep »

What problems are you having?
Can you provide what you have done already and any errors that you are receiving?
Be sure to check out our Knowledgebase for helpful articles and solutions!
derekb
Posts: 177
Joined: Wed Jun 10, 2015 1:54 pm

Re: Notification email address questions

Post by derekb »

tgriep wrote:What problems are you having?
Can you provide what you have done already and any errors that you are receiving?
Hi Tom!
We're on XI latest. I've uploaded the plugins and made the command as outlined in the read me. I have a host that I'm testing with. I've set it to contact myself via the command also mentioned in the read me. The contact is set to use host notifications via that new command.

/tmp/notifier.txt didn't exist , so I did a touch to create it. I simply don't see any data being written to this file when an event is triggered. I do see events written in /var/log/messages for the host, though.
Locked