I have a few charts monitoring devices, I have the poller set to 5 minutes, but sometimes every 5 minutes no data is collected.
The cacti crontab is also configured to run every 5 minutes.
In the "Grap Utility View" of the graph I have shown the following appears:
I don't really understand it, I have this configuration done in the poller.
The graphs stop every X amount of time
Moderators: Developers, Moderators
Re: The graphs stop every X amount of time
Logs - > filter SYSTEM STATS. You will see lines like this:
2021-06-17 13:11:33 - SYSTEM STATS: Time:93.1284 Method:spine Processes:3 Threads:15 Hosts:344 HostsPerProcess:115 DataSources:16365 RRDsProcessed:7261
Column "Time" says how log poller runs. Have you here time about 300 seconds? If Time is about 300 seconds, it seems that the poller does not have time to process all devices
2021-06-17 13:11:33 - SYSTEM STATS: Time:93.1284 Method:spine Processes:3 Threads:15 Hosts:344 HostsPerProcess:115 DataSources:16365 RRDsProcessed:7261
Column "Time" says how log poller runs. Have you here time about 300 seconds? If Time is about 300 seconds, it seems that the poller does not have time to process all devices
Let the Cacti grow!
-
- Posts: 15
- Joined: Thu Apr 15, 2021 7:45 am
Re: The graphs stop every X amount of time
This is what the logs show:macan wrote: ↑Thu Jun 17, 2021 6:20 am Logs - > filter SYSTEM STATS. You will see lines like this:
2021-06-17 13:11:33 - SYSTEM STATS: Time:93.1284 Method:spine Processes:3 Threads:15 Hosts:344 HostsPerProcess:115 DataSources:16365 RRDsProcessed:7261
Column "Time" says how log poller runs. Have you here time about 300 seconds? If Time is about 300 seconds, it seems that the poller does not have time to process all devices
Code: Select all
2021-06-17 14:30:04 - SYSTEM DSSTATS STATS: Type:HOURLY, Time:0.1051 RRDUser:0.0000 RRDSystem:0.0000 RRDReal:0.0000
2021-06-17 14:30:04 - SYSTEM DSSTATS STATS: Type:HOURLY, Time:0.0238 RRDUser:0.0000 RRDSystem:0.0000 RRDReal:0.0000
2021-06-17 14:30:03 - SYSTEM STATS: Time:1.3050 Method:cmd.php Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:78 RRDsProcessed:0
2021-06-17 14:30:03 - SYSTEM STATS: Time:1.2990 Method:cmd.php Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:78 RRDsProcessed:9
2021-06-17 14:25:03 - SYSTEM DSSTATS STATS: Type:HOURLY, Time:0.0398 RRDUser:0.0000 RRDSystem:0.0000 RRDReal:0.0000
2021-06-17 14:25:03 - SYSTEM DSSTATS STATS: Type:HOURLY, Time:0.0317 RRDUser:0.0000 RRDSystem:0.0000 RRDReal:0.0000
2021-06-17 14:25:03 - SYSTEM STATS: Time:1.3154 Method:cmd.php Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:78 RRDsProcessed:48
2021-06-17 14:25:03 - SYSTEM STATS: Time:1.3097 Method:cmd.php Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:78 RRDsProcessed:48
Re: The graphs stop every X amount of time
Looks like you have 2 cron jobs running. Maybe under different users
2021-06-17 14:25:03 - SYSTEM STATS: Time:1.3154 Method:cmd.php Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:78 RRDsProcessed:48
2021-06-17 14:25:03 - SYSTEM STATS: Time:1.3097 Method:cmd.php Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:78 RRDsProcessed:48
2021-06-17 14:25:03 - SYSTEM STATS: Time:1.3154 Method:cmd.php Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:78 RRDsProcessed:48
2021-06-17 14:25:03 - SYSTEM STATS: Time:1.3097 Method:cmd.php Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:78 RRDsProcessed:48
-
- Posts: 15
- Joined: Thu Apr 15, 2021 7:45 am
Re: The graphs stop every X amount of time
I have checked the directory "/etc/cron.d" and 2 files related to cacti, one of them is called "cacti" and another one "cacti.bk", this second one I created because I was testing with the original one.cigamit wrote: ↑Thu Jun 17, 2021 8:56 am Looks like you have 2 cron jobs running. Maybe under different users
2021-06-17 14:25:03 - SYSTEM STATS: Time:1.3154 Method:cmd.php Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:78 RRDsProcessed:48
2021-06-17 14:25:03 - SYSTEM STATS: Time:1.3097 Method:cmd.php Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:78 RRDsProcessed:48
The "cacti.bk" file is also executed even if it has a different name than the original one?
Code: Select all
-rw-r--r--. 1 root root 128 nov 12 2019 0hourly
-rw-r--r-- 1 root root 77 jun 16 17:21 cacti
-rw-r--r-- 1 root root 77 jun 16 09:19 cacti.bk
-rw-r--r--. 1 root root 108 abr 7 11:06 raid-check
Code: Select all
max_execution_time = 300
What does this variable mean?
Why changing this variable works fine?
Should I change something else?
Re: The graphs stop every X amount of time
I seems that yes. Remove .bk file or comment all lines in file.The "cacti.bk" file is also executed even if it has a different name than the original one?
Let the Cacti grow!
Who is online
Users browsing this forum: No registered users and 0 guests