Hi Team,
We got one query related to monitor the email body which comes from their inboxes.
Ex: the person [email protected] as received one email the email contains the green and red colored boxes like some status in table.
Requirement is we want to monitor if any red colored box is having in we need to generate alerts.
And We need to monitor some Email body to such as any string is match as per our requirement.
HOSTNAME1 100(Box in Red colored background)
HOSTNAME2 100(Box in Red colored background)
HOSTNAME3 10(Box in green colored background)
Just assume that above are in some table excel table.
How to monitor Email content using nagios
Re: How to monitor Email content using nagios
I don't know how much help we can be here in support. But if it were me building this plugin from the ground up, rather than making a plugin that logged into the email, checked for an email, dealt with all of the content, and then alerted based on that content, I would instead create a script to do that heavy lifting. The result of all of that heavy lifting might be a log file for example. Then you could use something like check_log to monitor that log file.
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!