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

check_nrpe gives wrong error message for undefined command if -a is specified. #250

Open
h3xx opened this issue Apr 28, 2021 · 0 comments
Open

Comments

@h3xx
Copy link
Contributor

h3xx commented Apr 28, 2021

Calling an undefined command should result in the same error message regardless of whether arguments are being sent.

$ check_nrpe -H 192.168.23.54 -c CheckCPU -p 5666
NRPE: Command 'CheckCPU' not defined
$ check_nrpe -H 192.168.23.54 -c CheckCPU -p 5666 -a warn=80 crit=90 time=1m time=5m time=15m
CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected).

NRPE version: 4.0.3 (installed from repo.nagios.com)
Ubuntu 18.04.5 LTS (Bionic Beaver)

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

1 participant