Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Jul 27, 2017 1:53 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: New plugins not available?
PostPosted: Tue Jul 07, 2015 11:46 am 
Offline

Joined: Wed Feb 27, 2013 10:57 am
Posts: 26
Location: Portland, OR
I have just added a couple new plugins, and they are not displaying in plugin management as I would expect. I'm on the current version of cacti at Cacti Version: 0.8.8d, Plugin Architecture Version: 3.1

here is a snapshot of the plugins directory...
drwx------. 4 apache apache 4096 Jun 24 04:12 dashboard
drwx------. 3 apache apache 4096 Dec 21 2011 discovery
drwx------. 2 apache apache 4096 Jun 24 04:12 dsstats
-rw-r--r--. 1 apache apache 44 Jun 8 10:57 index.php
drwx------. 4 apache apache 4096 Jun 24 04:12 monitor
drwx------. 2 apache apache 4096 Jun 24 04:12 realtime
drwx------. 5 apache apache 4096 Jul 20 2010 routerconfigs
drwx------. 2 apache apache 4096 Jun 24 04:12 rrdclean
drwx------. 3 apache apache 4096 Jun 24 04:12 settings
drwx------. 5 apache apache 4096 Dec 3 2011 syslog
drwx------. 5 apache apache 4096 Jun 24 04:12 thold
drwx------. 9 apache apache 4096 Jun 24 04:12 weathermap


discovery, routerconfigs, and syslog are not working. any suggestions?


Top
 Profile  
 
 Post subject: Re: New plugins not available?
PostPosted: Tue Jul 07, 2015 12:03 pm 
Offline
Developer

Joined: Thu Apr 07, 2005 3:29 pm
Posts: 2591
Location: B/CS Texas
Give us a snapshot of the inside of the discovery folder.

_________________
CactiEZ CD


Top
 Profile  
 
 Post subject: Re: New plugins not available?
PostPosted: Tue Jul 07, 2015 12:05 pm 
Offline

Joined: Wed Feb 27, 2013 10:57 am
Posts: 26
Location: Portland, OR
drwx------. 3 apache apache 4096 Dec 21 2011 .
drwxr-xr-x. 13 apache apache 4096 Jul 7 02:42 ..
-rw-------. 1 apache apache 121 Dec 21 2011 config.php
-rw-------. 1 apache apache 16213 Dec 21 2011 discover.php
-rw-------. 1 apache apache 1163 Dec 21 2011 discover.sql
-rw-------. 1 apache apache 11009 Dec 21 2011 discover_template.php
-rw-------. 1 apache apache 51932 Dec 21 2011 findhosts.php
-rw-------. 1 apache apache 6455 Dec 21 2011 general_header.php
drwx------. 2 apache apache 4096 Dec 21 2011 images
-rw-------. 1 apache apache 44 Dec 21 2011 index.php
-rw-------. 1 apache apache 15237 Dec 21 2011 LICENSE
-rw-------. 1 apache apache 5746 Dec 21 2011 README
-rw-------. 1 apache apache 16125 Dec 21 2011 setup.php


Top
 Profile  
 
 Post subject: Re: New plugins not available?
PostPosted: Tue Jul 07, 2015 12:12 pm 
Offline
Developer

Joined: Thu Apr 07, 2005 3:29 pm
Posts: 2591
Location: B/CS Texas
Try adding rwx to all the php files.

_________________
CactiEZ CD


Top
 Profile  
 
 Post subject: Re: New plugins not available?
PostPosted: Tue Jul 07, 2015 1:54 pm 
Offline

Joined: Wed Feb 27, 2013 10:57 am
Posts: 26
Location: Portland, OR
Didnt seem to help
-rwx------. 1 apache apache 121 Dec 21 2011 config.php
-rwx------. 1 apache apache 16213 Dec 21 2011 discover.php
-rwx------. 1 apache apache 1163 Dec 21 2011 discover.sql
-rwx------. 1 apache apache 11009 Dec 21 2011 discover_template.php
-rwx------. 1 apache apache 51932 Dec 21 2011 findhosts.php
-rwx------. 1 apache apache 6455 Dec 21 2011 general_header.php
drwx------. 2 apache apache 4096 Dec 21 2011 images
-rwx------. 1 apache apache 44 Dec 21 2011 index.php
-rwx------. 1 apache apache 15237 Dec 21 2011 LICENSE
-rwx------. 1 apache apache 5746 Dec 21 2011 README
-rwx------. 1 apache apache 16125 Dec 21 2011 setup.php

_________________
http://www.KevinNoall.com/blog


Top
 Profile  
 
 Post subject: Re: New plugins not available?
PostPosted: Tue Jul 07, 2015 2:03 pm 
Offline
Developer

Joined: Thu Apr 07, 2005 3:29 pm
Posts: 2591
Location: B/CS Texas
You running selinux?

_________________
CactiEZ CD


Top
 Profile  
 
 Post subject: Re: New plugins not available?
PostPosted: Tue Jul 07, 2015 2:05 pm 
Offline

Joined: Wed Feb 27, 2013 10:57 am
Posts: 26
Location: Portland, OR
CentOS6

_________________
http://www.KevinNoall.com/blog


Top
 Profile  
 
 Post subject: Re: New plugins not available?
PostPosted: Tue Jul 07, 2015 2:11 pm 
Offline
Developer

Joined: Thu Apr 07, 2005 3:29 pm
Posts: 2591
Location: B/CS Texas
Code:
cat /etc/sysconfig/selinux | grep SELINUX

If its enabled, try doing
Code:
setenforce 0

at the command line, and then check for the plugins again.

_________________
CactiEZ CD


Top
 Profile  
 
 Post subject: Re: New plugins not available?
PostPosted: Tue Jul 07, 2015 2:16 pm 
Offline

Joined: Wed Feb 27, 2013 10:57 am
Posts: 26
Location: Portland, OR
There is goes!
Sorry about the N00b response to your selinux question.

Is this something that I need to change later or leave it?

_________________
http://www.KevinNoall.com/blog


Top
 Profile  
 
 Post subject: Re: New plugins not available?
PostPosted: Tue Jul 07, 2015 3:01 pm 
Offline
Developer

Joined: Thu Apr 07, 2005 3:29 pm
Posts: 2591
Location: B/CS Texas
If you don't need selinux, you can disable it in that config file. The setenforce will stay in affect for now, but will go away upon the next reboot if you don't disable it completely. The other alternative is to learn how to set the selinux permissions (they are different then normal permissions). You can start here
http://wiki.centos.org/HowTos/SELinux

_________________
CactiEZ CD


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group