New topic being created at the request of Nagios Support.
Prior to the cut over we would receive email notifications whenever our backup XI server would perform a failover restore. This occurs daily for us at 9AM. Well, the server is doing the failover restore, but it's not sending out the notifications telling us that's it's doing it. I must have missed a configuration file somewhere, but I'm not sure where to look.
If I PM'd you an example of the notifications we used to get, do you think you'd be able to identify what mechanism would trigger it?
The events are triggered by cron jobs (crontab -e) but, I don't know what triggers the email notifications to be sent. When viewing the maillog I see emails going out but, not the ones that are generated whenever we run the failover_restore script. This happens daily at 9AM on our failover server.
Rebuilding e-mail alerts for cron job tasks
Re: Rebuilding e-mail alerts for cron job tasks
Is it possible that it was cron itself that was sending out the notification? Do you still have one of the emails that was sent out? We might be able to tell from looking at it. Usually cron emails contain the full command that cron runs in the subject of the email.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Rebuilding e-mail alerts for cron job tasks
Yes, I PM'd you the emails you requested earlier today.
Re: Rebuilding e-mail alerts for cron job tasks
Do you recall who you PM'd it to? It's not in my inbox, and I've asked a few people around support, and they don't have it either.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Rebuilding e-mail alerts for cron job tasks
Oh sorry, it went to another support person. Benjamin Smith.
Re: Rebuilding e-mail alerts for cron job tasks
Okay, perfect, I have the emails. Those are definitely cron emails. That's a outside of what we support. However, I can point you to this link. Also maybe check the mail log when a cron job is run to see if it fires off an email at that point.
https://www.nixtutor.com/linux/sending- ... ough-cron/
https://www.nixtutor.com/linux/sending- ... ough-cron/
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!