XML-RPC mode doesn't return structured data
Brought to you by:
dkoffler
I just installed NXE today and tried calling it from Python
using XML-RPC like so:
nag = xmlrpclib.ServerProxy("http://
user:passwd@myserver/nagios/cgi-bin/nxe.pl")
nag.status("status1")
It chugged for a couple minutes, then returned me a
string full of XML instead of structured data which I'm
used to with XML-RPC. This makes it much less useful
than it might be, because I have to turn right around
and parse the returned XML. It would be much better
if you returned the structured data you used to generate
the XML. It would be much more useful to applications
which want to process Nagios status information.