Installation WeatherMap

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
mercolino
Posts: 25
Joined: Wed Aug 29, 2007 6:14 pm

Installation WeatherMap

Post by mercolino »

Hi to all, I tried to install weathermap, first of all I installed the PLugin Architecture and it works very well I installed it, Links and Tools are working ok. I installed Weathermap and it appears the link in the menu and the tab at the top of the page, I installed Editor and it works fine. I create the map but it seems that the poller does not execute any command for weathermap, I tried to debug it but in my cacti log does not appears anything about weathermap running, obviously it always appears "This map hasn't been created yet" in the Tab

Any help would be appreciated

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

Post by Howie »

Nothing at all? :-?

What happens if you change the order of the plugins in the list (e.g. put weathermap at the top of the list in config.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!)
mercolino
Posts: 25
Joined: Wed Aug 29, 2007 6:14 pm

Post by mercolino »

Howie wrote:Nothing at all? :-?

What happens if you change the order of the plugins in the list (e.g. put weathermap at the top of the list in config.php)?
I delete all the plugins of cacti, weathermap is the only plugin running in the server.

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

Post by Howie »

mercolino wrote:
Howie wrote:Nothing at all? :-?

What happens if you change the order of the plugins in the list (e.g. put weathermap at the top of the list in config.php)?
I delete all the plugins of cacti, weathermap is the only plugin running in the server.
And nothing AT ALL in the cacti.log? :-(

Hmmm, well, what happens if you run the weathermap command-line tool? (that's php ./weathermap on the command-line, from the weathermap directory)?
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!)
mercolino
Posts: 25
Joined: Wed Aug 29, 2007 6:14 pm

Post by mercolino »

Howie wrote:
mercolino wrote:
Howie wrote:Nothing at all? :-?

What happens if you change the order of the plugins in the list (e.g. put weathermap at the top of the list in config.php)?
I delete all the plugins of cacti, weathermap is the only plugin running in the server.
And nothing AT ALL in the cacti.log? :-(

Hmmm, well, what happens if you run the weathermap command-line tool? (that's php ./weathermap on the command-line, from the weathermap directory)?
It seems to run, and creates weathermap.png in the weathermap directory, but nothing on cacti.

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

Post by Howie »

Could it be PHP's memory_limit? Try increasing that in php.ini... when PHP hits the memory_limit, it just stops. If that happened to be just as Weathermap is running in the poller, then you might get no output.
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!)
mercolino
Posts: 25
Joined: Wed Aug 29, 2007 6:14 pm

Post by mercolino »

Howie wrote:Could it be PHP's memory_limit? Try increasing that in php.ini... when PHP hits the memory_limit, it just stops. If that happened to be just as Weathermap is running in the poller, then you might get no output.
Thanks for your help, really. I increased de the memory_limit in my php.ini from 16M to 64M, and poller.php is running perfect, weathermap run but does not appear any message in the terminal. still nothing in cacti Log and no map in the weathermap tab.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Then I'm running out of ideas... :-? You usually get some log output.

I assume that http://yourserver/plugins/weathermap/check.php says that everything is fine?
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!)
mercolino
Posts: 25
Joined: Wed Aug 29, 2007 6:14 pm

Post by mercolino »

Howie wrote:Then I'm running out of ideas... :-? You usually get some log output.

I assume that http://yourserver/plugins/weathermap/check.php says that everything is fine?
Yes this is the output:

OK! Your PHP and server environment *seems* to have support for ALL of the Weathermap features. Make sure you have run this script BOTH as a web page and from the CLI to be sure, however.

I read that modifying the setup.php and adding an extra line it could resolve the problem that cacti does not show anything, so I add this line:

cacti_log("weathermap_poller_bottom has started",true,"WEATHERMAP");

but it doesn't work.
mercolino
Posts: 25
Joined: Wed Aug 29, 2007 6:14 pm

Post by mercolino »

I restarted the server several times and then begins to work, thank you very much for your help.

mercolino
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests