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.
I am looking to cron the poller_reindex_hosts.php in order to keep our interface names updated on all the graphs. Our setup when building out a device in Cacti is to configure it for every port/interface to be graphed, whether up/down/used/unused. We are turning up/down interfaces pretty regularly and I know the best way to deal with this is to cron the reindex
Although I read that it wasn't a good idea to run the reindex if there was current polling going on. We are polling with spine on 1min intervals so I am looking on for some suggestions on how to best set this up without causing issues.
Reindexing every other day would be sufficient, but I was thinking nightly at fist.
Do the interface names change while the interface number remains constant?
In this case, you may define a different automatic reindex trigger to get things solved
R.
gandalf wrote:Do the interface names change while the interface number remains constant?
In this case, you may define a different automatic reindex trigger to get things solved
R.
Correct, it is mostly interface name/descriptions updating from "DISABLED" or the link to a system hostname or circuit identifier.
Bad luck. Renaming an active interface is not catched by our reindex methods, currently. We will improve this a bit, but your case is not catched by that move. The reason for this is, that a whole SNMP table scan is expensive related to only fetching a few data for those interfaces, that are graphed. So we try to avoid a full scan.
This is done only on a reindex trigger (e.g. when a host returns from a reboot, a new index is discovered or the like).
Currently, running the reindex script from the cli directory is the only method I'm aware of to be run in batch mode. Use "--help" to leran the options available.
R.
gandalf wrote:Bad luck. Renaming an active interface is not catched by our reindex methods, currently. We will improve this a bit, but your case is not catched by that move. The reason for this is, that a whole SNMP table scan is expensive related to only fetching a few data for those interfaces, that are graphed. So we try to avoid a full scan.
This is done only on a reindex trigger (e.g. when a host returns from a reboot, a new index is discovered or the like).
Currently, running the reindex script from the cli directory is the only method I'm aware of to be run in batch mode. Use "--help" to leran the options available.
R.
That was my understanding as well, but the question I had was is there truly a problem with running the reindex script when there is a potential poller running as well?
routenull0 wrote:That was my understanding as well, but the question I had was is there truly a problem with running the reindex script when there is a potential poller running as well?
I'm sorry. Latest Cacti release is able to do this in parallel. It will increase the server load, of course.
R.
routenull0 wrote:That was my understanding as well, but the question I had was is there truly a problem with running the reindex script when there is a potential poller running as well?
I'm sorry. Latest Cacti release is able to do this in parallel. It will increase the server load, of course.
R.
Sorry for the question Reinhard, but what do you mean by
"threaded (next move?)"
I have too thousands of equipments description to update and your discution interested me
David
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7