Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Mar 22, 2019 11:36 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Reindex Error at 1.2.2
PostPosted: Wed Mar 06, 2019 1:10 pm 
Offline

Joined: Wed Jun 01, 2005 10:24 am
Posts: 13
I am running Cacti 1.2.2 on Ubuntu 18.04.2 LTS. I upgraded from 1.2.1 last night, and now I am getting for most of my SNMP_Informant Windows servers the following error message when I try to reindex the CPU's or the entire device:

Quote:
REINDEX ERROR: Re-Indexing failed due to a NULL sort field for Device[MACHINENAMELINK] and DQ[SNMP_Informant_Standard - CPU Statistics]. Can not continue with Re-Index.


I have never seen this error before and I have been running Cacti since version 0.8.7.

Also, I have had several devices that have caused this error:

Quote:
POLLER: Poller[Main Poller] WARNING: You have 18 Devices with bad SNMP Indexes. Devices: {LIST OF DEVICES} totalling 428 Data Sources. Please Either Re-Index, Delete or Disable these Data Sources.


Is there an easier way to resolve this rather than delete the device or all graphs and data sources of the device then re-create?

Thank you for all your help.

--MPJ


Top
 Profile  
 
 Post subject: Re: Reindex Error at 1.2.2
PostPosted: Wed Mar 06, 2019 6:13 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2285
Go to your Datasources (Console -> Management -> Datasources), change the status column to Bad Indexes and it should show all those which have an indexed that is invalid. You will then have to manually correct those. It occurred due to a bug in 1.2.0/1.2.1.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Reindex Error at 1.2.2
PostPosted: Wed Mar 06, 2019 6:41 pm 
Offline

Joined: Wed Jun 01, 2005 10:24 am
Posts: 13
Awesome! Thank you! That is better than recreating everything for each of those devices.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group