Weathermap Plugin doesn't show up

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
optize
Posts: 35
Joined: Thu Dec 04, 2008 5:27 pm

Weathermap Plugin doesn't show up

Post by optize »

I uploaded the weathermap directory to /var/www/html/plugins/ and added the following in /var/www/html/include/global.php;

$plugins = array();
$plugins[] = 'weathermap';

But it doesn't show up. Is there anyway to debug this?
DLNoah
Cacti User
Posts: 119
Joined: Wed Jun 20, 2007 11:27 pm

Post by DLNoah »

I'm 98% sure that weathermap requires the settings plugin as well, as the tab it uses in the settings page for its configuration option is used by several other plugins that depend on the settings plugin.

If that is the case, you need to have settings declared before weathermap.
optize
Posts: 35
Joined: Thu Dec 04, 2008 5:27 pm

Post by optize »

Added that, now my global.php looks like;

$plugins = array();
$plugins[] = 'settings';
$plugins[] = 'weathermap';

Still nothing.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

weathermap doesn't require settings (that's thold).

However, if you really did add the "$plugins = array(); " line, then that makes me think that you didn't install the plugin architecture properly/at all. That line should already have been there.
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!)
Deviloper
Cacti User
Posts: 256
Joined: Tue Jul 07, 2009 8:03 am

Post by Deviloper »

Are you sure you "allowed" your Adminuser to SEE weathermaps?

This was my fault.

->http://127.0.0.1/cacti/user_admin.php?a ... _edit&id=1

See user management -> admin -> Realm Permissions

Check if "Plugin Management" and " Plugin -> Weathermap: Configure/Manage" and "Plugin -> Weathermap: View " is granted.
optize
Posts: 35
Joined: Thu Dec 04, 2008 5:27 pm

Post by optize »

I don't have either one of those. Here are the things that are checked under Realm Permissions.

--

User Administration
Data Input
Update Data Sources
Update Graph Trees
Update Graphs
View Graphs
Console Access
Update Round Robin Archives
Update Graph Templates
Update Data Templates
Update Host Templates
Data Queries
Update CDEF's
Global Settings
Export Data
Import Data
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

optize wrote:I don't have either one of those. Here are the things that are checked under Realm Permissions.

--

User Administration
Data Input
Update Data Sources
Update Graph Trees
Update Graphs
View Graphs
Console Access
Update Round Robin Archives
Update Graph Templates
Update Data Templates
Update Host Templates
Data Queries
Update CDEF's
Global Settings
Export Data
Import Data
Did you install the Plugin Architecture? You should see at least a couple more permissions there, and you shouldn't have needed to add the first '$plugins=array();' line, because the Plugin Architecture puts it there.

http://cactiusers.org for more info on the PA.
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!)
optize
Posts: 35
Joined: Thu Dec 04, 2008 5:27 pm

Post by optize »

Wow, I feel slow.

That was it, thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests