On 3 Jun 2009, at 16:03, Rija Rasolo wrote:
Hi, Here are the results for : usr/local/nagios/bin/query_host -t -H avaya-s4 -C public | ./check_xml_format
......
:1: parser error : Extra content at the end of the document
<data><error>Cannot connect with SNMPv2c: . Trying with
SNMPv1</error></data><ho
^ at /usr/lib/perl5/XML/LibXML/SAX/Parser.pm line 31
This is caused by the error about switching protocols
#################################### there's no result if i use snmp v1 option (-p 1) usr/local/nagios/bin/query_host -p 1 -t -H avaya-s4 -C public | ./check_xml_format
this bit works for me so not sure about this one yet - Ill get a fix sorted for the xml parsing first then look at this again later.
Duncs -- Duncan Ferguson Senior Developer
<<inline: image001.gif>>
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] www.opsera.comOpsera Limited is registered in the UK under Company Number 5396532. Our registered office is Gorse View, Horsell Rise, Woking, Surrey, GU21 4RB.
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/listinfo/opsview-users
