Page 1 of 1
Upload check_ad plugin failing
Posted: Mon Jul 25, 2011 11:54 am
by cwscribner
Hi all.
I'm trying to upload this plugin:
http://exchange.nagios.org/directory/Pl ... TK/details
But it fails every time I try to upload it saying that the folder permissions may not be right. Any ideas on how to fix this?
Re: Upload check_ad plugin failing
Posted: Mon Jul 25, 2011 12:38 pm
by nscott
Can you do this on your Nagios XI server?
And post the output?
Re: Upload check_ad plugin failing
Posted: Mon Jul 25, 2011 1:11 pm
by cwscribner
total 48
drwxr-xr-x 2 nagios nagios 4096 Jun 22 23:47 bin
drwxrwsr-x 7 apache nagios 4096 Jul 22 11:56 etc
drwxr-xr-x 2 nagios nagios 4096 Jul 20 16:09 libexec
drwxrwxr-x 2 nagios nagios 4096 Apr 21 12:07 sbin
drwxrwxr-x 12 nagios nagios 4096 Apr 21 12:11 share
drwxrwxr-x 6 nagios nagios 4096 Jul 25 13:53 var
Re: Upload check_ad plugin failing
Posted: Mon Jul 25, 2011 1:34 pm
by nscott
Can you try
Code: Select all
chown nagios.apache /usr/local/nagios/libexec
chmod 775 /usr/local/nagios/libexec
Then try to upload your plugin again?
Just to see if thats the issue?
Re: Upload check_ad plugin failing
Posted: Mon Jul 25, 2011 1:56 pm
by cwscribner
I managed to upload the .pl file in the archive but it won't take the whole .zip file. Not sure if that will be a problem...
Re: Upload check_ad plugin failing
Posted: Mon Jul 25, 2011 4:47 pm
by lmiltchev
I don't believe uploading only the "check_ad.pl" file will do the trick. We will do some testing and will get back to you.
Re: Upload check_ad plugin failing
Posted: Thu Jul 28, 2011 9:16 pm
by cwscribner
Any updates on this?
Re: Upload check_ad plugin failing
Posted: Fri Jul 29, 2011 9:42 am
by nscott
That check_ad plugin has to be used in conjunction with NSClient++. The author of the plugin made this post:
http://www.itefix.no/i2/node/11970#comment-14777
Which gives a pretty good synopsis of what you'll need to do.