Active ISDN Channels- Nagios XI

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

Active ISDN Channels- Nagios XI

Post by pbachu2 »

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
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Active ISDN Channels- Nagios XI

Post by tgriep »

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

Code: Select all

$USER1$/check_cisco_b-channels.pl -H $HOSTADDRESS$ -C t0wer -g -f -w $ARG1$ -c $ARG2$
Make sure the plugin user and group are set as well as making the plugin executable.
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
Try the above and if you still have any issues, let us know.
Be sure to check out our Knowledgebase for helpful articles and solutions!
pbachu2
Posts: 27
Joined: Mon Jun 24, 2019 11:33 pm

Re: Active ISDN Channels- Nagios XI

Post by pbachu2 »

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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Active ISDN Channels- Nagios XI

Post by scottwilkerson »

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
Great!

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked