New plugins not available?

Support for the Plugin Architecture

Moderators: Moderators, Developers

Post Reply
Author
Message
KevinNoall
Posts: 39
Joined: Wed Feb 27, 2013 10:57 am
Location: Portland, OR
Contact:

New plugins not available?

#1 Post by KevinNoall » Tue Jul 07, 2015 11:46 am

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

Re: New plugins not available?

#2 Post by cigamit » Tue Jul 07, 2015 12:03 pm

Give us a snapshot of the inside of the discovery folder.

KevinNoall
Posts: 39
Joined: Wed Feb 27, 2013 10:57 am
Location: Portland, OR
Contact:

Re: New plugins not available?

#3 Post by KevinNoall » Tue Jul 07, 2015 12:05 pm

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

Re: New plugins not available?

#4 Post by cigamit » Tue Jul 07, 2015 12:12 pm

Try adding rwx to all the php files.

KevinNoall
Posts: 39
Joined: Wed Feb 27, 2013 10:57 am
Location: Portland, OR
Contact:

Re: New plugins not available?

#5 Post by KevinNoall » Tue Jul 07, 2015 1:54 pm

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

Re: New plugins not available?

#6 Post by cigamit » Tue Jul 07, 2015 2:03 pm

You running selinux?

KevinNoall
Posts: 39
Joined: Wed Feb 27, 2013 10:57 am
Location: Portland, OR
Contact:

Re: New plugins not available?

#7 Post by KevinNoall » Tue Jul 07, 2015 2:05 pm

CentOS6

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

Re: New plugins not available?

#8 Post by cigamit » Tue Jul 07, 2015 2:11 pm

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
Posts: 39
Joined: Wed Feb 27, 2013 10:57 am
Location: Portland, OR
Contact:

Re: New plugins not available?

#9 Post by KevinNoall » Tue Jul 07, 2015 2:16 pm

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

Re: New plugins not available?

#10 Post by cigamit » Tue Jul 07, 2015 3:01 pm

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