Graph Titles

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

wchan
Posts: 11
Joined: Tue Jul 01, 2008 5:19 pm

Post by wchan »

gandalf wrote: You may use "Index Count Changed" or "Verify all Fields" instead.

Reinhard
What is the difference from "Index Count Changed" vs "Verify all Fields"?

http://docs.cacti.net/node/531
Re-Index Method Description

Uptime Goes Backwards Refers to a system reboot. Cacti will detect if the target has been rebootet by querying sysUptime (.1.3.6.1.2.1.1.3.0). If the current value for the uptime is lower than the previous one (uptime goes backwards), a reboot is assumed and a re-index is performed

Index Count Changed Refers to a change of the number of indexed items, e.g. interfaces, without checking sysUptime. It is of particular interest in cases, where indexed entries may change without the need of a reboot. As modern operating systems seldom require reboots for system configuration changes, you may want to consider this setting for many cases (e.g. creating of a new filesystem without a reboot). The index to be considered is defined by the according XML file.

Verify All Fields All index fields of the according XML file are checked for changes. This is of particular interest e.g. in cases, where the index is non-numeric (e.g. a MAC address)

Just found that info from the docs but im still a bit unsure which option I need. As, im looking to get updated interface descriptions on my switches automatically. For my setup I normally just graph all ports on a switch and we put in descriptions for the interfaces as we enable the port. Should I be using "Verify All Fields"?


-Wilson
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Use those options in the sequence mentioned above. First "uptime goes backwards", then, if changes only occur if a port was added or dropped, use "index count changed". LAst resort is "verify all fields" (or manual re-indexing)
Reinhard
wchan
Posts: 11
Joined: Tue Jul 01, 2008 5:19 pm

Post by wchan »

gandalf wrote: LAst resort is "verify all fields" (or manual re-indexing)
Reinhard

I've searched the forum and google and people say not to use "verify all fields" at all cost. If that is the case is there a cron job that I can schedule to update all the interface descriptions every night or once a week? Thanks!


-Wilson
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

cli/poller_reindex_hosts.php will do the job
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests