problem with weathermap 0.81

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

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

Post by Howie »

HCT wrote:i replaced to the full path in the editor config but it didn't work, i may can trace the problem if i know which part of the code is responsible for reading the config file and producing the images. :( .
HCT, have you tried disabling other plugins you may have installed? (just for one poller cycle). The only times I've seen this is when another plugin has an error, and as a result nothing following it is run at all. The problem before has been with Reports. I've just been reminded by another thread here.
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!)
ixtab
Posts: 25
Joined: Fri Aug 04, 2006 10:00 am

how did you install weathermaps?

Post by ixtab »

i hope you can help me i've tried to install weathermmaps in cacti, but i can, and i read that you did, so....i hope you can tell me how did you do it?
tks..
ixtab
Posts: 25
Joined: Fri Aug 04, 2006 10:00 am

how did you install weathermaps? part 2

Post by ixtab »

i hope you can help me i've tried to install weathermmaps in cacti, but i can, and i read that you did, so....i hope you can tell me how did you do it?
tks..
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Post by TFC »

Hi Howie,
I try to install your wathermap by using plugin.
Altough I run

Code: Select all

--config /var/www/html/cacti/plugins/weathermap/configs/backbone.conf --htmloutput /var/www/html/cacti/plugins/weathermap/output/backbone.html --output /var/www/html/cacti/plugins/weathermap/images/backbone.png
command I dont see any map in cacti-weathermap tab.
I check the logs, I see:
09/06/2006 10:15:03 AM - WEATHERMAP: Poller[0] Output directory (/var/www/html/cacti/plugins/weathermap/output) isn't writable (tried to create '/var/www/html/cacti/plugins/weathermap/output/weathermap.permissions.test'). No maps created. You probably need to make it writable by the poller process (like you did with the RRA directory)
the permissions is nobody:nobody in:
plugins/
weathermap/*
and cactiuser:users in
weathermap/output / ( actually I tried nobody:nobody couples. buta result was same)

As result,
I get This map hasn't been created yet messages in weathermap tab

have you any suggestion about this problem?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

TFC wrote:Hi Howie,
I try to install your wathermap by using plugin.
Altough I run

Code: Select all

--config /var/www/html/cacti/plugins/weathermap/configs/backbone.conf --htmloutput /var/www/html/cacti/plugins/weathermap/output/backbone.html --output /var/www/html/cacti/plugins/weathermap/images/backbone.png
command I dont see any map in cacti-weathermap tab.
I check the logs, I see:
09/06/2006 10:15:03 AM - WEATHERMAP: Poller[0] Output directory (/var/www/html/cacti/plugins/weathermap/output) isn't writable (tried to create '/var/www/html/cacti/plugins/weathermap/output/weathermap.permissions.test'). No maps created. You probably need to make it writable by the poller process (like you did with the RRA directory)
the permissions is nobody:nobody in:
plugins/
weathermap/*
and cactiuser:users in
weathermap/output / ( actually I tried nobody:nobody couples. buta result was same)

As result,
I get This map hasn't been created yet messages in weathermap tab

have you any suggestion about this problem?
As long as your poller runs as cactiuser, then that should let it create maps... you *might* need to make sure that the directory is readable by the webserver's user. However you wouldn't see that error in the logs then, only no maps.

Just to be sure, is the output directory actually empty? (apart from the deleteme file)
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
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Post by TFC »

I think I solve the problem :)
Now I have to add these commands into crontab :)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

TFC wrote:I think I solve the problem :)
Now I have to add these commands into crontab :)
which commands?? You shouldn't need to change the crontab for a running cacti. The poller does all the work.
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
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Post by TFC »

Really?
Is poller understand which config file exists?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

TFC wrote:Really?
Is poller understand which config file exists?
You use the Manage..Weathermaps to tell it which config files exist. Please read the installation guide and the Cacti Plugin guide (in the weathermap manual) ;-)
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!)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests