Weathermap change default refrehinh time

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

OscarW
Posts: 23
Joined: Tue Aug 18, 2009 5:32 am
Location: India

Weathermap change default refrehinh time

Post by OscarW »

Hi All,

I have installed cacti 0.8.7e with 0.95b Network weathermap plugin.

I am trying to change the weathermap page to refresh for every minute. But it is working for only 5 mins.

We want to try cacti for monitoring for Network devices.

How can I refresh the page evey minute?

I checked this page

http://forums.cacti.net/about20467.html

but didno thelp me much.

Regards,

OW
DLNoah
Cacti User
Posts: 119
Joined: Wed Jun 20, 2007 11:27 pm

Post by DLNoah »

Take a look under Settings -> Misc -> Refresh Time. Note that that will only be effective if you've clicked "Automatically cycle" available maps when you're on the Weathermap page. If you have more than 1 map, it will change maps every time it refreshes.
OscarW
Posts: 23
Joined: Tue Aug 18, 2009 5:32 am
Location: India

Post by OscarW »

Hi DLNoah,

Thanks for the reply.

My settings are like this ,

Poller Settings

Poller Interval --> Every Minute

Cron Interval --> Every Minute


Misc Settings

Refresh Time --> 1 Minute
Map Rendering Interval --> Everry Poller Cycle

As per your reply, only the Automatic setting will work.

If I do any change to the map, it only reflects after 5 minutes,

Where as i would like this to be a minute.

I am trying hard googling around to get this done. As I am pursuing hard to use cacti as the tool to monitor the Infra.

Regards,

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

Post by Howie »

DLNoah wrote:Take a look under Settings -> Misc -> Refresh Time. Note that that will only be effective if you've clicked "Automatically cycle" available maps when you're on the Weathermap page. If you have more than 1 map, it will change maps every time it refreshes.
That doesn't affect how often maps are generated, just how long they stay on the screen...

I have a feeling that there is something wrong with Weathermap's handling of 1-minute polling. The issue is that the poller.php is still run every 5 minutes, even with 1 minute polls, I think.

I have a customer with 1-minute polling on their server, so I'll experiment a little there if I can. It certainly used to work, but they are running an older version now.
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!)
DLNoah
Cacti User
Posts: 119
Joined: Wed Jun 20, 2007 11:27 pm

Post by DLNoah »

I guess I took Oscar's original question to be how to get the HTTP page (the weathermap tab) to refresh every 1 minute, so that he could see the maps that his poller was generating every minute.

I have never had problems with cacti 0.8.7e + weathermap 0.96a generating maps at a 1 minute interval, either when I was using a 5 minute cron cycle and 1 minute polling (poller.php runs only every 5 minutes), or now with a 1 minute cron cycle and 1 minute polling. Similarly, if I change my map configuration file, the new map is generated the very next poller cycle.
DLNoah
Cacti User
Posts: 119
Joined: Wed Jun 20, 2007 11:27 pm

Post by DLNoah »

OscarW wrote:Hi DLNoah,

My settings are like this ,
Poller Settings
Poller Interval --> Every Minute
Cron Interval --> Every Minute

Misc Settings
Refresh Time --> 1 Minute
Map Rendering Interval --> Everry Poller Cycle

As per your reply, only the Automatic setting will work.

If I do any change to the map, it only reflects after 5 minutes,
Where as i would like this to be a minute.

I am trying hard googling around to get this done. As I am pursuing hard to use cacti as the tool to monitor the Infra.

Regards,

OW
Oscar, can you post the lines out of your Cacti log file that start with WEATHERMAP?

Can you elaborate on "If I do any change to the map, it only reflects after 5 minutes" -- does that mean that if you make a change to your configuration file it takes until the next multiple of 5 minutes to draw the new configuration, or that your map is only being created once every five minutes?

