Hi Duncs,

Since upgrading to 3.5.0 I still get the same error with the query_host plugin.

The output from the web interface for Query host is as follows:

query_host returned invalid XML: <data> <host sysContact="" sysDescr="Hardware: 
Intel64 Family 6 Model 23 Stepping 10 AT/AT COMPATIBLE - Software: Windows 
Version 6.0 (Build 6001 Multiprocessor Free)" sysLocation=""> <interface id="1" 
ifAlias="Loopback Pseudo-Interface 1" ifDescr="Software Loopback Interface 1�" 
ifLink="up" ifSpeed="1073.741824Mbit/s" ifStatus="up" /> <interface id="2" 
ifAlias="Local Area Connection*" ifDescr="WAN Miniport (SSTP)�" ifLink="up" 
ifSpeed="1073.741824Mbit/s" ifStatus="up" /> <interface id="3" ifAlias="Local 
Area Connection* 2" ifDescr="WAN Miniport (L2TP)�" ifLink="up" 
ifSpeed="1073.741824Mbit/s" ifStatus="up" /> <interface id="4" ifAlias="Local 
Area Connection* 3" ifDescr="WAN Miniport (PPTP)�" ifLink="up" 
ifSpeed="1073.741824Mbit/s" ifStatus="up" /> <interface id="5" ifAlias="Local 
Area Connection* 4" ifDescr="WAN Miniport (PPPOE)�" ifLink="up" 
ifSpeed="1073.741824Mbit/s" ifStatus="up" /> <interface id="6" ifAlias="Local 
Area Connection* 5" ifDescr="WAN Miniport (IPv6)�" ifLink="up" 
ifSpeed="1073.741824Mbit/s" ifStatus="up" /> <interface id="7" ifAlias="Local 
Area Connection* 6" ifDescr="WAN Miniport (Network Monitor)�" ifLink="up" 
ifSpeed="1073.741824Mbit/s" ifStatus="up" /> <interface id="8" ifAlias="Local 
Area Connection* 7" ifDescr="WAN Miniport (IP)�" ifLink="up" 
ifSpeed="1073.741824Mbit/s" ifStatus="up" /> <interface id="9" ifAlias="Local 
Area Connection* 10" ifDescr="RAS Async Adapter�" ifLink="up" 
ifSpeed="1073.741824Mbit/s" ifStatus="up" /> <interface id="10" ifAlias="Local 
Area Connection" ifDescr="HP NC360T PCIe DP Gigabit Server Adapter�" 
ifLink="up" ifSpeed="N/A" ifStatus="down" /> <interface id="11" ifAlias="Local 
Area Connection 2" ifDescr="HP NC360T PCIe DP Gigabit Server Adapter #2�" 
ifLink="up" ifSpeed="N/A" ifStatus="down" /> <interface id="12" ifAlias="Local 
Area Connection 3" ifDescr="HP NC373i Multifunction Gigabit Server Adapter�" 
ifLink="up" ifSpeed="1000Mbit/s" ifStatus="up" /> <interface id="13" 
ifAlias="Local Area Connection 4" ifDescr="HP NC373i Multifunction Gigabit 
Server Adapter #2�" ifLink="up" ifSpeed="N/A" ifStatus="down" /> <interface 
id="14" ifAlias="Local Area Connection* 8" 
ifDescr="isatap.{74AC7976-474A-45AA-8B53-532EAF3BFCAB}�" ifLink="up" 
ifSpeed="100Kbit/s" ifStatus="down" /> <interface id="15" ifAlias="Local Area 
Connection* 9" ifDescr="isatap.{9812C225-8FCB-4257-87E8-18239DA07D3D}�" 
ifLink="up" ifSpeed="100Kbit/s" ifStatus="down" /> <interface id="16" 
ifAlias="Local Area Connection* 12" 
ifDescr="isatap.{3F8B6746-B679-4F2E-BBA3-308AE87ABFA0}�" ifLink="up" 
ifSpeed="100Kbit/s" ifStatus="down" /> <interface id="17" ifAlias="Local Area 
Connection* 11" ifDescr="isatap.{34A72DD3-C1A0-4A3F-BE39-F84B54067EC8}�" 
ifLink="up" ifSpeed="100Kbit/s" ifStatus="down" /> <interface id="18" 
ifAlias="Local Area Connection* 13" ifDescr="Teredo Tunneling 
Pseudo-Interface�" ifLink="up" ifSpeed="1073.741824Mbit/s" ifStatus="down" /> 
<interface id="19" ifAlias="Local Area Connection* 5-QoS Packet Scheduler-0000" 
ifDescr="WAN Miniport (IPv6)-QoS Packet Scheduler-0000�" ifLink="up" 
ifSpeed="1073.741824Mbit/s" ifStatus="up" /> <interface id="20" ifAlias="Local 
Area Connection* 7-QoS Packet Scheduler-0000" ifDescr="WAN Miniport (IP)-QoS 
Packet Scheduler-0000�" ifLink="up" ifSpeed="1073.741824Mbit/s" ifStatus="up" 
/> <interface id="21" ifAlias="Local Area Connection* 6-QoS Packet 
Scheduler-0000" ifDescr="WAN Miniport (Network Monitor)-QoS Packet 
Scheduler-0000�" ifLink="up" ifSpeed="1073.741824Mbit/s" ifStatus="up" /> 
<interface id="22" ifAlias="Local Area Connection 3-QoS Packet Scheduler-0000" 
ifDescr="HP NC373i Multifunction Gigabit Server Adapter-QoS Packet 
Scheduler-0000�" ifLink="up" ifSpeed="1000Mbit/s" ifStatus="up" /> <interface 
id="23" ifAlias="Local Area Connection 4-QoS Packet Scheduler-0000" ifDescr="HP 
NC373i Multifunction Gigabit Server Adapter #2-QoS Packet Scheduler-0000�" 
ifLink="up" ifSpeed="N/A" ifStatus="down" /> <interface id="24" ifAlias="Local 
Area Connection 2-QoS Packet Scheduler-0000" ifDescr="HP NC360T PCIe DP Gigabit 
Server Adapter #2-QoS Packet Scheduler-0000�" ifLink="up" ifSpeed="N/A" 
ifStatus="down" /> <interface id="25" ifAlias="Local Area Connection-QoS Packet 
Scheduler-0000" ifDescr="HP NC360T PCIe DP Gigabit Server Adapter-QoS Packet 
Scheduler-0000�" ifLink="up" ifSpeed="N/A" ifStatus="down" /> </host> </data>

Again looking at the command line output it appears to be working as expected.

Any ideas what may be causing this?

Kind regards,
Matt

From: [email protected] 
[mailto:[email protected]] On Behalf Of Matt White
Sent: 19 November 2009 07:37
To: Opsview Users
Subject: Re: [opsview-users] SNMP "Query Host" returns an error

Hi Duncs,

This seems to have made it worse. I downloaded the latest version of the file 
from svn and  now i get:

query_host returned invalid XML: <data> <host sysContact="Wavex Technology" 
sysDescr="Hardware: x86 Family 6 Model 23 Stepping 10 AT/AT COMPATIBLE - 
Software: Windows Version 6.0 (Build 6002 Multiprocessor Free)" 
sysLocation="MMR1"> <interface id="1" ifAlias="Loopback Pseudo-Interface 1" 
ifDescr="Software Loopback Interface 1

It’s now missing out most of the xml file.

If I run query_host –H 10.9.0.70 –C wavex-cacti –p 2c –t from a command line I 
get a full output. Again the cisco switches and other kit seems unaffected.

Any thoughts on why its not happy with the new version of the file?

Kind regards,
Matt

From: [email protected] 
[mailto:[email protected]] On Behalf Of Duncan Ferguson
Sent: 18 November 2009 11:54
To: Opsview Users
Subject: Re: [opsview-users] SNMP "Query Host" returns an error


On 18 Nov 2009, at 02:10, Kang wrote:

I guess it is the same problem with
http://lists.opsview.org/lurker/message/20090819.024639.881c7a50.en.html

I guess it's caused by unvisible \x00 character .

Sorry, missed this patch before - now committed and will be in 3.5.0

https://secure.opsera.com/wsvn/wsvn/opsview/trunk/?op=revision&rev=3555&peg=3555

  Duncs

--
Duncan Ferguson
Senior Developer

[cid:[email protected]]


Opsera Limited | Unit 69 Suttons Business Park
Reading | Berkshire | RG6 1AZ | UK

Phone:   +44 (0) 845 057 7887
Mobile:   +44 (0) 7968 148 748
Skype:   duncan_j_ferguson     Email:   
[email protected]<mailto:[email protected]>
www.opsera.com<http://www.opsera.com/>

Opsera Limited is registered in the UK under Company Number 5396532. Our 
registered office is Gorse View, Horsell Rise, Woking, Surrey, GU21 4RB.

<<inline: image001.gif>>

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to