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

Error... Failed test query: Couldn't find end of Start Tag netapp #35

Open
tmattingly opened this issue Oct 14, 2016 · 7 comments
Open

Comments

@tmattingly
Copy link

tmattingly commented Oct 14, 2016

If you could help with an error I am receiving... I do...
./check_netapp_ontap.pl -H Mycluster --user netappro --password xxxx -option disk_health
I get... Failed test query: Couldn't find end of Start Tag netapp
Notes: The cluster can be pinged, The netappro is a read only user, have tried multiple -option choices, Also happens with 'admin' user.

One additional note,when trying the dev version I get...
./check_netapp_ontap_dev.pl: line 5: syntax error near unexpected token newline' ./check_netapp_ontap_dev.pl: line 5:'

Any ideas?

Tom

@ereid99
Copy link

ereid99 commented Mar 10, 2017

Hi Tom,

I was currious if you got this resolved. I just downloaded this check and when I try to run it I get the same error message.

@Copis
Copy link
Contributor

Copis commented Mar 13, 2017

Hi

¿Had your cut and pasted the script? I think that the problem is escape character. Try to download with wget and later unzip and test again or review the script to find extrange characters.

I'm actually using this script and i don't have any problem.

@tmattingly
Copy link
Author

tmattingly commented Mar 13, 2017 via email

@ereid99
Copy link

ereid99 commented Mar 14, 2017

I did some more searching on the problem I was seeing. It had to do with the /etc/issue file. Nagios XI puts a banner in that file before the Linux version. I backed up the file and then removed the banner. Once that was done the scripts started working.

@tmattingly
Copy link
Author

tmattingly commented Mar 14, 2017 via email

@willemdh
Copy link
Collaborator

@tmattingly Were you ever able to solve this? dos2unix tool might help to convert endings..

@tmattingly
Copy link
Author

tmattingly commented Mar 16, 2017 via email

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

No branches or pull requests

4 participants