New plugins not available?

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
KevinNoall
Cacti User
Posts: 99
Joined: Wed Feb 27, 2013 10:57 am
Location: Portland, OR
Contact:

New plugins not available?

Post by KevinNoall »

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?
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: New plugins not available?

Post by cigamit »

Give us a snapshot of the inside of the discovery folder.
KevinNoall
Cacti User
Posts: 99
Joined: Wed Feb 27, 2013 10:57 am
Location: Portland, OR
Contact:

Re: New plugins not available?

Post by KevinNoall »

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
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: New plugins not available?

Post by cigamit »

Try adding rwx to all the php files.
KevinNoall
Cacti User
Posts: 99
Joined: Wed Feb 27, 2013 10:57 am
Location: Portland, OR
Contact:

Re: New plugins not available?

Post by KevinNoall »

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
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: New plugins not available?

Post by cigamit »

You running selinux?
KevinNoall
Cacti User
Posts: 99
Joined: Wed Feb 27, 2013 10:57 am
Location: Portland, OR
Contact:

Re: New plugins not available?

Post by KevinNoall »

CentOS6
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: New plugins not available?

Post by cigamit »

Code: Select all

cat /etc/sysconfig/selinux | grep SELINUX
If its enabled, try doing

Code: Select all

setenforce 0
at the command line, and then check for the plugins again.
KevinNoall
Cacti User
Posts: 99
Joined: Wed Feb 27, 2013 10:57 am
Location: Portland, OR
Contact:

Re: New plugins not available?

Post by KevinNoall »

There is goes!
Sorry about the N00b response to your selinux question.

Is this something that I need to change later or leave it?
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: New plugins not available?

Post by cigamit »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest