Search found 16 matches

by McHenry
Tue Apr 12, 2016 6:58 pm
Forum: Open Source Nagios Projects
Topic: NOOB: (Return code of 127 is out of bounds - plugin may be
Replies: 17
Views: 7605

Re: NOOB: (Return code of 127 is out of bounds - plugin may

The plugin ownership of root:root is the same for all other plugins in the folder.
by McHenry
Mon Apr 11, 2016 3:58 pm
Forum: Open Source Nagios Projects
Topic: NOOB: (Return code of 127 is out of bounds - plugin may be
Replies: 17
Views: 7605

Re: NOOB: (Return code of 127 is out of bounds - plugin may

Unfortunately not.

I have restarted the server however the error remains.
by McHenry
Mon Apr 11, 2016 3:21 pm
Forum: Open Source Nagios Projects
Topic: NOOB: (Return code of 127 is out of bounds - plugin may be
Replies: 17
Views: 7605

Re: NOOB: (Return code of 127 is out of bounds - plugin may

I did find an error in the command definition whereby it was missing two "$" I have now updated it from: define command{ command_name check_snmp_printer command_line $USER1$/check_snmp_printer -H $HOSTADDRESS -C $ARG1$ -x $ARG2 -w $ARG3$ -c $ARG4$ } to define command{ command_name check_pr...
by McHenry
Mon Apr 11, 2016 2:03 pm
Forum: Open Source Nagios Projects
Topic: NOOB: (Return code of 127 is out of bounds - plugin may be
Replies: 17
Views: 7605

Re: NOOB: (Return code of 127 is out of bounds - plugin may

Hi Rob and thanks once again. The file permissions are the same as the others in the folder: root@apollo:/usr/lib/nagios/plugins# ls -l check_s* -rwxr-xr-x 1 root root 1453 Mar 13 2014 check_sensors lrwxrwxrwx 1 root root 9 Mar 13 2014 check_simap -> check_tcp -rwxr-xr-x 1 root root 64216 Mar 13 201...
by McHenry
Mon Apr 11, 2016 6:45 am
Forum: Open Source Nagios Projects
Topic: NOOB: (Return code of 127 is out of bounds - plugin may be
Replies: 17
Views: 7605

Re: NOOB: (Return code of 127 is out of bounds - plugin may

Thanks Rob. SELinux was already disabled.

root@apollo:~# getenforce
Disabled
root@apollo:~#
by McHenry
Sun Apr 10, 2016 2:06 am
Forum: Open Source Nagios Projects
Topic: NOOB: (Return code of 127 is out of bounds - plugin may be
Replies: 17
Views: 7605

NOOB: (Return code of 127 is out of bounds - plugin may be

I am a new user and have some basic monitoring working. I am interested in getting the following printer plugin working: https://exchange.nagios.org/directory/Plugins/Hardware/Printers/SNMP-Printer-Check/details The response I received for both services is: "(Return code of 127 is out of bounds...