(Return code of 127 is out of bounds - plugin may be missing
-
- Posts: 66
- Joined: Thu Nov 14, 2019 3:31 pm
Re: (Return code of 127 is out of bounds - plugin may be mis
here is our nagios.cfg and our services.cfg
- Attachments
-
- services_nagios2.cfg
- (36.3 KiB) Downloaded 145 times
-
- nagios.cfg
- (44.61 KiB) Downloaded 129 times
-
- Posts: 66
- Joined: Thu Nov 14, 2019 3:31 pm
Re: (Return code of 127 is out of bounds - plugin may be mis
scottwilkerson wrote:Did you restart nagios?kmartin2007 wrote:that did not work.
2019-11-15 17:41:14 2d 20h 38m 53s 2/2 (Return code of 127 is out of bounds - plugin may be missing)
yes i did.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: (Return code of 127 is out of bounds - plugin may be mis
You also have this command defined which doesn't have a plugin at that location
Looks like this file doesn't exist
Code: Select all
define command {
command_name check_url_ssl
command_line $USER1$/check_url_ssl
}
Code: Select all
ls -l /usr/local/nagios/libexec/check_url_ssl
-
- Posts: 66
- Joined: Thu Nov 14, 2019 3:31 pm
Re: (Return code of 127 is out of bounds - plugin may be mis
Thats correct. I cannot locate that plugin anywhere on the other server either. This may be something the previous guy started to play with but abandoned.
I have attached our resource.cfg as well
I have attached our resource.cfg as well
- Attachments
-
- resource.cfg
- (1.27 KiB) Downloaded 119 times
-
- Posts: 66
- Joined: Thu Nov 14, 2019 3:31 pm
Re: (Return code of 127 is out of bounds - plugin may be mis
oh this was installed from packages on ubuntu server 18
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: (Return code of 127 is out of bounds - plugin may be mis
However, this is the command used in one of the services in your original post:
vho wrote: define service{
use production-service
host_name DALSRVPRDIIS08
service_description DCNBS.COM SSL
check_command check_url_ssl!www.DCNBS.com
}
-
- Posts: 66
- Joined: Thu Nov 14, 2019 3:31 pm
Re: (Return code of 127 is out of bounds - plugin may be mis
scottwilkerson wrote:However, this is the command used in one of the services in your original post:
vho wrote: define service{
use production-service
host_name DALSRVPRDIIS08
service_description DCNBS.COM SSL
check_command check_url_ssl!www.DCNBS.com
}
right i dont think it was being used from the old server although it was created. When we inherited this it had alot of unknowns already that were ignored. We are more worried about the check_url right now, as that is a critical function to the business, and hospitals around the world that those sites are active.
-
- Posts: 66
- Joined: Thu Nov 14, 2019 3:31 pm
Re: (Return code of 127 is out of bounds - plugin may be mis
were now getting Return code of -1 is out of bounds now.
VIHSP ESP
Perform Extra Service Actions
CRITICAL 2019-11-15 18:00:12 2d 20h 52m 24s 2/2 (Return code of -1 is out of bounds)
ESPDATA.ORG.AU
Perform Extra Service Actions
CRITICAL 2019-11-15 17:58:00 2d 20h 57m 38s 2/2 (Return code of -1 is out of bounds)
VIHSP ESP
Perform Extra Service Actions
CRITICAL 2019-11-15 18:00:12 2d 20h 52m 24s 2/2 (Return code of -1 is out of bounds)
ESPDATA.ORG.AU
Perform Extra Service Actions
CRITICAL 2019-11-15 17:58:00 2d 20h 57m 38s 2/2 (Return code of -1 is out of bounds)
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: (Return code of 127 is out of bounds - plugin may be mis
Please post the current check_url command
Also, can you show how the command is to be run from the CLI sucessfully
Also, please post the output of
Also, can you show how the command is to be run from the CLI sucessfully
Also, please post the output of
Code: Select all
ps -ef|grep nagios.cfg
-
- Posts: 66
- Joined: Thu Nov 14, 2019 3:31 pm
Re: (Return code of 127 is out of bounds - plugin may be mis
scottwilkerson wrote:Please post the current check_url command
Also, can you show how the command is to be run from the CLI sucessfully
Also, please post the output ofCode: Select all
ps -ef|grep nagios.cfg
(not sure if im running this correctly)
root@dalsrvitmon03:/usr/local/nagios/libexec# ./check_url.pl -B ESPDATA.ORG.AU
rm: cannot remove 'tmp_html': No such file or directory
UNKNOWN:
define command {
command_name check_url
command_line $USER1$/check_url.pl -I $ARG1$
}
root@dalsrvitmon03:/usr/local/nagios/libexec# ps -ef|grep nagios.cfg
nagios 761 1 0 17:53 ? 00:00:02 /usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg
root 9633 22087 0 18:07 pts/1 00:00:00 grep --color=auto nagios.cfg