Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Jan 23, 2019 11:30 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: snmp xml queries - data
PostPosted: Fri Dec 14, 2018 11:22 am 
Offline
Cacti User

Joined: Mon Oct 01, 2018 10:09 am
Posts: 59
Hello All,

I would like to create a custom snmp data query to
return just one value (more later).
I have a graph/data source created for a device (with 428 snmp index count)
for just one of its interfaces. This updates rrd file with no data, hence blank graph.

I can do an snmpwalk or snmpget for the device with the oid representing the data I
want to graph, and those commands return the bits/bytes transferred.

The base problem is that when cacti poller runs, no data is retreived for this specific interface.
Data and graphs are created for other interfaces. There is a total of 41 graphs for this device.
It is a Cisco Catalyst 4500.

I would like a custom xml query for just one oid, and then I would match it to a graph temlate,
and then attach the query to the device.

I have reviewed the cacti docs on creating such queries, but have failed to understand how
to get this query to work. Also there is no snmp table involved with this (that I can find).

Any tips on how to do this?

eholz1


Top
 Profile  
 
 Post subject: Re: snmp xml queries - data
PostPosted: Fri Jan 04, 2019 6:44 am 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 706
1) Use spine
2) Manually run spine using this syntax

./spine -V 3 -S -R -f yourhostid -l yourhostid

3) See if you are really getting data
4) If not, check the poller cahce for real entries.
5) If so, check file permissions

_________________
Before history, there was a paradise, now dust.


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

All times are UTC - 5 hours


Who is online

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