Cacti not updaing interfaces
Moderators: Developers, Moderators
Cacti not updaing interfaces
We are using a different interface on our Gateway 7206, any other time in the past I have been able to disable a device and re-enable the device and it would update the interfaces (in other words do a snmp walk). Anyways, are there any other ways to get Cacti to update interfaces? Thanks.
1) Change the reindex method
2) manually reindex it (click the green circle next to the associated data query).
3) run \cacti\cli\poller_reindex_hosts.php
2) manually reindex it (click the green circle next to the associated data query).
3) run \cacti\cli\poller_reindex_hosts.php
| 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 |
Thanks for the help, I was able to do the first two steps, but when I do the last step I get this.
/var/www/html/cacti/cli/poller_reindex_hosts.php: line 1: ?php: No such file or directory
/var/www/html/cacti/cli/poller_reindex_hosts.php: line 2: /backup: is a directory
/var/www/html/cacti/cli/poller_reindex_hosts.php: line 3: +-------------------------------------------------------------------------+: command not found
/var/www/html/cacti/cli/poller_reindex_hosts.php: line 4: syntax error near unexpected token `|'
/var/www/html/cacti/cli/poller_reindex_hosts.php: line 4:
I have tried to google for the answer, but have been unable to find a solution.
/var/www/html/cacti/cli/poller_reindex_hosts.php: line 1: ?php: No such file or directory
/var/www/html/cacti/cli/poller_reindex_hosts.php: line 2: /backup: is a directory
/var/www/html/cacti/cli/poller_reindex_hosts.php: line 3: +-------------------------------------------------------------------------+: command not found
/var/www/html/cacti/cli/poller_reindex_hosts.php: line 4: syntax error near unexpected token `|'
/var/www/html/cacti/cli/poller_reindex_hosts.php: line 4:
I have tried to google for the answer, but have been unable to find a solution.
Those were all your options to solve the issue, not steps 

| 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 |
- TheWitness
- Developer
- Posts: 17080
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Your script has a hosed up PHP tag. If you open the script and search for the following:
You need to replace it by:
Someone edited a file and accidentally saved it with, at least one character removed 
TheWitness
Code: Select all
?php
Code: Select all
<?php

TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 5 guests