Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Mar 22, 2019 12:02 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: New DataSource ignored by poller
PostPosted: Fri Mar 01, 2019 8:14 am 
Offline

Joined: Fri Feb 22, 2019 5:18 am
Posts: 12
Hello,

I added a new data source for an existing device. I don't have issues with previously created datasource but with this one I have issue.

I try to troubleshoot this data source from the menu "Troubleshooting"->"Data source" but none of my data sources are showing up...
The dataquery don't appear in the data query cache items list.

In the cacti logs, Poller is still giving outputs about a dataquery I deleted (id=8).
2019/03/01 14:10:05 - POLLER: Poller[Main Poller] Device[audiocode VM] DQ[8] RECACHE OID COUNT: SNMPv2-SMI::enterprises.5003.10.8.2.54.47, output: 24

This dataquery stuck in poller might disturb the new data query I added because it uses the same SNMP OID.

I already run all the tools in cli for repairing/reindexing, reapplying names, rebuilding poller.

In the device page, the dataquery has no issues running. It says Success [3 Items, 3 Rows].

I am stuck, any idea ?


Top
 Profile  
 
 Post subject: Re: New DataSource ignored by poller
PostPosted: Fri Mar 01, 2019 8:16 am 
Offline

Joined: Fri Feb 22, 2019 5:18 am
Posts: 12
One more input, I have reindexing error when updating the data query:
2019/03/01 14:13:21 - REINDEX ERROR: Re-Indexing failed due to a NULL sort field for Device[audiocode VM] and DQ[Data Query - Session audicode]. Can not continue with Re-Index.

I have the same error with another data query on the same host but I don't have issue with that other data query.

When trying to graph the data source I have error :


Attachments:
File comment: Graph
failed_graph.PNG
failed_graph.PNG [ 44.37 KiB | Viewed 76 times ]
Top
 Profile  
 
 Post subject: Re: New DataSource ignored by poller
PostPosted: Mon Mar 04, 2019 11:21 am 
Offline

Joined: Fri Feb 22, 2019 5:18 am
Posts: 12
Update:
I enabled the debugging on my datasource and ran the rrd command in the cli. It generated a rrd file so now a graph is showing up, with no data in it.
In the logs the poller still ignore the datasource...
In the mysql database, in the poller_item tables, the datasource is missing.
I installed spine but I got the same issue.

I am stuck. Anyone ?


Attachments:
File comment: Empty graph
empty_graph.PNG
empty_graph.PNG [ 34.56 KiB | Viewed 68 times ]
Top
 Profile  
 
 Post subject: Re: New DataSource ignored by poller
PostPosted: Mon Mar 04, 2019 2:47 pm 
Online
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2286
The device isn't disabled is it?

_________________
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: New DataSource ignored by poller
PostPosted: Tue Mar 05, 2019 5:18 am 
Offline

Joined: Fri Feb 22, 2019 5:18 am
Posts: 12
The device isn't disabled. I am able to run the data queries from the device page.

I followed this walkthrough :
https://docs.cacti.net/manual:087:3a_ad ... alkthrough

Finally I gave up and did multiple single OID request using the Generic OID Template and it worked !


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 9 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:  
cron

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