Plugin not connecting after restoration
-
siriideepak
- Posts: 78
- Joined: Tue Feb 28, 2012 7:21 am
Plugin not connecting after restoration
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
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
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
Hi,
Please find the attached screenshot permissions of the plugin. Kindly update.
Regards,
Deepak.P
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
Please run:
This should fix the permissions.
Code: Select all
chown apache:nagios /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
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
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
Hi,
Please find the attached screenshot of the plugin is it correct.
Regards,
Deepak.P
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
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
Hi,
There is no perl5.8.8 it is prl 5.10.1 what can i do now?
Regards,
Deepak.P
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.
Re: Plugin not connecting after restoration
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.
/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
Hi,
As per your advice i changed now its changed to null. Kindly update.
Regards,
Deepak.P
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.