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

NRPE: Unable to read output #7

Open
Johngoutbeck opened this issue Jun 16, 2020 · 1 comment
Open

NRPE: Unable to read output #7

Johngoutbeck opened this issue Jun 16, 2020 · 1 comment

Comments

@Johngoutbeck
Copy link

When I run the command line from the nagios server to a remote server, output is 'Unable to read output'

/check_nrpe -2 -H nss-sn02 -t 30 -c check_drbd
NRPE: Unable to read output

after a lot of checking, removed the 'taint mode' from the shebang line in the script

changed the first line (shebang) check_drbd9.pl
from #!/usr/bin/perl -Tw to #!/usr/bin/perl -w

This allowed the command to run and received proper output

@rumatar
Copy link

rumatar commented Aug 31, 2021

Thanks! It works fine!

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

2 participants