Hello,
Is there a way for Nagios to read XML files and then to alert on specific node values? Or lack thereof ?
Parse XML
Re: Parse XML
There is not currently a way to do that, however writing a plugin for that could be pretty simple. If you are remotely familiar with any modern programming language (at least one that has decent XML library) writing what you ask would be pretty straightforward and probably a pretty short task. However, I did search the exchange but there was not a plugin for your purpose.
If you'd like a guideline on writing a plugin, this is golden:
http://nagiosplug.sourceforge.net/devel ... lines.html
If you'd like a guideline on writing a plugin, this is golden:
http://nagiosplug.sourceforge.net/devel ... lines.html
Nicholas Scott
Former Nagios employee
Former Nagios employee