Hi there,
We're toying with the idea of using some JS libraries to compare IP Camera images on a weekly basis. Wonder if it is possible to display images in the output of a NAGIOS plugin, and if so, how would that look when a notification email gets sent to a contact?
Possible to have Images in NAGIOS Plugin Output?
Re: Possible to have Images in NAGIOS Plugin Output?
The way you would normally do this is to save the image somewhere and then use a HTML <img> tag to reference it. Plugins can output this just fine, but you will have to set escape_html_tags=0 in your cgi.cfg otherwise the HTML tags will not be interpreted correctly in the web interface. Your mail client may or may not render HTML - that is outside of our control.
Former Nagios employee
Re: Possible to have Images in NAGIOS Plugin Output?
Ok let me try it.
Also I should've posted this in the XI forum -- mind moving?
Also I should've posted this in the XI forum -- mind moving?
Re: Possible to have Images in NAGIOS Plugin Output?
In that case if this is for XI you need to go to Admin -> System Settings and check the "Allow HTML Tags in Host/Service Status" box, then save.
Former Nagios employee