aleex42 / netapp-cdot-nagios

Nagios-Checks for monitoring NetApp cDOT-Systems via NetApp Perl API
GNU General Public License v3.0
43 stars 30 forks source link

Failed test query: NaServer::parse_xml - Error in parsing xml: #36

Open techarkit opened 6 years ago

techarkit commented 6 years ago

I am using ONTAP 9.3P2 for before version like Ontap 9.2 is working fine. Getting below error while added DATA ONTAP 9.3P2 version.

Failed test query: NaServer::parse_xml - Error in parsing xml: syntax error at line 1, column 49, byte 49: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> ================================================^

400 Bad Request at /usr/lib64/perl5/XML/Parser.pm line 187
aleex42 commented 6 years ago

I'm using 9.3P2 here, too ... no problem so far.

Can you write your exact command (without user/pw)?

techarkit commented 6 years ago

./check_cdot_volume.pl --hostname 192.168.2.5 --username nagios --password Password --size-warning 90 --size-critical 95 --inode-warning 90 --inode-critical 95 --perf

aleex42 commented 6 years ago

And this IP is your cluster-mgmt LIF?

techarkit commented 6 years ago

Yes, IP is cluster Management LIF address.

aleex42 commented 6 years ago

Can you write me an email to "git@krogloth.de" - maybe I will have a short look with teamviewer :)

techarkit commented 6 years ago

I am using the same plugins for other Netapp Cdot versions monitoring which are working fine without any issues. NetApp Release 8.3P1: Tue Apr 07 16:05:35 PDT 2015 - Working Fine NetApp Release 9.1P9: Wed Oct 11 14:54:29 UTC 2017 - Working Fine NetApp Release 9.3P2: Fri Mar 02 01:02:58 UTC 2018 - Getting Above error

aleex42 commented 6 years ago

NetApp SDK Version >= 9.3 was the fix :)

He was using version 5.6 ...

techarkit commented 6 years ago

Excellent support. Issue resolved in few minutes. Thanks Aleex.

mkhallou commented 4 years ago

I have the same problem. version SDK 9.5

aleex42 commented 4 years ago

I'm pretty sure your ONTAP is newer (9.6 or 9.7) than your SDK.

If not, we can make a short debugging with TeamViewer etc.

mkhallou commented 4 years ago

Thank you for your reply. How i can do with TeamViewer?

Le sam. 22 févr. 2020 à 13:21, Alexander Krogloth notifications@github.com a écrit :

Reopened #36 https://github.com/aleex42/netapp-cdot-nagios/issues/36.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/aleex42/netapp-cdot-nagios/issues/36?email_source=notifications&email_token=ANEWASWPZMBZRSCME24SN73REEKC3A5CNFSM4FSEX3SKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOW2GPNOI#event-3062691513, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANEWASQOO46CO5JIR6MGPI3REEKC3ANCNFSM4FSEX3SA .

-- Cordialement, Best Regards,

Merouane KHALLOUK Consultant SI Groupe INTM

Mobile : +33 6 34 36 44 35

aleex42 commented 4 years ago

Write me a direct mail to git@krogloth.de :)

aleex42 commented 4 years ago

Any news here?

Copis commented 3 years ago

I also had the same problem and solved it by modifying the value of "use lib" to point to the current SDK files

use lib"/usr/lib64/nagios/modules/NetApp";

It would be great if someone knows if a different SDK can be loaded according to the model because we still have old NetApp and we need to have several sdk's

aleex42 commented 3 years ago

Should be no problem, the SDK is downwards compatible. If you using SDK 9.8, you can also use it with ONTAP 9.5 / 9.6 for example.

Only 7-Mode need other SDK (see other git repository here)