Thank you for sharing this detailed explanation — it’s very useful. I’ll
start checking this on my side.
At the same time, I just want to confirm one point: if I increase the agent
interval from 5 minutes to 15 minutes, this would also affect the
application of templates/ping/config_applied, correct? Means
templates/ping/config_applied would only be applied after 15 minutes
instead of 5 minutes.
if I change the run_checks schedule in Celery like this:
'run_checks': {
'task': 'openwisp_monitoring.check.tasks.run_checks',
'schedule': timedelta(minutes=5), -> Here If I change 5min to 15mins.
},
Please confirm if my understanding is correct.
Regards,
logu
On Mon, Sep 29, 2025 at 10:43 PM Federico Capoano <[email protected]>
wrote:
> Charts use fixed intervals based on the selected time range (for 1-day
> it’s 10 minutes).
>
> Changing the agent interval doesn’t change this, so with a 15-minute
> interval for data collection, you may end up with a chart with missing
> bars, the only way to find out is to try.
> If that happens and you don't want to have missing bars, you could either
> lower the interval to 10 minutes, or monkeypatch the code to change this
> line:
>
>
> https://github.com/openwisp/openwisp-monitoring/blob/a01667ba0172dd9c96d95769faa3f95b782ec869/openwisp_monitoring/monitoring/base/models.py#L528
>
> I recently shared on Github Discussions a solution to monkey-patch the
> DeviceAdmin class to modify the columns listed in the device list:
>
> https://github.com/openwisp/ansible-openwisp2/discussions/547#discussioncomment-14489173
>
> You can adapt that solution and change the ready() method to do something
> like:
>
> AbstractChart.GROUP_MAP["1d"] = "15m"
>
> You may want to ask yourself if it makes sense to have a monitoring system
> that gets updates every 15 minutes, which in many deployments could be
> considered a long time.
> However, it may work for you, so if you think that's the case, you can
> adapt the system.
>
> I think we cannot ship a default setup that suits everyone, but we should
> definitely make it possible to change the existing behavior whenever
> possible.
>
> I hope this helps.
>
> Best regards
> Federico Capoano
>
>
> On Mon, 29 Sept 2025 at 02:24, Logunath K <[email protected]> wrote:
>
>> Dear Team,
>>
>> I wanted to inform you about the behavior of charts
>> when modifying the data collection interval in OpenWISP2.
>>
>> Currently, the interval is set to *300 seconds (5 minutes)*, which means
>> the agent sends data to the server every 5 minutes. If we change this value
>> to *900 seconds (15 minutes) or *any other value.
>>
>> “What will be the behavior of the charts if I select a 1-day view, since
>> the chart data will be displayed at 10-minute intervals?”
>>
>> Thanks in advance
>>
>> Regards,
>>
>> logu
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "OpenWISP" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion, visit
>> https://groups.google.com/d/msgid/openwisp/CAJy2ivrN3OuBy2_11VgNmEV_Up9cGL9ftefEXbh7aGcm%2BoiStg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/openwisp/CAJy2ivrN3OuBy2_11VgNmEV_Up9cGL9ftefEXbh7aGcm%2BoiStg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion, visit
> https://groups.google.com/d/msgid/openwisp/CAAGgX6%2B6kHpbS_gEPcZ%3DEh4nO71K%2BVKm088wVTHM%3DeaujtCiVQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/openwisp/CAAGgX6%2B6kHpbS_gEPcZ%3DEh4nO71K%2BVKm088wVTHM%3DeaujtCiVQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion, visit
https://groups.google.com/d/msgid/openwisp/CAJy2ivoRb2ANFryNEABhr2qdvyxPH1XPUr3LxDSwmj%2Bc%3DurQdw%40mail.gmail.com.