Emty Graph with poll SNMP OID

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

Moderators: Developers, Moderators

Post Reply
mulix
Posts: 3
Joined: Wed Apr 30, 2014 3:49 pm

Emty Graph with poll SNMP OID

Post by mulix »

Hello Users,

i have a problem with grap a snmp oid. I whant to get the main voltage of a pdu.

When i use snmpget its work fine

Code: Select all

snmpget -v1 -c XXXXXXXXXX pdu.schumann-data.local .1.3.6.1.4.1.28507.27.1.5.1.2.1.6.1
iso.3.6.1.4.1.28507.27.1.5.1.2.1.6.1 = Gauge32: 238
But a Datasource with a "Generic OID Template" is not working -> see the attached file
There is no output into the graph - only nan

When i look into the rrd-file, there is this:

Code: Select all

/usr/bin/rrdtool fetch /var/lib/cacti/rra/schumann-data_pdu_snmp_oid_49.rrd AVERAGE -s -30m
1398889920: -nan
1398889980: -nan
1398890040: -nan
1398890100: -nan
1398890160: -nan
1398890220: -nan
1398890280: -nan
1398890340: -nan
1398890400: -nan
1398890460: -nan
1398890520: -nan
1398890580: -nan
1398890640: -nan
1398890700: -nan
1398890760: -nan
1398890820: -nan
1398890880: -nan
1398890940: -nan
1398891000: -nan
1398891060: -nan
1398891120: -nan
1398891180: -nan
1398891240: -nan
1398891300: -nan
1398891360: -nan
1398891420: -nan
1398891480: -nan
1398891540: -nan
1398891600: -nan
1398891660: -nan
1398891720: -nan
Does anyone have an idea?

Sorry for my ugly english!

regards, Mulix
Attachments
The DataSource config
The DataSource config
PDU-DataSource.PNG (55.38 KiB) Viewed 508 times
The Graph config
The Graph config
PDU-Graph.PNG (85.39 KiB) Viewed 508 times
The Device config
The Device config
PDU-Device.PNG (68.64 KiB) Viewed 508 times
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Emty Graph with poll SNMP OID

Post by cigamit »

The first thing that pops out at me is that your snmpget command is using SNMP v1, while your host is set to use SNMP v2. That may not be the issue, but it would be the first thing I would check.
mulix
Posts: 3
Joined: Wed Apr 30, 2014 3:49 pm

Re: Emty Graph with poll SNMP OID

Post by mulix »

Hi cigamit,

thanks for answer.

but its the same result of version 1 or 2

Code: Select all

root@server2:~# snmpget -v2c -c XXXXXXXXXX pdu.schumann-data.local .1.3.6.1.4.1.28507.27.1.5.1.2.1.6.1
iso.3.6.1.4.1.28507.27.1.5.1.2.1.6.1 = Gauge32: 238

root@server2:~# snmpget -v1 -c XXXXXXXXXX pdu.schumann-data.local .1.3.6.1.4.1.28507.27.1.5.1.2.1.6.1
iso.3.6.1.4.1.28507.27.1.5.1.2.1.6.1 = Gauge32: 238
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests