Active ISDN Channels- Nagios XI

This board serves as an open discussion and support collaboration point for Nagios XI. NOTE: Nagios XI customers should use the Customer Support forum to obtain expedited support.

Active ISDN Channels- Nagios XI

Postby pbachu2 » Thu Aug 29, 2019 8:36 pm

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
Attachments
check_cisco_b-channels.pl
(8.76 KiB) Downloaded 5 times
pbachu2
 
Posts: 27
Joined: Mon Jun 24, 2019 11:33 pm

Re: Active ISDN Channels- Nagios XI

Postby tgriep » Fri Aug 30, 2019 2:05 pm

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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
 
Posts: 8267
Joined: Thu Oct 30, 2014 9:02 am

Re: Active ISDN Channels- Nagios XI

Postby pbachu2 » Wed Sep 04, 2019 12:46 am

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
pbachu2
 
Posts: 27
Joined: Mon Jun 24, 2019 11:33 pm

Re: Active ISDN Channels- Nagios XI

Postby scottwilkerson » Wed Sep 04, 2019 6:50 am

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 16153
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios XI

Who is online

Users browsing this forum: Google [Bot], mejokj and 23 guests