Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
and discovered that the time stamps of the different RRA sections were now in the future. Performing the same dump on a non-affected file looked fine. I don't know what is doing it. I have my log set to High and it is showing no errors or warnings.
By padding I mean several rows are added to each section. It appears to be about about 6 hours worth of NaN values.
My thought is that it may have something to do with something using GMT/UTC time as I am CST which is -6 hours adjustment.
Thanks,
Etienne66
Cacti Version - 0.8.7 Plugin Architecture - 1.3 Poller Type - Spine v0.8.7a Server Info - Windows NT 5.1 Web Server - Microsoft-IIS/5.1 PHP - 5.2.4 PHP Extensions - bcmath, calendar, com_dotnet, ctype, session, filter, ftp, hash, iconv, json, odbc, pcre, Reflection, date, libxml, standard, tokenizer, zlib, SimpleXML, dom, SPL, wddx, xml, xmlreader, xmlwriter, ISAPI, gd, mysql, sockets MySQL - 5.0.27-community-nt RRDTool - 1.2.15 SNMP - 5.4.1 Plugins
Global Plugin Settings (settings - v0.3)
Thresholds (thold - v0.3.
Host Info (hostinfo - v0.2)
Last edited by etienne66 on Thu Jan 24, 2008 11:11 pm, edited 2 times in total.
It was stable for the last 3 days. I logged in this morning and it did it after 2 polling cycles. It almost always affects the same files. I thought previously it might have been because I was adding devices, but I made no changes this morning when it happened @ 10:10 and 10:50 am. When I dumped one of the affected files it had again jumped ahead 6 hours and the new entries didn't even have any data in them. I left it alone last Thursday and it began logging data again after the future times had elapsed. And yet there still were no errors or pertinant warnings in the log files. The one warning I get is about an asset that hasn't been affected by this that does not return a good snmp response for one SNMP OID.
I set the logging to debug and ran one polling cycle like you requested. I have not tried to review it yet. I set my log level back to high.
Thanks,
Etienne66
Last edited by etienne66 on Wed Nov 14, 2007 2:36 pm, edited 1 time in total.
around line 71 in poller.php so that it ignores all of the testing for cron_interval. Fortunately I only need a 5 minute polling interval anyway.
I'll try this for a while and see what happens.
I managed to dump one of the rrds and move the NaNs from the bottom of the list to the top after I reset the last update field so that it matched the last true values. I then restored it and it seems to be working. I don't fell like doing that for all of them though. I wish there was an easier way to roll back an rrd file.
It did it again about an hour after I updated the Poller.php file. It did not seem to do any good. I'm getting tempted to leave the logging in debug mode so I can see what the rrdupdate syntax looks like when it gets messed up.
Doubling the memory_limit to 128M seemed to help, but it occured again last night. I have doubled it again to 256M
I figured out your /var/log/messages was equivalent to the Windows event log. I enabled all of the logging options in the "Event Logging" section but there were no errors around the time the problem occured last night.
I have turned on Debug logging in the "Poller Specific Logging" section which I will purge occasionally until the problem occurs again. I had turned it off last night prior to the last occurence because I though it was fixed.
To be honest I'm kinda hoping the Cacti 0.8.7a will fix this problem. I never had such a problem with 0.8.6j or prior versions.
I've been trying for about two weeks in debug mode to capture the rrdtool update command when the time is shifted by 6 hours and it will not cause the problem. Within a few hours of disabling debug mode it does it again.
Why would setting the logging to debug mode resolve the issue?
This really isn't a viable solution as the debug builds up the log file by about 50 megabytes per day. Perhaps if there was some logfile rotation options I could do this.
This problem was resolved when I either used cmd.php instead of Spine or when I upgraded cygwin1.dll to the latest version 1.5.25-7. According to the last two updates they made some changes to the timezone functions. This is probably related to all of those patches Microsoft has been doing to timezone as well.