Hello fine people,
I installed Nagios XI recently and it's awesome! I have it on a air-gapped system so I can't necessarily receive 'emails' from nagios. I believe currently all mail just goes to /var/spool/mail/root.
Is there a way to create a custom message when there's an alert ? Like say create file->put in a code that I will match to a db->then write file to a specified location which I will check every 5 mins or so? I know that Nagios does this for me, but I'd like to find something I can actually programmically grab a hold of; and I'd rather not dive into the Nagios code if possible. Any thoughts? Advice? Suggestions (except telling me I'm a noob)? Thanks a lot!
Nagios custom alert?
Re: Nagios custom alert?
This could be done with event handlers. Put your thinking cap on. As you want to do this system-wide, I would suggest looking at global event handlers:
http://library.nagios.com/library/produ ... t-handlers
http://library.nagios.com/library/produ ... t-handlers
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Nagios custom alert?
Ahh sweet....Nagios is the gift that just keeps on giving!
Re: Nagios custom alert?
I couldn't have said it better myself. 
Be sure to check out our Knowledgebase for helpful articles and solutions!