What is wrong with my plugin N
Posted: Sat Mar 09, 2019 1:43 pm
Here is a working pluging called by NRPE ;
It works either on the client either on the nagios server.
Here is a non working plugin:
This works fine on the client but on the server, it gives me back : NRPE: Unable to read output
Everything is identical : same directory , owner and rights : -rwxrwxrwx
What do I miss ?
Thanks for any idea.
Code: Select all
#!/bin/bash
echo "CRITICAL-pc "
exit 1
Here is a non working plugin:
Code: Select all
#!/usr/bin/perl
#
print STDERR "CRITICAL-pc\n ";
exit(1);
Everything is identical : same directory , owner and rights : -rwxrwxrwx
What do I miss ?
Thanks for any idea.