My links stop getting update

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

My links stop getting update

Post by amitayb »

I'm facing new issue with weathermap link update.
from last Fri, my links are not updated by the color or link traffic.
I'me using weather 0.97C and boost plugin.
my cacti is: 0.8.8F based on linux.

my maps contains SET rrd_use_poller_output 1
also nothing in my log file although I see warnings in the weather map.

how can I start investigate this?
any ideas what can cause this issue?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: My links stop getting update

Post by Howie »

By default the Cacti log viewer only shows you a limited number of lines. Try 'grep WEATHERMAP cacti.log' instead. If there is a warning count, then there definitely should be warnings.

Also - what else changed on Friday? (e.g. php updated?)

And is Boost updating your graphs correctly still?
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!)
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

Re: My links stop getting update

Post by amitayb »

boost is updating my graph correctly.
I've grep the log file, no errors or warnings. I only have lines with WEATHERMAP WM poller_output: Got one!
I didnt have any php update

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

Re: My links stop getting update

Post by Howie »

OK, then try turning on DEBUG logging in cacti for one poller cycle. Then look in the cacti.log for ReadData lines... It should log quite a lot of info about what it is doing.

But, if it suddenly stopped working on Friday then something has obviously changed.
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:

Re: My links stop getting update

Post by Howie »

OK, then try turning on DEBUG logging in cacti for one poller cycle. Then look in the cacti.log for ReadData lines... It should log quite a lot of info about what it is doing.

But, if it suddenly stopped working on Friday then something has obviously changed.
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!)
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

Re: My links stop getting update

Post by amitayb »

hi,
thanks for the answer.
I've manually ran weathermap-cacti-rebuild.php and all maps have refresh and update.

should I run this script from the crontab each XXX?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: My links stop getting update

Post by Howie »

Then check the permissions of the files in the output directory. If you did this before, as a different user to the poller, then that might stop the maps updating. You would definitely get errors in the log for this though.

The files in output, and the directory itself should all be writeable by the user that runs the poller (e.g. 'cacti')
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!)
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

Re: My links stop getting update

Post by amitayb »

Hi,
I mess up this permission issues.
I've installed my cacti with cactiuser.

what are the needed permissions for:
cacti root dir
everything below cacti root.
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

Re: My links stop getting update

Post by amitayb »

I did the following steps for permission:
chown -R cactiuser:users cacti
cd cacti
chown -R cactiuser:users *
chmod -R 777 *

I've moved the poller to cactiuser crontab.

log looks good, but my rrds are not getting update.
I'm using boost
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: My links stop getting update

Post by Howie »

If you use boost, you're rrd files don't always get updated. That's what it does.

Why did you change the permissions of everything?

Did it 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!)
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

Re: My links stop getting update

Post by amitayb »

My graphs are not getting update now.
The poller cron was running from root and now from cactiuser
I want to solve the weathermap link update.

I can reverse the change in 1minute.

What should i do in order to make the links getting update
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

Re: My links stop getting update

Post by amitayb »

issue solved.
I've added users: apache, cactiuser and root to the correct group
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests