Is there a way to have the cacti re-index the system nightly. I have a number of devices that have new interfaces added reguarly but there is not an oid that lists the number of interfaces. So what I need is a way to run through all my devices everynight and have them re-indexed. And preferably a way to log changes. If anyone knows if this is possible or any ideas please let me know.
Thanks
--
Alex
Performing Re-Indexing nightly
Moderators: Developers, Moderators
In the Cacti SVN, get the file poller_reindex_hosts.php. This will do what you want.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
http://svn.cacti.net/cgi-bin/viewcvs.cg ... _hosts.php
depending on your installation this may or may not work... I don't run the php snmp, instead I have a standalone snmp installation, and this script fails to detect that (lots of
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
type errors.)
depending on your installation this may or may not work... I don't run the php snmp, instead I have a standalone snmp installation, and this script fails to detect that (lots of
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
type errors.)
You can ignore MIB errors. Cacti does not use them.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 2 guests