Can you try to navigate to the weathermap tab and manually refresh the web browser every minute (F5 key on most browsers), and pay attention to the Created: time stamp on the map (put the created time stamp onto your map if you took it off, at least long enough for us to troubleshoot)? Is the Created: time stamp updating every minute, or only once per five minutes?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

DLNoah wrote:I guess I took Oscar's original question to be how to get the HTTP page (the weathermap tab) to refresh every 1 minute, so that he could see the maps that his poller was generating every minute.

I have never had problems with cacti 0.8.7e + weathermap 0.96a generating maps at a 1 minute interval, either when I was using a 5 minute cron cycle and 1 minute polling (poller.php runs only every 5 minutes), or now with a 1 minute cron cycle and 1 minute polling. Similarly, if I change my map configuration file, the new map is generated the very next poller cycle.
Ah, well that's good news :-) I just wondered because someone else had a similar problem the other day.
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!)
OscarW
Posts: 23
Joined: Tue Aug 18, 2009 5:32 am
Location: India

Post by OscarW »

Hi All,

Thanks for your replies.

DLNoah, you are correct.

When I set the 1 minute polling and i minute refresh interval for the page to refresh,

If I manually refresh the page after 1 minute, I can see the change or as you said, If I go to other TAB and comeback to WEATHERMAP the weathermap page reflects the changes.

But If I keep the page open and don't touch, the lines will only be reflected after 5 minutes.

I am attaching Cacti log contianing weathermap related logs.

Thanks again for the reply.

Regards,

OW
OscarW
Posts: 23
Joined: Tue Aug 18, 2009 5:32 am
Location: India

Post by OscarW »

Logs:

08/26/2009 06:54:05 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: Map: /var/www/html/cacti/plugins/weathermap/configs/new.conf -> /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.html & /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.png
08/26/2009 06:54:05 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 742.047471176% to 100%
08/26/2009 06:54:05 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 715.561275568% to 100%
08/26/2009 06:54:05 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
08/26/2009 06:54:05 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 742.047471176% to 100%
08/26/2009 06:54:05 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 715.561275568% to 100%
08/26/2009 06:54:06 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: Wrote map to /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.png and /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.thumb.png
08/26/2009 06:54:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: Map: /var/www/html/cacti/plugins/weathermap/configs/simple.conf -> /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.html & /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.png
08/26/2009 06:54:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 213.20940716% to 100%
08/26/2009 06:54:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 220.07706314% to 100%
08/26/2009 06:54:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ReadData: LINK 192.168.131.32-192.168.131.10, target: /var/www/html/cacti/rra/lab_switch__traffic_in_14.rrd on config line 87 had no valid data, according to WeatherMapDataSource_rrd
08/26/2009 06:54:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.532446681824% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:54:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.619855203656% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:54:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
08/26/2009 06:54:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 213.20940716% to 100%
08/26/2009 06:54:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 220.07706314% to 100%
08/26/2009 06:54:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.532446681824% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:54:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.619855203656% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:54:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: Wrote map to /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.png and /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.thumb.png
08/26/2009 06:54:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: Weathermap 0.95b run complete - 2 maps were run in 1 seconds
08/26/2009 06:55:04 AM - WEATHERMAP
08/26/2009 06:55:04 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: Map: /var/www/html/cacti/plugins/weathermap/configs/new.conf -> /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.html & /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.png
08/26/2009 06:55:04 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 742.047471176% to 100%
08/26/2009 06:55:04 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 715.561275568% to 100%
08/26/2009 06:55:04 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
08/26/2009 06:55:04 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 742.047471176% to 100%
08/26/2009 06:55:04 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 715.561275568% to 100%
08/26/2009 06:55:05 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: Wrote map to /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.png and /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.thumb.png
08/26/2009 06:55:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: Map: /var/www/html/cacti/plugins/weathermap/configs/simple.conf -> /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.html & /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.png
08/26/2009 06:55:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ReadData: LINK 192.168.131.32-192.168.131.10, target: /var/www/html/cacti/rra/lab_switch__traffic_in_14.rrd on config line 87 had no valid data, according to WeatherMapDataSource_rrd
08/26/2009 06:55:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.532446681824% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:55:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.619855203656% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:55:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
08/26/2009 06:55:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.532446681824% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:55:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.619855203656% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:55:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: Wrote map to /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.png and /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.thumb.png
08/26/2009 06:55:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: Weathermap 0.95b run complete - 2 maps were run in 2 seconds
08/26/2009 06:56:06 AM - WEATHERMAP
08/26/2009 06:56:06 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: Map: /var/www/html/cacti/plugins/weathermap/configs/new.conf -> /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.html & /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.png
08/26/2009 06:56:06 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 742.047471176% to 100%
08/26/2009 06:56:06 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 715.561275568% to 100%
08/26/2009 06:56:06 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
08/26/2009 06:56:06 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 742.047471176% to 100%
08/26/2009 06:56:06 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 715.561275568% to 100%
08/26/2009 06:56:07 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: Wrote map to /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.png and /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.thumb.png
08/26/2009 06:56:07 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: Map: /var/www/html/cacti/plugins/weathermap/configs/simple.conf -> /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.html & /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.png
08/26/2009 06:56:07 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ReadData: LINK 192.168.131.32-192.168.131.10, target: /var/www/html/cacti/rra/lab_switch__traffic_in_14.rrd on config line 87 had no valid data, according to WeatherMapDataSource_rrd
08/26/2009 06:56:07 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.508138657984% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:56:07 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.597789338272% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:56:07 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
08/26/2009 06:56:07 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.508138657984% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:56:07 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.597789338272% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:56:08 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: Wrote map to /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.png and /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.thumb.png
08/26/2009 06:56:08 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: Weathermap 0.95b run complete - 2 maps were run in 2 seconds
08/26/2009 06:57:03 AM - WEATHERMAP
08/26/2009 06:57:03 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: Map: /var/www/html/cacti/plugins/weathermap/configs/new.conf -> /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.html & /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.png
08/26/2009 06:57:03 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 742.047471176% to 100%
08/26/2009 06:57:03 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 715.561275568% to 100%
08/26/2009 06:57:03 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
08/26/2009 06:57:03 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 742.047471176% to 100%
08/26/2009 06:57:03 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 715.561275568% to 100%
08/26/2009 06:57:04 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: Wrote map to /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.png and /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.thumb.png
08/26/2009 06:57:04 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: Map: /var/www/html/cacti/plugins/weathermap/configs/simple.conf -> /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.html & /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.png
08/26/2009 06:57:04 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ReadData: LINK 192.168.131.32-192.168.131.10, target: /var/www/html/cacti/rra/lab_switch__traffic_in_14.rrd on config line 87 had no valid data, according to WeatherMapDataSource_rrd
08/26/2009 06:57:04 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.508138657984% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:57:04 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.597789338272% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:57:04 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
08/26/2009 06:57:04 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.508138657984% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:57:04 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.597789338272% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:57:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: Wrote map to /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.png and /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.thumb.png
08/26/2009 06:57:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: Weathermap 0.95b run complete - 2 maps were run in 2 seconds
08/26/2009 06:58:04 AM - WEATHERMAP
08/26/2009 06:58:04 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: Map: /var/www/html/cacti/plugins/weathermap/configs/new.conf -> /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.html & /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.png
08/26/2009 06:58:04 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 354.373565088% to 100%
08/26/2009 06:58:04 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 323.14761736% to 100%
08/26/2009 06:58:04 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
08/26/2009 06:58:04 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 354.373565088% to 100%
08/26/2009 06:58:04 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: ColourFromPercent: Clipped 192.168.131.32-192.168.131.15 323.14761736% to 100%
08/26/2009 06:58:05 AM - WEATHERMAP: Poller[0] [Map 3] new.conf: Wrote map to /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.png and /var/www/html/cacti/plugins/weathermap/output/3d153c9087508f668616.thumb.png
08/26/2009 06:58:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: Map: /var/www/html/cacti/plugins/weathermap/configs/simple.conf -> /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.html & /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.png
08/26/2009 06:58:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.305010813128% for 192.168.131.32-192.168.131.10 [WMWARN29]
08/26/2009 06:58:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.542336610144% for 192.168.131.32-192.168.131.10 [WMWARN29]
08/26/2009 06:58:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.508138657984% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:58:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.597789338272% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:58:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
08/26/2009 06:58:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.305010813128% for 192.168.131.32-192.168.131.10 [WMWARN29]
08/26/2009 06:58:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.542336610144% for 192.168.131.32-192.168.131.10 [WMWARN29]
08/26/2009 06:58:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.508138657984% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:58:05 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: ColourFromPercent: Scale DEFAULT doesn't cover 0.597789338272% for 192.168.131.32-192.168.131.9 [WMWARN29]
08/26/2009 06:58:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: Wrote map to /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.png and /var/www/html/cacti/plugins/weathermap/output/6c99426657d1f2196ebc.thumb.png
08/26/2009 06:58:06 AM - WEATHERMAP: Poller[0] [Map 2] simple.conf: Weathermap 0.95b run complete - 2 maps were run in 2 seconds
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

The setting in the Weathermap part of the Settings page is for the 'automatically cycle' mode...

For the normal weathermap page, the refresh time is governed by Cacti itself (it puts something in the HTML header). It is changed in the Settings TAB (at the top of the Graph section) - Page Refresh in seconds. However, that affects the graph pages too, of course - so you will get 1 minute refresh of those too.

I believe those settings are per-user, so you may need to change them for all users if you need that to happen.
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!)
OscarW
Posts: 23
Joined: Tue Aug 18, 2009 5:32 am
Location: India

Post by OscarW »

Hi ,

Yes Indeed it is. Sorry such a dumbhead I was took so many days see that option in the settings page.

Now the page refreshes at every one minute interval.

But , I got into one more problem too. After few minutes

the links suddenly started showing zero utilisation and went gray. and some of them started showing the utilisation again,

No idea, what is happening.

Regards,

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

Post by Howie »

OscarW wrote:Hi ,

Yes Indeed it is. Sorry such a dumbhead I was took so many days see that option in the settings page.

Now the page refreshes at every one minute interval.

But , I got into one more problem too. After few minutes

the links suddenly started showing zero utilisation and went gray. and some of them started showing the utilisation again,

No idea, what is happening.
Try adding "SET rrd_use_poller_output 1" to the top of your map config file. You'll need to give it a few cycles to get going, but it should be more reliable (and faster, as a bonus).
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!)
OscarW
Posts: 23
Joined: Tue Aug 18, 2009 5:32 am
Location: India

Post by OscarW »

Yeah, The map is working now.

I will surley try to add the "SET rrd_use_poller_output 1".

Hope I am not deviating from the subject ,

thold plugin is not getting installed, I am following the regular plugin add procedure.

Nothing is coming up.

But, Thanks a million for assisting me . I am novice with very little knowledge on rrdtool and cacti.

I will cacthup from here.

Best Regards,

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

Post by Howie »

OscarW wrote:Yeah, The map is working now.

I will surley try to add the "SET rrd_use_poller_output 1".

Hope I am not deviating from the subject ,

thold plugin is not getting installed, I am following the regular plugin add procedure.

Nothing is coming up.
You are, really, but check that you have permission to see the thold tab in the User Admin pages - some plugins don't add permissions by default, but I can't remember if thold is one of those.

Also, the latest thold is a different install procedure to weathermap - weathermap is an old-style plugin. Thold is installed using the plugin managment page.
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!)
OscarW
Posts: 23
Joined: Tue Aug 18, 2009 5:32 am
Location: India

Post by OscarW »

I installed the plugin,

pa.sql was to be imported.

Problem solved. Thread Can be CLOSED

Thanks to all, will continue cacti journey.

Best Regards,

OW
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests