CRITICAL: Return code of 127 is out of bounds. Make sure the

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
pbachu2
Posts: 27
Joined: Mon Jun 24, 2019 11:33 pm

CRITICAL: Return code of 127 is out of bounds. Make sure the

Post by pbachu2 »

Hi All,

I am getting below critical error for few services.
CRITICAL: Return code of 127 is out of bounds. Make sure the plugin you're trying to run actually exists. (worker: dc1prd490.tower.lan)

However the same command is running with correct output if i run from server end terminal.
FYI, in our environment we have installed 1 Nagios XI server and 2 nagios slave servers .But all new configurations we are doing in XI itself.

But in above error it states plugin shld exist in dc1prd490(which is 1 of our nagios slave server).

How to proceed further on this to clear return code 127 error.

Please suggest.

Thanks,
Priyanka Bachu
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CRITICAL: Return code of 127 is out of bounds. Make sure

Post by scottwilkerson »

Can you share the command definition for this plugin?

Also, can you show the first couple lines of the plugin, I'd like to see the shebang line

Code: Select all

head /path/to/your/plugin.py
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked