SNMP Values do not graph

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

Moderators: Developers, Moderators

Post Reply
gwhenning
Posts: 2
Joined: Thu Oct 11, 2018 6:05 pm

SNMP Values do not graph

Post by gwhenning »

I am (unsuccessfully) attempting to graph a single SNMP OID value following the directions found in chapter 10 of The Cacti Manual.

The SNMP Query appears to be working however, the value is not actually coming through. An SNMP walk shows the following result:

Code: Select all

iso.3.6.1.4.1.21239.5.1.2.1.5.1 = Integer: 710
So I think I need to strip off the "Integer: " portion of the value leaving just the number. The number is not accurate either as it is a Fahrenheit temperature and should really read 71.0 instead of 710.

tldr; I need to strip text off the SNMP value and divide it by 10.
User avatar
Pucho
Cacti User
Posts: 185
Joined: Wed Jul 20, 2016 8:00 pm

Re: SNMP Values do not graph

Post by Pucho »

From

Code: Select all

iso.3.6.1.4.1.21239.5.1.2.1.5.1 = Integer: 710

Code: Select all

= Integer:
is not part of the actual value, that's how snmpwalk outputs it, showing you the 'type'.

Can you add screenshots ? How your data source query looks like and what are you actually getting graphed?

The devide thing can be done with CDEFs presets

What cacti version are you running?
Cacti - 1.2.15
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
gwhenning
Posts: 2
Joined: Thu Oct 11, 2018 6:05 pm

Re: SNMP Values do not graph

Post by gwhenning »

We are using Cacti 1.1.38. I couldn't find a way to edit the existing graph so I followed the steps to create a new one. I have attached the setup screenshot to this reply. As for the graph, it just shows an empty graph.
Attachments
Setup graph using single OID
Setup graph using single OID
Cacti.png (39.32 KiB) Viewed 356 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest