Hello

I encounterd a weird error when adding switch ports with query_host menu.
but xml in error message seemed to have no problem.
so I redirected xml output to file and checked it.
i found the file contains \x00 character in ifAlias section
\x00 character in XML caused XML parsing error.
I think some switch occasionally returns \x00 character when ifAlias are not
set.

so I patched /usr/local/nagios/bin/query_host file
added
 $hash->{ifAlias} =~ s/\x00//g;
to line 311 of query_host file.
_______________________________________________
Opsview-users mailing list
Opsview-users@lists.opsview.org
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to