PHP Network Weathermap 0.8 (now 0.9)

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
Arrow2005
Cacti User
Posts: 54
Joined: Thu Nov 03, 2005 3:07 pm
Contact:

Everything seems OK, but It

Post by Arrow2005 »

only get this when looking at the maps

This map hasn't been created yet.

allsow did
chmod 777 weathermap -R

but the maps not getting there.
if you can patch it to day, why dont whait util 2morrow
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

hermatize wrote:Can anyone help me with my previous post.

I am pasting my config as it stands.

http://pastebin.com/765396

Thanks in advance !!
What does it say in your logs? You should get some kind of error in there if there is a problem with the configs.
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!)
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

Anyone had an issue with getting to the editor in .82? Since the update I just get a blank page.
Arrow2005
Cacti User
Posts: 54
Joined: Thu Nov 03, 2005 3:07 pm
Contact:

strange

Post by Arrow2005 »

is there any spec. ways to get the maps working,
IF I use any images the maps dont work,

I have images saved in png-8
so it
if you can patch it to day, why dont whait util 2morrow
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: strange

Post by Howie »

Arrow2005 wrote:is there any spec. ways to get the maps working,
IF I use any images the maps dont work,

I have images saved in png-8
so it
What does it say in your Cacti log? You should get some kind of error in there if there is a problem with the configs (including a problem with images).

When you say "don't work" do you mean that no map is generated, or that something is wrong with them, or something else?
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
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

knobdy wrote:Anyone had an issue with getting to the editor in .82? Since the update I just get a blank page.
What does it say in your Apache error log? You should get some kind of error in there if there is a problem.

I have a working editor in my fresh XAMPP/Windows/0.8.6h/0.82 install. The editor had only one one-line change in 0.82, as far as I remember (yep - checked svn).

I would suggest that the problem is your end, especially if you still have your "disappearing tabs" problem... I'd try moving all the PHP files for weathermap out to one side, and pulling fresh copies from the zip. Maybe something has gotten mangled?
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!)
davs
Posts: 28
Joined: Fri Mar 31, 2006 9:47 am
Location: paris

Post by davs »

Hi all,

I use this great plugin since a month but i have a little problem:
the automatic refresh does not work, I always have to press F5 each time I go to my weathermap maps. So I just wanted to know if it's a bug or if it's only on my cacti box?


thanks for any helps..


Configuration system:

- Win 2000 SP4
- Cacti 0.8.6h
- Cacti 0.8.6g
- Apache 2
- Mysql 4
- rrdtool-cygwin 1.2.12
- php-weathermap 0.82
- IE 6
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

davs wrote:I use this great plugin since a month but i have a little problem:
the automatic refresh does not work, I always have to press F5 each time I go to my weathermap maps. So I just wanted to know if it's a bug or if it's only on my cacti box?
It should take the setting from your Cacti settings for graph refreshing - that is, in the Graph tab choose the Settings tab on the right side.There is a Page Refresh time in there.

That said, I see that the HTML it produces is not valid, so it might not work right. I use the standard cacti HTML functions for most things, but some of those produce pretty horrible HTML. There isn't much point in fixing it, since I believe this is all changing in 0.9.

Code: Select all

<meta http-equiv=refresh content='300'; url='weathermap-cacti-plugin.php'>
should really be

Code: Select all

<meta http-equiv="refresh" content="300; url=weathermap-cacti-plugin.php" />
This is somewhere in <cacti-dir>/include/top_graph_header.php
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!)
davs
Posts: 28
Joined: Fri Mar 31, 2006 9:47 am
Location: paris

Post by davs »

Thanks Howie :wink:
hermatize
Cacti User
Posts: 55
Joined: Wed Aug 10, 2005 6:29 pm

Post by hermatize »

What Log Howie ? sorry im new to this plugin arch stuff
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

hermatize wrote:What Log Howie ? sorry im new to this plugin arch stuff
It's nothing to do with plugins - this is just Cacti's own logs.

The file <cactiroot>/logs/cacti.log contains all the logging from the poller, and from Cacti's database stuff. You should find some lines beginning with "WEATHERMAP:" in there which tell you what is going on.

The last one (probably - not always) would be an error message which is why your maps are failing.
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!)
hermatize
Cacti User
Posts: 55
Joined: Wed Aug 10, 2005 6:29 pm

Post by hermatize »

Na i dont see anything
hermatize
Cacti User
Posts: 55
Joined: Wed Aug 10, 2005 6:29 pm

Post by hermatize »

any other suggestions
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

hermatize wrote:any other suggestions
So to clarify... your older maps do work? or nothing is updated?

If it's nothing updated, then try disabling any other plugins you might have in config.php and wait for a poller cycle. If it works, enable each of the other plugins, one at a time, and wait a cycle between them. Reports causes problems for people, and should be last in your plugin list.

If it's only some, then there should definitely be something in your logs.
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!)
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

Having a problem with the OVERLIBGRAPH for nodes...the two examples are:

OVERLIBGRAPH http://cacti/graph_image.php?local_grap ... 1149874669

OVERLIBGRAPH http://cacti/graph_image.php?local_grap ... 7&rra_id=1

They both work on SOME of the nodes, but not all of them...until the "picker" is fully implemented, whats the best source for these?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests