Search found 7 matches
- Tue Sep 09, 2014 2:34 am
- Forum: Open Source Nagios Projects
- Topic: Return Code 255 Out of Bounds from Nagios but not CMD line
- Replies: 18
- Views: 11464
Re: Return Code 255 Out of Bounds from Nagios but not CMD li
su - nagios -c '/usr/local/nagios/libexec/check_nrpe -H <remote_ip> -p 5666 -c check_xvda1' DISK OK - free space: / 27176 MB (36% inode=10%);| /=46312MB;68940;72770;0;76601 Ok - so I've been able to resolve this issue :D here's how, but not sure which part resolved it re-installed nrpe on the remote...
- Mon Sep 08, 2014 1:24 pm
- Forum: Open Source Nagios Projects
- Topic: Return Code 255 Out of Bounds from Nagios but not CMD line
- Replies: 18
- Views: 11464
Re: Return Code 255 Out of Bounds from Nagios but not CMD li
Thanks for quick response, however: nagios@server:/usr/local/nagios/libexec$ ./check_nrpe -H <remote_ip> -p 5666 -c check_xvda1 DISK OK - free space: / 27129 MB (36% inode=10%);| /=46359MB;68940;72770;0;76601 :? yup for info, I followed the same procedure to install nrpe on another remote system, a...
- Fri Sep 05, 2014 2:50 pm
- Forum: Open Source Nagios Projects
- Topic: Return Code 255 Out of Bounds from Nagios but not CMD line
- Replies: 18
- Views: 11464
Re: Return Code 255 Out of Bounds from Nagios but not CMD li
immediate and scheduled interval checks, note it is the same template, notifications, adv service, command, etc that is used on both the working and non owkring remote server
- Fri Sep 05, 2014 1:03 pm
- Forum: Open Source Nagios Projects
- Topic: Return Code 255 Out of Bounds from Nagios but not CMD line
- Replies: 18
- Views: 11464
Re: Return Code 255 Out of Bounds from Nagios but not CMD li
already checked this, but here you go anyway /usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /dev/xvda1 DISK OK - free space: / 27129 MB (36% inode=10%);| /=46359MB;68940;72770;0;76601 echo $? 0 /usr/local/nagios/libexec/check_nrpe -H localhost -c check_xvda1 DISK OK - free space: / 27129 MB (3...
- Fri Sep 05, 2014 11:02 am
- Forum: Open Source Nagios Projects
- Topic: Return Code 255 Out of Bounds from Nagios but not CMD line
- Replies: 18
- Views: 11464
Re: Return Code 255 Out of Bounds from Nagios but not CMD li
the command is defined in the monitored servers nrpe.cfg, therefore it is a command alias (sorry if didn't make this clear) - the command alias is "check_xvda1" so on nagios you only need to supply the host address and command alias. there are examples in the nrpe.cfg and some predefined. ...
- Fri Sep 05, 2014 8:46 am
- Forum: Open Source Nagios Projects
- Topic: Return Code 255 Out of Bounds from Nagios but not CMD line
- Replies: 18
- Views: 11464
Re: Return Code 255 Out of Bounds from Nagios but not CMD li
Thanks for quick response, however:
nagios@server:/usr/local/nagios/libexec$ ./check_nrpe -H <remote_ip> -p 5666 -c check_xvda1
DISK OK - free space: / 27129 MB (36% inode=10%);| /=46359MB;68940;72770;0;76601

nagios@server:/usr/local/nagios/libexec$ ./check_nrpe -H <remote_ip> -p 5666 -c check_xvda1
DISK OK - free space: / 27129 MB (36% inode=10%);| /=46359MB;68940;72770;0;76601
- Fri Sep 05, 2014 7:03 am
- Forum: Open Source Nagios Projects
- Topic: Return Code 255 Out of Bounds from Nagios but not CMD line
- Replies: 18
- Views: 11464
Return Code 255 Out of Bounds from Nagios but not CMD line
Hi, hoping someone can help. after much searching I found similar but not the same problems I am having a problem running checks against a remote Linux server using check_nrpe. This works fine from the command line, but not when initiated from Nagios web Here is the settings/checks on my monitored s...