Hi All,
We have migrated all hosts/services from Nagios Core 4.0.8 to Nagios XI 5.6.3.
Post migration, currently we are working on clearing all critical and Unknown services in XI.
For one of the service "Active ISDN Channels" which is OK from Nagios core but not working on Nagios XI.
It is giving the error " CRITICAL: Return code of 255 is out of bounds. (worker: XXX.tower.lan)" .
I have installed the required plugin (similar to nagios core) and configured new command(similar to nagios core) .
However there is no result.still the same error.Please find the command and attached plugin "check_cisco_b-channels.pl "which I have configured.
Kindly suggest how to proceed further on this.
Command :
check_cisco_b-channels 2
$USER1$/monitoring-plugins/check_cisco_b-channels.pl -H $HOSTADDRESS$ -C t0wer -g -f -w $ARG1$ -c $ARG2$
Regards,
Priyanka Bachu
Active ISDN Channels- Nagios XI
Active ISDN Channels- Nagios XI
You do not have the required permissions to view the files attached to this post.
Re: Active ISDN Channels- Nagios XI
We don't have the equipment to test the plugin but I do have a few things you can do.
First, can you run the plugin from a root shell on the XI server and post the output?
Second, the path to the plugin is not the typical path used in XI.
The default location for plugins in in the /usr/local/nagios/libexec folder.
I recommend putting it that folder and adjusting the command_line to the following
Make sure the plugin user and group are set as well as making the plugin executable.
Run the following to do that.
Try the above and if you still have any issues, let us know.
First, can you run the plugin from a root shell on the XI server and post the output?
Second, the path to the plugin is not the typical path used in XI.
The default location for plugins in in the /usr/local/nagios/libexec folder.
I recommend putting it that folder and adjusting the command_line to the following
Code: Select all
$USER1$/check_cisco_b-channels.pl -H $HOSTADDRESS$ -C t0wer -g -f -w $ARG1$ -c $ARG2$
Run the following to do that.
Code: Select all
chown nagios.nagios /usr/local/nagios/libexec/check_cisco_b-channels.pl
chmod 554 /usr/local/nagios/libexec/check_cisco_b-channels.pl
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Active ISDN Channels- Nagios XI
Hi,
Thank you much for the response.
The issue got fixed.
The problem was SNMP connection was disabled.
Once it got enabled all working good
Regards,
Priyanka Bachu
Thank you much for the response.
The issue got fixed.
The problem was SNMP connection was disabled.
Once it got enabled all working good
Regards,
Priyanka Bachu
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Active ISDN Channels- Nagios XI
Great!pbachu2 wrote:Hi,
Thank you much for the response.
The issue got fixed.
The problem was SNMP connection was disabled.
Once it got enabled all working good
Regards,
Priyanka Bachu
Locking thread