Hi all,
Are there any plugins to monitor POP3/IMAP4 email output into nagios XI?
We have a script that runs via email for backups and I wish for nagios to extract the information from the email and report the results in the dashboard.
if the text "backup successful" is found in the email I wish for it to report OK
if the text found states the "backup failed" is failed I wish for it to go critical.
Also - if the email hasn't been reported for over 2 days I wish for the status to fail.
Any ideas?
Monitor email output?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Monitor email output?
I'd highly recommend searching the exchange:
http://exchange.nagios.org/index.php?op ... hword=pop3
You could also build a script to scrape the info from an email, and dump it in a file, then have nagios read the context of that file with a regex match periodically. There does not seem to be a plugin that specifically does this, but I did not look very long.
http://exchange.nagios.org/index.php?op ... hword=pop3
You could also build a script to scrape the info from an email, and dump it in a file, then have nagios read the context of that file with a regex match periodically. There does not seem to be a plugin that specifically does this, but I did not look very long.
-
vincheesel
- Posts: 30
- Joined: Fri Jan 11, 2013 5:33 am
Re: Monitor email output?
Does anyone know any scripts I can use in order to make this possible?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Monitor email output?
As I mentioned above, you should search the exchange, if you do not find something there I'd recommend googling around, you may need to create a custom plugin for yourself. I did some preliminary looking, for you, and did not find much...
-
vincheesel
- Posts: 30
- Joined: Fri Jan 11, 2013 5:33 am
Re: Monitor email output?
Yeah, me neither..
I'm not much of a developer unfortunately
I'm not much of a developer unfortunately
Re: Monitor email output?
I'm with slansing on this one. It's a fairly narrow requirement so I would be surprised if someone had come up with exactly what you need. Maybe a developer or sysadmin in your company could lend you a hand? We're happy to help with proof-reading and small changes, but writing a whole new plugin is a bit out of scope.
Former Nagios employee
-
vincheesel
- Posts: 30
- Joined: Fri Jan 11, 2013 5:33 am
Re: Monitor email output?
I understand guys, just thought there would be something out there, unfortunately its not in nagios exchange.
Thanks anyway
Thanks anyway
Re: Monitor email output?
Sorry about that. While there are tons of plugins out there, it's sometimes just the luck of the draw whether or not one exists for your specific needs.
I'll be closing this thread now, but feel free to open another if you need anything in the future.
I'll be closing this thread now, but feel free to open another if you need anything in the future.
Former Nagios employee