Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
techarkit opened this issue Aug 29, 2018 · 15 comments
Open

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

techarkit opened this issue Aug 29, 2018 · 15 comments

Comments

@techarkit
Copy link

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:

================================================^

<title>400 Bad Request</title> at /usr/lib64/perl5/XML/Parser.pm line 187
@aleex42
Copy link
Owner

aleex42 commented Aug 29, 2018

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

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

@techarkit
Copy link
Author

./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
Copy link
Owner

aleex42 commented Aug 29, 2018

And this IP is your cluster-mgmt LIF?

@techarkit
Copy link
Author

Yes, IP is cluster Management LIF address.

@aleex42
Copy link
Owner

aleex42 commented Aug 29, 2018

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

@techarkit
Copy link
Author

techarkit commented Aug 29, 2018

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
Copy link
Owner

aleex42 commented Aug 29, 2018

NetApp SDK Version >= 9.3 was the fix :)

He was using version 5.6 ...

@techarkit
Copy link
Author

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

@mkhallou
Copy link

I have the same problem. version SDK 9.5

@aleex42
Copy link
Owner

aleex42 commented Feb 22, 2020

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.

@aleex42 aleex42 reopened this Feb 22, 2020
@mkhallou
Copy link

mkhallou commented Feb 22, 2020 via email

@aleex42
Copy link
Owner

aleex42 commented Feb 22, 2020

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

@aleex42
Copy link
Owner

aleex42 commented Oct 19, 2020

Any news here?

@Copis
Copy link

Copis commented Sep 15, 2021

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
Copy link
Owner

aleex42 commented Sep 22, 2021

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants