Upload check_ad plugin failing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cwscribner
Posts: 316
Joined: Thu Mar 31, 2011 9:54 am
Location: Patten, ME
Contact:

Upload check_ad plugin failing

Post 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?
Last edited by cwscribner on Sat Jul 30, 2011 1:34 am, edited 1 time in total.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Upload check_ad plugin failing

Post by nscott »

Can you do this on your Nagios XI server?

Code: Select all

ll /usr/local/nagios/
And post the output?
Nicholas Scott
Former Nagios employee
cwscribner
Posts: 316
Joined: Thu Mar 31, 2011 9:54 am
Location: Patten, ME
Contact:

Re: Upload check_ad plugin failing

Post 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
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Upload check_ad plugin failing

Post 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?
Nicholas Scott
Former Nagios employee
cwscribner
Posts: 316
Joined: Thu Mar 31, 2011 9:54 am
Location: Patten, ME
Contact:

Re: Upload check_ad plugin failing

Post 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...
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Upload check_ad plugin failing

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
cwscribner
Posts: 316
Joined: Thu Mar 31, 2011 9:54 am
Location: Patten, ME
Contact:

Re: Upload check_ad plugin failing

Post by cwscribner »

Any updates on this?
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Upload check_ad plugin failing

Post 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.
Nicholas Scott
Former Nagios employee
Locked