[solved] Graphing a Single OID Problem

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
soloslinger
Posts: 32
Joined: Fri Jan 19, 2007 2:11 pm

[solved] Graphing a Single OID Problem

Post by soloslinger »

I am trying to graph a single OID from a Cisco AS5300. I follow the directions:

create > new graphs > select my host > select SNMP Generic OID Template from the drop down > create.

I fill out all the information, not doing anything fancy, pretty basic. The graph/datasource get created fine, but neither updates. In the cacti log file I get:

Code: Select all

06/21/2009 11:54:01 AM - SPINE: Poller[0] Host[23] DS[190] SNMP: v2: <snip snip>, dsname: snmp_oid, oid: .1.3.6.1.4.1.9.10.19.1.1.4, value: U  
06/21/2009 11:54:01 AM - SPINE: Poller[0] Host[23] DS[190] WARNING: Result from SNMP not valid. Partial Result: ...  
06/21/2009 11:54:01 AM - SPINE: Poller[0] Host[23] SNMP Result: Host responded to SNMP 
However, I can snmpwalk the OID from prompt as the cacti user just fine:

Code: Select all

snmpwalk -Os -c <snip snip> -v 2c <snip snip> .1.3.6.1.4.1.9.10.19.1.1.4
enterprises.9.10.19.1.1.4.0 = Gauge32: 6
The file permissions are all in order. I can create other graphs and they work for the same host.

Possibly related: as a work around I tried to build a small script to do the for me instead of the OID. The script works fine, the cacti user can run it, but I am still getting U's.

versions:
FreeBSD 7 Stable
PHP 5.2.6
MySQL 5.x
RRDTool 1.2.26
Cacti 0.8.7b
Spine 0.8.7b

I have a hunch it's something small that I am screwing up, someone please save me from myself!

soloslinger
Last edited by soloslinger on Sat Jun 27, 2009 5:50 am, edited 1 time in total.
plugin: 2.1
cacti: 0.8.7b
apache 2.0
php: 5.2.5
mysql: 5.1
os: freebsd 6.2
soloslinger
Posts: 32
Joined: Fri Jan 19, 2007 2:11 pm

Post by soloslinger »

Anyone have any ideas?

06/21/2009 11:54:01 AM - SPINE: Poller[0] Host[23] DS[190] WARNING: Result from SNMP not valid. Partial Result: ...

Isn't very helpful for troubleshooting :cry:

soloslinger
plugin: 2.1
cacti: 0.8.7b
apache 2.0
php: 5.2.5
mysql: 5.1
os: freebsd 6.2
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

Have you tried using .1.3.6.1.4.1.9.10.19.1.1.4.0 in the template instead of .1.3.6.1.4.1.9.10.19.1.1.4?
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
soloslinger
Posts: 32
Joined: Fri Jan 19, 2007 2:11 pm

Post by soloslinger »

Linegod, that solved it. Thank you very much.
Is this to be used instead of http://www.cacti.net/downloads/docs/pdf/manual.pdf pg. 35?

soloslinger
plugin: 2.1
cacti: 0.8.7b
apache 2.0
php: 5.2.5
mysql: 5.1
os: freebsd 6.2
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

Yes. The documentation site is the most up to date. Once we get a couple of issues sorted out, the PDF manual will be generated directly from http://docs.cacti.net
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests