In nagios its showing 255 (Return code of 255 is out of bou

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Re: In nagios its showing 255 (Return code of 255 is out of

Postby vyasdevaguddi » Wed Feb 15, 2017 1:28 pm

here is the output we are getting when running the commands

[root@nblnxora003d ~]# /usr/local/nagios/libexec/check_nrpe -H dclnxspl007a -c check_load
OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;
[root@nblnxora003d ~]# /usr/local/nagios/libexec/check_nrpe -H dclnxspl007a check_tmp
NRPE v2.15
[root@nblnxora003d ~]# /usr/local/nagios/libexec/check_nrpe -H dclnxspl007a check_swap
NRPE v2.15
vyasdevaguddi
 
Posts: 13
Joined: Fri Jan 27, 2017 11:30 am

Re: In nagios its showing 255 (Return code of 255 is out of

Postby rkennedy » Wed Feb 15, 2017 2:38 pm

Can you run su - nagios and then run those same commands?

It's either permissions, or something misconfigured in your configuration. If the above fails, then please send over the full output of ls -la /usr/local/nagios/libexec/check_nrpe and also all applicable service definitions for what's currently failing.
rkennedy
 
Posts: 6503
Joined: Mon Oct 05, 2015 11:45 am

Re: In nagios its showing 255 (Return code of 255 is out of

Postby vyasdevaguddi » Thu Feb 16, 2017 1:16 pm

Here is the o/p and i chekc configuration
[root@nblnxora003d ~]# su - nagios
[nagios@nblnxora003d ~]$ /usr/local/nagios/libexec/check_nrpe -H dclnxspl007a -c check_load
OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;
[nagios@nblnxora003d ~]$ /usr/local/nagios/libexec/check_nrpe -H dclnxspl007a check_tmp
NRPE v2.15
[nagios@nblnxora003d ~]$ /usr/local/nagios/libexec/check_nrpe -H dclnxspl007a check_swap
NRPE v2.15
[nagios@nblnxora003d ~]$ ls -la /usr/local/nagios/libexec/check_nrpe
-rwxrwxr-x 1 nagios nagios 76785 Sep 10 2015 /usr/local/nagios/libexec/check_nrpe
vyasdevaguddi
 
Posts: 13
Joined: Fri Jan 27, 2017 11:30 am

Re: In nagios its showing 255 (Return code of 255 is out of

Postby rkennedy » Thu Feb 16, 2017 2:18 pm

All looks fine here with permissions. Please post your command definition for check_nrpe for us to review.
rkennedy
 
Posts: 6503
Joined: Mon Oct 05, 2015 11:45 am

Previous

Return to Nagios Core

Who is online

Users browsing this forum: chris_rr, Petr M., Yahoo [Bot] and 17 guests