RRAs are not updated after host recovers
Moderators: Developers, Moderators
- NitrousOxyde
- Posts: 20
- Joined: Mon Sep 21, 2015 9:17 am
- Location: Baku, Azerbaijan
- Contact:
RRAs are not updated after host recovers
Comrades,
After some host becomes down and recovers after some time automatically, its graphs are no longer being updated. I can, that relevant RRAs are not being updated at all as if spine does not "see" them and they dont exist on server
I've upgraded cacti and spine to the latest version(1.1.16), and without success - old graphs of hosts, which did not become down, are updating; graphs of hosts, which went down and recovered - not
Interestingly, when I navigate to devices, problematic devices are shown as "UP", but their uptime is "0d:0h:0m"
RRA ownership is checked and is cacti:cacti, all RRAs have permission 777
Any ideas why spine does not update relevant RRAs are welcome
After some host becomes down and recovers after some time automatically, its graphs are no longer being updated. I can, that relevant RRAs are not being updated at all as if spine does not "see" them and they dont exist on server
I've upgraded cacti and spine to the latest version(1.1.16), and without success - old graphs of hosts, which did not become down, are updating; graphs of hosts, which went down and recovered - not
Interestingly, when I navigate to devices, problematic devices are shown as "UP", but their uptime is "0d:0h:0m"
RRA ownership is checked and is cacti:cacti, all RRAs have permission 777
Any ideas why spine does not update relevant RRAs are welcome
CCIE R&S
JNCIS SP
JNCIS ENT
JNCIS SP
JNCIS ENT
Re: RRAs are not updated after host recovers
Data collection done or permissions.
Before history, there was a paradise, now dust.
- NitrousOxyde
- Posts: 20
- Joined: Mon Sep 21, 2015 9:17 am
- Location: Baku, Azerbaijan
- Contact:
Re: RRAs are not updated after host recovers
Nope, doesn't seem to be permission or owner issue. As I stated before, its mod is 777(was originally 644, changed for being sure), and ownership is cacti:apache
There is virtually no difference between RRDs, that are being updated and ones, that are not
There is virtually no difference between RRDs, that are being updated and ones, that are not
CCIE R&S
JNCIS SP
JNCIS ENT
JNCIS SP
JNCIS ENT
Re: RRAs are not updated after host recovers
Did you check the Cacti log and see if those devices are properly returning Data to Cacti (maybe run one of the hosts in debug mode)?
If all else fails, you can try my debug plugin and try to see exactly where the process is breaking down.
https://github.com/cigamit/plugin_debug
If all else fails, you can try my debug plugin and try to see exactly where the process is breaking down.
https://github.com/cigamit/plugin_debug
- NitrousOxyde
- Posts: 20
- Joined: Mon Sep 21, 2015 9:17 am
- Location: Baku, Azerbaijan
- Contact:
Re: RRAs are not updated after host recovers
I've tried to install plugin, but cacti does not see it in the list of plugins. All files are transferred to debug folder in plugins folder
ls -l /usr/share/cacti/plugins/debug/
total 56
-rw-r--r--. 1 root root 12966 Aug 19 11:36 debug.php
-rw-r--r--. 1 root root 574 Aug 19 11:36 debug.sql
-rw-r--r--. 1 root root 226 Aug 19 11:37 INFO
-rw-r--r--. 1 root root 18046 Aug 19 11:37 LICENSE
-rw-r--r--. 1 root root 1089 Aug 19 11:37 README.md
-rw-r--r--. 1 root root 7120 Aug 19 11:37 setup.php
ls -l /usr/share/cacti/plugins/debug/
total 56
-rw-r--r--. 1 root root 12966 Aug 19 11:36 debug.php
-rw-r--r--. 1 root root 574 Aug 19 11:36 debug.sql
-rw-r--r--. 1 root root 226 Aug 19 11:37 INFO
-rw-r--r--. 1 root root 18046 Aug 19 11:37 LICENSE
-rw-r--r--. 1 root root 1089 Aug 19 11:37 README.md
-rw-r--r--. 1 root root 7120 Aug 19 11:37 setup.php
CCIE R&S
JNCIS SP
JNCIS ENT
JNCIS SP
JNCIS ENT
- NitrousOxyde
- Posts: 20
- Joined: Mon Sep 21, 2015 9:17 am
- Location: Baku, Azerbaijan
- Contact:
Re: RRAs are not updated after host recovers
Issue still continues - RRAs of some devices are being updated while others stop updating, then they change roles
CCIE R&S
JNCIS SP
JNCIS ENT
JNCIS SP
JNCIS ENT
- NitrousOxyde
- Posts: 20
- Joined: Mon Sep 21, 2015 9:17 am
- Location: Baku, Azerbaijan
- Contact:
Re: RRAs are not updated after host recovers
Hi comrades,
After increasing number of maximum poller processes to really high valuse (800 in my case) solved the problem - now all graphs are updated in time
"SYSTEM STATS: Time:20.8783 Method:spine Processes:800 Threads:1 Hosts:181 HostsPerProcess:1 DataSources:11343 RRDsProcessed:6187 "
Spine is used as poller, settings screenshot is attached
After increasing number of maximum poller processes to really high valuse (800 in my case) solved the problem - now all graphs are updated in time
"SYSTEM STATS: Time:20.8783 Method:spine Processes:800 Threads:1 Hosts:181 HostsPerProcess:1 DataSources:11343 RRDsProcessed:6187 "
Spine is used as poller, settings screenshot is attached
- Attachments
-
- Cacti_settings.jpg (178.14 KiB) Viewed 1194 times
CCIE R&S
JNCIS SP
JNCIS ENT
JNCIS SP
JNCIS ENT
Re: RRAs are not updated after host recovers
Wow, ya changing it to something that high is something I would not suggest at all.
If using spine, your processes should be set to the same as the number of CPU Cores. The threads can then be changed to ~12 or higher as needed.
If using spine, your processes should be set to the same as the number of CPU Cores. The threads can then be changed to ~12 or higher as needed.
-
- Posts: 42
- Joined: Tue Jan 03, 2017 6:32 am
Re: RRAs are not updated after host recovers
What kind of interface/oid could you graphs? It seems like that oid (exactly index) is dynamic, for example pppoe on Mikrotik. Try re-index method set to "Verify all".
- NitrousOxyde
- Posts: 20
- Joined: Mon Sep 21, 2015 9:17 am
- Location: Baku, Azerbaijan
- Contact:
Re: RRAs are not updated after host recovers
I am graphing interface statistics (input/output values in bps), as well as CPU and memory usage of equipment. Network is quite large, with a lot of routers/switchesGrandalf00 wrote:What kind of interface/oid could you graphs? It seems like that oid (exactly index) is dynamic, for example pppoe on Mikrotik. Try re-index method set to "Verify all".
Well, this is the only possibility to be able to poll all hosts and update all RRAs. Increasing number of processes for spine affects negatively cacti's performance. BTW, spine is used for polling, not cmd.phpcigamit wrote:Wow, ya changing it to something that high is something I would not suggest at all.
If using spine, your processes should be set to the same as the number of CPU Cores. The threads can then be changed to ~12 or higher as needed.
CCIE R&S
JNCIS SP
JNCIS ENT
JNCIS SP
JNCIS ENT
Who is online
Users browsing this forum: No registered users and 3 guests