Data source not working - manual run does

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
rjblanch
Posts: 8
Joined: Mon Feb 18, 2008 3:33 pm

Data source not working - manual run does

Post by rjblanch »

Hi all,

I have a situation where I have a graph that measures the amount of phones have logged into a PABX. I am getting data, which is not an issue, but it is not updating automatically.

There are 2 OID's that are involved - 1 for the amount of stations, 1 for the updating of the totals. I have setup graphs and Data Sources for both OID's.

When I run a manually query on the update, the amount of phones change. When I run the DS for the update, it does not.

Can anyone let me know why this may be occuring or how I can run a script that will "manually" run the snmpwalk query before it runs the SNMP-OID Data source query for the amount of phones.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

So, you need to provide more information:

1) Poller cache etries
2) Output from "rrdtool info myrrdfile.rrd"
3) Screen Shot of the Data Template in question

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?
rjblanch
Posts: 8
Joined: Mon Feb 18, 2008 3:33 pm

Post by rjblanch »

Thanks Witness -
I have attached the files showing that the poller is running the command and that we are getting a valid response.
I have also included the rrdtool results.

When I manually run the snmpwalk command through a command line, it will update.
Attachments
GetStationsDataSource.JPG
GetStationsDataSource.JPG (72.6 KiB) Viewed 966 times
rrdtool.txt
(2.14 KiB) Downloaded 100 times
DataSourcePolling.JPG
DataSourcePolling.JPG (51.56 KiB) Viewed 966 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest