Timezone issue (Venezuela)

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
toto64
Posts: 2
Joined: Wed May 18, 2016 3:42 am

Timezone issue (Venezuela)

Post by toto64 »

Dear all,

I've problem with my cacti since Venezuela timezone was changes. (GMT -4h30 to GMT-4h).

Percentages between network equipment on my weathermap are at 0%.

I've lots of waring into the cacti weathermap logs :

Code: Select all

05/18/2016 04:50:23 AM - WEATHERMAP: Poller[0] WARNING: [Map 5] Caracas: ReadData: LINK XXXXXXXX, target: C:/Apache2/htdocs/cacti/rra/4/870.rrd on config line 211 of C:\Apache2\htdocs\cacti\plugins\weathermap\configs\Caracas had no valid data, according to WeatherMapDataSource_rrd
05/18/2016 04:50:23 AM - WEATHERMAP: Poller[0] WARNING: [Map 5] Caracas: ReadData: LINK XXXXXXXX, target: C:/Apache2/htdocs/cacti/rra/4/870.rrd on config line 204 of C:\Apache2\htdocs\cacti\plugins\weathermap\configs\Caracas had no valid data, according to WeatherMapDataSource_rrd
05/18/2016 04:50:23 AM - WEATHERMAP: Poller[0] WARNING: [Map 5] Caracas: ReadData: LINK XXXXXXXX, target: C:/Apache2/htdocs/cacti/rra/13/733.rrd on config line 197 of C:\Apache2\htdocs\cacti\plugins\weathermap\configs\Caracas had no valid data, according to WeatherMapDataSource_rrd
05/18/2016 04:50:23 AM - WEATHERMAP: Poller[0] WARNING: [Map 5] Caracas: ReadData: LINK XXXXXXXX, target: C:/Apache2/htdocs/cacti/rra/13/830.rrd on config line 190 of C:\Apache2\htdocs\cacti\plugins\weathermap\configs\Caracas had no valid data, according to WeatherMapDataSource_rrd
05/18/2016 04:50:23 AM - WEATHERMAP: Poller[0] WARNING: [Map 5] Caracas: ReadData: LINK XXXXXXXX, target: C:/Apache2/htdocs/cacti/rra/13/829.rrd on config line 183 of C:\Apache2\htdocs\cacti\plugins\weathermap\configs\Caracas had no valid data, according to WeatherMapDataSource_rrd
05/18/2016 04:50:23 AM - WEATHERMAP: Poller[0] WARNING: [Map 5] Caracas: ReadData: LINK XXXXXXXX, target: C:/Apache2/htdocs/cacti/rra/5/876.rrd on config line 176 of C:\Apache2\htdocs\cacti\plugins\weathermap\configs\Caracas had no valid data, according to WeatherMapDataSource_rrd
05/18/2016 04:50:23 AM - WEATHERMAP: Poller[0] WARNING: [Map 5] Caracas: ReadData: LINK XXXXXXXX, target: C:/Apache2/htdocs/cacti/rra/12/479.rrd on config line 169 of C:\Apache2\htdocs\cacti\plugins\weathermap\configs\Caracas had no valid data, according to WeatherMapDataSource_rrd
05/18/2016 04:50:22 AM - WEATHERMAP: Poller[0] WARNING: [Map 5] Caracas: ReadData: LINK XXXXXXXX, target: C:/Apache2/htdocs/cacti/rra/12/478.rrd on config line 162 of C:\Apache2\htdocs\cacti\plugins\weathermap\configs\Caracas had no valid data, according to WeatherMapDataSource_rrd
05/18/2016 04:50:22 AM - WEATHERMAP: Poller[0] WARNING: [Map 5] Caracas: ReadData: LINK XXXXXXXX, target: C:/Apache2/htdocs/cacti/rra/12/389.rrd on config line 156 of C:\Apache2\htdocs\cacti\plugins\weathermap\configs\Caracas had no valid data, according to WeatherMapDataSource_rrd
05/18/2016 04:50:22 AM - WEATHERMAP: Poller[0] WARNING: [Map 5] Caracas: ReadData: LINK XXXXXXXX, target: C:/Apache2/htdocs/cacti/rra/12/284.rrd on config line 150 of C:\Apache2\htdocs\cacti\plugins\weathermap\configs\Caracas had no valid data, according to WeatherMapDataSource_rrd
05/18/2016 04:50:22 AM - WEATHERMAP: Poller[0] WARNING: [Map 5] Caracas: ReadData: LINK XXXXXXXX, target: C:/Apache2/htdocs/cacti/rra/12/459.rrd on config line 142 of C:\Apache2\htdocs\cacti\plugins\weathermap\configs\Caracas had no valid data, according to WeatherMapDataSource_rrd  
(I replace the network equipment name by XXXXXXX.)
I change the timezone in the php.ini file because if I let one of venezuela I'm -4h30 and not -4h.
I was replace date.timezone="America/Caracas" (GMT -4h30) to date.timezone="America/Virgin" (GMT -4) but the problem is always present.

My php.ini

Code: Select all

[Date]
;date.timezone="America/Caracas"
date.timezone="America/Virgin"
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
;date.timezone =

; http://php.net/date.default-latitude
;date.default_latitude = 31.7667

; http://php.net/date.default-longitude
;date.default_longitude = 35.2333

; http://php.net/date.sunrise-zenith
;date.sunrise_zenith = 90.583333

; http://php.net/date.sunset-zenith
;date.sunset_zenith = 90.583333
My php version is : 5.3.17
Cacti version is : 0.8.8a

I was change the timezone in network equipment and on the Windows server that hosts Cacti.

Thanks in advance for your help.
Attachments
Capture.JPG
Capture.JPG (62.89 KiB) Viewed 1896 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Timezone issue (Venezuela)

Post by Howie »

What do your graphs look like? Are they up to date?
Which version of weathermap?
Are you using poller_output in weathermap?

You seem to have jumped straight to a weathermap issue. All weathermap does is ask rrdtool for the last 800 seconds of data ('now-800). No timezone involved.

It's also worth turning on DEBUG logging for one poller cycle, to see more detail about what is happening. Weathermap will log the data it gets from rrdtool.
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!)
toto64
Posts: 2
Joined: Wed May 18, 2016 3:42 am

Re: Timezone issue (Venezuela)

Post by toto64 »

Hello and thanks for your reply.

Yes the network drawing is up to date, the problem appeared to the time change.

We used weathermap version 0.97a

I'm very sorry but my knowledge in Cacti tool are very limited, how i can check if i used the poller_output in weathermap ?

You can find the Cacti log in attachment.
Attachments
cacti.txt
(2.88 MiB) Downloaded 141 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Timezone issue (Venezuela)

Post by Howie »

That's not a complete log, but it looks like you are using poller_output - there would be a line like this near the top of the map file:

Code: Select all

SET rrd_use_poller_output 1
in the map file.

It would be worth trying without that, and see if it helps. Then weathermap is just asking rrdtool for data.

Also grep your complete log for lines with "ReadData" and you can see what data weathermap is getting.
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 1 guest