Weathermap not appearing in plugins tab - Cacti 0.8.8a

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
User avatar
caiospessoa
Posts: 9
Joined: Fri Jul 27, 2012 2:00 pm
Location: São Paulo, Brazil

Weathermap not appearing in plugins tab - Cacti 0.8.8a

Post by caiospessoa »

Hi all!

I'm trying to deploy weathermap 0.97c on my Cacti 0.8.8a running over a CentOS kernel 2.6.32-279.14.1.el6.x86_64.

1.) I've added weathermap to cacti_folder/plugins. Permissions are 755, like the other plugins. Same owners.;

2.) I've added the weathermap plugin into the array in cacti_folder/include/config.php.

$plugins[] = array();
$plugins[] = 'thold';
$plugins[] = 'monitor';
$plugins[] = 'realtime';
$plugins[] = 'settings';
$plugins[] = 'loginmod';
$plugins[] = 'errorimage';
$plugins[] = 'weathermap';

3.) I ran # php check.php within weathermap dir and looks good.

imagepng YES
imagecreatetruecolor YES
imagealphablending YES
imageSaveAlpha YES
preg_match YES
imagecreatefrompng YES
imagecreatefromjpeg YES
imagecreatefromgif YES
imagejpeg YES
imagegif YES
imagecopyresampled YES
imagettfbbox YES
memory_get_usage YES

But is still not showing in the Plugins tab. What am I missing?

I appreciate your help.

Regards,

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

Re: Weathermap not appearing in plugins tab - Cacti 0.8.8a

Post by cigamit »

2.) I've added the weathermap plugin into the array in cacti_folder/include/config.php.

That is the old way of adding plugins, you really need to remove that and add it through Plugin Management.

Also check your User Permissions in Cacti to ensure it has access.
User avatar
caiospessoa
Posts: 9
Joined: Fri Jul 27, 2012 2:00 pm
Location: São Paulo, Brazil

Re: Weathermap not appearing in plugins tab - Cacti 0.8.8a

Post by caiospessoa »

I'm logged in with local administrator created when installed Cacti.

Check attached the page I'm seeing. There is no option for adding plugins. How can I do this?
Attachments
CactiPluginsInterface.JPG
CactiPluginsInterface.JPG (95.75 KiB) Viewed 2444 times
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Weathermap not appearing in plugins tab - Cacti 0.8.8a

Post by cigamit »

If it doesn't show up there, either the permissions or folder structure is wrong for the plugin. Show us an ls -la of your plugin folder. And show us inside the weathermap folder.
User avatar
caiospessoa
Posts: 9
Joined: Fri Jul 27, 2012 2:00 pm
Location: São Paulo, Brazil

Re: Weathermap not appearing in plugins tab - Cacti 0.8.8a

Post by caiospessoa »

Attached.

Thanks in advance!
Attachments
CactiFolder.png
CactiFolder.png (32.32 KiB) Viewed 2439 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Weathermap not appearing in plugins tab - Cacti 0.8.8a

Post by Howie »

Your weathermap directory is very incomplete. Unpack the zip file again. There should be much more than that... specifically, for Cacti to see the plugin, there must be a setup.php, but you are missing several subdirectories.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
caiospessoa
Posts: 9
Joined: Fri Jul 27, 2012 2:00 pm
Location: São Paulo, Brazil

Re: Weathermap not appearing in plugins tab - Cacti 0.8.8a

Post by caiospessoa »

Perfect, Howie!

That did the trick. I've installed already now.

Thanks, your help is much appreciated.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests