Nagios custom alert?
Posted: Tue Jun 04, 2013 1:52 pm
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!
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!