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

line 155: [: =: unary operator expected when check type not defined #6

Napsty opened this Issue Apr 3, 2019 · 0 comments


None yet
1 participant
Copy link

Napsty commented Apr 3, 2019

When the plugin is only executed with the -H parameter, the following error shows up:

# /usr/lib/nagios/plugins/ -H "ElasticNodeIP"
/usr/lib/nagios/plugins/ line 155: [: =: unary operator expected
ES SYSTEM UNKNOWN - Authentication required but missing username and password

Make sure, -t is mandatory, as shown in help and documentation.

@Napsty Napsty self-assigned this Apr 3, 2019

@Napsty Napsty added the bug label Apr 3, 2019

@Napsty Napsty referenced this issue Apr 3, 2019


Fix issue 6 #7

@Napsty Napsty closed this Apr 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.