-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get a continuous tracking (part2) #7
Comments
I just checked my own stats: I'm unfortunately not experiencing this issue: First: are you using the latest script version? A Which version of Python are you using? The graphs you're mentioning uses the Could your system clock be out-of-sync from times to times? I had an issue where my Raspberry Pi time wasn't correct because of wrong NTP settings. I think that during these periods, the date_start_timestamp and date_end_timestamp aren't correctly computed. For sure (and that's too bad for us), since the plugin isn't misbehaving (at least it thinks so), there's no error log anywhere. |
I'm running on the master head of your git. |
Funny thing, graphics are also lost on freebox side... I did not realized till now because I was just checking the temperature on first page, where values are ok : Freebox server version is 3.3.3 (up to date). |
Sure! Just create a test.py file with the following content: import datetime
now = datetime.datetime.now() # math.ceil(time.time())
now = now.replace(second=0, microsecond=0)
date_end = now.replace(minute=now.minute - now.minute % 5) # Round to lowest 5 minutes
date_start = now - datetime.timedelta(minutes=5) # Remove 5 minutes from date_end
print(date_end)
print(date_start) chmod & run it (with the same Python version as the one munin uses to be sure), and check if the dates are correct |
|
About your temperatures screenshot: that's really weird indeed. Maybe repeated API calls breaks data storage on the Freebox side. Then, our script isn't able to correctly read these values (or the API returns a stable value while there is none) Could you try to disable our script for now, and check if Freebox OS's stats goes back to normal? About your script output: the dates seems to be OK
|
all freebox plugins have been removed, and munin-node restarted. |
Alright, I'm fixing the dates issue - which isn't really one as long as the script is run when the minutes component of the current time is a multiple of 5 |
How many plugins are enabled on your munin server ? |
…he current time is not a multiple of 5 Issue discovered in issue #7
44 plugins, Freebox Revolution, last firmware (tip: I'm using Material-Freebox-OS to spare my eyes when browsing Freebox OS) |
Freebox Server (r2) ? Till now the graphics are still dead on the freebox. I'll reboot it later. About the rrd queries. Is it possible that Munin makes to many concurrent queries to rrd API ? Would it be possible to process them sequentially rather that in parallel ? |
So the stats on the Freebox are still crashed. We may predict that everything will be OK after a reboot. I never heard about too many concurrent queries being a problem with the rrd API, even with Freebox Stats... We don't have access to any Freebox OS log either, so our only solution seems to be opening on issue on Freebox OS's bug tracker. |
It appears that a bug is still present in freebox statistics tracking.
This time I don't have any clue on the issue (no exception nor error messages).
Here is the bug behavior : after a certain period of time (from 4 days up to 1 week), some statistics are stuck. Munin alway gets the same value while if I connect to the Freebox server, the value are different.
It appears that restarting the freebox does fix the problem, but it is not really linked to the box itself (has the reported value on internal webserver are updated).
Here are some graph where you can see some area where value are stuck :
Values are updated when box has been restarted.
This issue only concerns temperature, xdsl, traffix and switch.
Manully running plugins gives results, but not the correct one.
The text was updated successfully, but these errors were encountered: