Plugin not connecting after restoration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Plugin not connecting after restoration

Post by siriideepak »

Hi,

I backed up nagiosxi from 32 bit machine and restored in 64 bit machine(RHEL6). Everything is working fine but the plugins shows error Return code 127 is out of bounds - plugin may be missing. but the plugin works from the command line but through nagios xi it returns error. what is the solution for this. Shall i remove and reconfigure the host. Kindly reply asap. Thanks!!

Regards,
Deepak.P
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Plugin not connecting after restoration

Post by slansing »

Can you list the permissions for your plugin?:

Code: Select all

ll -la /usr/local/nagios/libexec/check-netapp-ng.pl
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Re: Plugin not connecting after restoration

Post by siriideepak »

Hi,

Please find the attached screenshot permissions of the plugin. Kindly update.

Regards,
Deepak.P
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Plugin not connecting after restoration

Post by slansing »

Please run:

Code: Select all

chown apache:nagios /usr/local/nagios/libexec/check-netapp-ng.pl
This should fix the permissions.
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Re: Plugin not connecting after restoration

Post by siriideepak »

Hi,

Till the same problem persists it is working fine with command line as i mentioned earlier. What was the problem. Kindly tell me if any details you want.

Regards,
Deepak.P
You do not have the required permissions to view the files attached to this post.
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Re: Plugin not connecting after restoration

Post by siriideepak »

Hi,

Please find the attached screenshot of the plugin is it correct.

Regards,
Deepak.P
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Plugin not connecting after restoration

Post by slansing »

Does /usr/bin/perl5.8.8 exist on your new installation? Or is it a different perl version? Did you make sure to set up any special dependencies for this plugin that you had on your old system?
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Re: Plugin not connecting after restoration

Post by siriideepak »

Hi,

There is no perl5.8.8 it is prl 5.10.1 what can i do now?

Regards,
Deepak.P
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Plugin not connecting after restoration

Post by tmcdonald »

Start by changing your perl version in the command:

/usr/bin/perl5.10.1 $USER1$/check-netapp-ng.pl

and of course keep the arguments as they are.
Former Nagios employee
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Re: Plugin not connecting after restoration

Post by siriideepak »

Hi,

As per your advice i changed now its changed to null. Kindly update.

Regards,
Deepak.P
You do not have the required permissions to view the files attached to this post.
Locked