Hi I encountered an issue where query_host results in "Incorrect Output" in the UI. Investigating I discovered that this occurs if the host returns an empty sysDescr field:
<host sysContact="" sysDescr="" sysLocation=""> I'm not sure if this is the best fix but changing: $sysdescr =~ s/\s*[\r\n].*//g; To $sysdescr =~ s/\s*[\r\n].*/ /g; Seems to make it work for the 3 devices that previously failed. Please can this be fixed/worked around in trunk? Regards. -- Mark Farmer [email protected] _______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
