Attached are 2 files from our query_host commands. when I look at the file from within the monitoring server this is what is displayed : <data> <host sysContact="[email protected]" sysDescr="Hardware: x86 Family 6 Model 15 Stepping 2 AT/AT COMPATIBLE - Software: Windows Version 5.2 (Build 3790 Multiprocessor Free)" sysLocation="Schiedam"> <interface id="1" ifAlias="4294967295" ifDescr="MS TCP Loopback interface^@" ifLink="up" ifSpeed="10Mbit/s" ifStatus="up" /> <interface id="65539" ifAlias="4294967295" ifDescr="Broadcom NetXtreme Gigabit Ethernet #2^@" ifLink="up" ifSpeed="1000Mbit/s" ifStatus="up" /> <interface id="65540" ifAlias="4294967295" ifDescr="Broadcom NetXtreme Gigabit Ethernet^@" ifLink="up" ifSpeed="1000Mbit/s" ifStatus="up" /> </host> </data>
This "^@" is not shown in the xml when I open it with notepad or frontpage on windows. This seems to be place where whe query host cmd from the webinterface is stopping : SNMP Interfaces: <http://docs.opsview.org/doku.php?id=opsview-community:host#snmp_interfa ces> query_host returned invalid XML: <data> <host sysContact="[email protected]" sysDescr="Hardware: x86 Family 6 Model 15 Stepping 2 AT/AT COMPATIBLE - Software: Windows Version 5.2 (Build 3790 Multiprocessor Free)" sysLocation="Schiedam"> <interface id="1" ifAlias="4294967295" ifDescr="MS TCP Loopback interface Peter ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Ton Voon Sent: maandag 18 januari 2010 13:22 To: Opsview Users Subject: Re: [opsview-users] SNMP & MRTG broken On 17 Jan 2010, at 19:56, Peter Plate wrote: Hello all Upgrading to 3.5.1 seems to have broken our SNMP & MRTG. System : Linux <hostname> 2.6.24-etchnhalf.1-686 #1 SMP Tue Dec 2 07:56:33 UTC 2008 i686 GNU/Linux Opsview : 3.5.1 (3671) When querying an MS Windows host from Host Config / SNMP I get this : > query_host returned invalid XML: <data> <host sysContact="" sysDescr="Hardware: Intel64 Family 6 Model 15 Stepping 11 AT/AT COMPATIBLE - Software: Windows Version 6.0 (Build 6002 Multiprocessor Free)" sysLocation=""> <interface id="1" ifAlias="4294967295" ifDescr="Software Loopback Interface 1 Can you provide us with the raw XML data? You need to run as the nagios user on the opsview master (or slave if monitored from a slave): /usr/local/nagios/bin/query_host -H {hostname} -C {community string} -p {1 or 2c} -t > /tmp/query_host.xml And attach the xml file for us to investigate. Ton
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
