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

Closed
Napsty opened this Issue Apr 3, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@Napsty
Copy link
Owner

Napsty commented Apr 3, 2019

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

# /usr/lib/nagios/plugins/check_es_system.sh -H "ElasticNodeIP"
/usr/lib/nagios/plugins/check_es_system.sh: 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

Merged

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.