Not Graphing Generic Oid

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

Moderators: Developers, Moderators

Post Reply
laaremu
Posts: 21
Joined: Tue Feb 08, 2005 2:32 pm

Not Graphing Generic Oid

Post by laaremu »

Hello Guys,

I am unable to graph the SNMP-Generic graph which I referred to as RSSI value for my radios while the I am graphing the interface traffic and Ping latency.
Can some explain the reason why I this and I am using correct OID for the equipment.
I attached a sample of the output with this post.

I will be grateful if someone can help me out.
Attachments
sample.doc
(94.5 KiB) Downloaded 203 times
danbeck
Posts: 30
Joined: Tue Jun 20, 2006 12:08 pm
Location: Huntsville, Alabama
Contact:

Post by danbeck »

Please post the OID you are using and a copy of snmpwalk output of that OID against the device in question.

Also, please post the RRDTool debug output of the graph in question. You can find that by selecting the graph from Graph Management and then clicking the "Turn on Debug Graph Mode" link at the top of the graph page.
-Daniel

[url=http://dealnews.com/developers/cacti/memcached.html]memcached Template[/url] - Version 1.0

[url=http://dealnews.com/developers/]dealnews.com/developers[/url] - Useful scripts and Cacti templates.
[url=http://dealnews.com/]dealnews.com[/url] - How to go broke saving money.
laaremu
Posts: 21
Joined: Tue Feb 08, 2005 2:32 pm

Not Graphing Generic OID

Post by laaremu »

Hello Daniel,

I couldn't get your message well, but this is the information I can provide now. If you need more information pls let me know.

Veiw poller cache output

Data Source: Client - Spring Bank Allen - Traffic - 10.163.84.49/Radio port
RRD: /var/www/html/cacti/rra/client_spring_bank_allen_traffic_in_13.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.1 (Host: 10.163.84.49, Community: metro_ik)

View snmp cache output:

Host: Client - Spring Bank Allen, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifType, Field Value: 6
OID: .1.3.6.1.2.1.2.2.1.3.1
Host: Client - Spring Bank Allen, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifHwAddr, Field Value: HEX-00:00:10:E7:E9:83:B9
OID: .1.3.6.1.2.1.2.2.1.6.1
Host: Client - Spring Bank Allen, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifOperStatus, Field Value: 1
OID: .1.3.6.1.2.1.2.2.1.8.1
Host: Client - Spring Bank Allen, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifIndex, Field Value: 1
OID: .1.3.6.1.2.1.2.2.1.1.1
Host: Client - Spring Bank Allen, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifSpeed, Field Value: 2000000
OID: .1.3.6.1.2.1.2.2.1.5.1
Host: Client - Spring Bank Allen, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifDescr, Field Value: Radio port
OID: .1.3.6.1.2.1.2.2.1.2.1
Host: Client - Spring Bank Allen, SNMP Query: SNMP - Interface Statistics
Index: 2, Field Name: ifType, Field Value: 6
OID: .1.3.6.1.2.1.2.2.1.3.2
Host: Client - Spring Bank Allen, SNMP Query: SNMP - Interface Statistics
Index: 2, Field Name: ifHwAddr, Field Value: HEX-00:00:10:E7:E9:83:B9
OID: .1.3.6.1.2.1.2.2.1.6.2
Host: Client - Spring Bank Allen, SNMP Query: SNMP - Interface Statistics
Index: 2, Field Name: ifOperStatus, Field Value: 1
OID: .1.3.6.1.2.1.2.2.1.8.2
Host: Client - Spring Bank Allen, SNMP Query: SNMP - Interface Statistics
Index: 2, Field Name: ifIndex, Field Value: 2
OID: .1.3.6.1.2.1.2.2.1.1.2
Host: Client - Spring Bank Allen, SNMP Query: SNMP - Interface Statistics
Index: 2, Field Name: ifSpeed, Field Value: 10000000
OID: .1.3.6.1.2.1.2.2.1.5.2
Host: Client - Spring Bank Allen, SNMP Query: SNMP - Interface Statistics


snmpwalk -v 1 -c metro_ik 10.163.84.49 interface
IF-MIB::ifNumber.0 = INTEGER: 2
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifDescr.1 = STRING: Radio port
IF-MIB::ifDescr.2 = STRING: Ethernet port
IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.1 = INTEGER: 1514
IF-MIB::ifMtu.2 = INTEGER: 1514
IF-MIB::ifSpeed.1 = Gauge32: 2000000
IF-MIB::ifSpeed.2 = Gauge32: 10000000
IF-MIB::ifPhysAddress.1 = STRING: 0:10:e7:e9:83:b9
IF-MIB::ifPhysAddress.2 = STRING: 0:10:e7:e9:83:b9
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: up(1)
IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.2 = Timeticks: (0) 0:00:00.00
IF-MIB::ifInOctets.1 = Counter32: 53569209
IF-MIB::ifInOctets.2 = Counter32: 4705434
IF-MIB::ifInUcastPkts.1 = Counter32: 464555
IF-MIB::ifInUcastPkts.2 = Counter32: 28709
IF-MIB::ifInNUcastPkts.1 = Counter32: 0
IF-MIB::ifInNUcastPkts.2 = Counter32: 138
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInDiscards.2 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInErrors.2 = Counter32: 0
IF-MIB::ifInUnknownProtos.1 = Counter32: 0
IF-MIB::ifInUnknownProtos.2 = Counter32: 0
IF-MIB::ifOutOctets.1 = Counter32: 5264152
IF-MIB::ifOutOctets.2 = Counter32: 22141732
IF-MIB::ifOutUcastPkts.1 = Counter32: 27627
IF-MIB::ifOutUcastPkts.2 = Counter32: 28281
IF-MIB::ifOutNUcastPkts.1 = Counter32: 0
IF-MIB::ifOutNUcastPkts.2 = Counter32: 3784
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.2 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 14196
IF-MIB::ifOutErrors.2 = Counter32: 32065
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifOutQLen.2 = Gauge32: 0
IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::transmission.7
IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::transmission.7

The OID is 1.3.6.1.4.1.710.3.5.8.3.1.0
danbeck
Posts: 30
Joined: Tue Jun 20, 2006 12:08 pm
Location: Huntsville, Alabama
Contact:

Post by danbeck »

I was asking for the specific OID that you were using for your graph and the values returned from an snmpwalk for that OID. Please only return numerical values since I do not have a MIB file to compare.

Also, if you would post the debug output from your graph in cacti, it would help in understanding what might be wrong. You can see the debug output, by going to your Cacti Console then choosing Graph Management, then selecting the graph in question. Then, at the top of the graph page, there is a link that says "Turn on Graph Debug Mode". Click that to see the RRDTool Command output. Please paste that here so we can see if there is something wrong with your graph definition.
-Daniel

[url=http://dealnews.com/developers/cacti/memcached.html]memcached Template[/url] - Version 1.0

[url=http://dealnews.com/developers/]dealnews.com/developers[/url] - Useful scripts and Cacti templates.
[url=http://dealnews.com/]dealnews.com[/url] - How to go broke saving money.
laaremu
Posts: 21
Joined: Tue Feb 08, 2005 2:32 pm

Generic oid not graphing

Post by laaremu »

Hello Dan,

Thanks for your prompt response and intereet.
Highly appreciated.

The response is RRDTool Says OK.
The OID is 1.3.6.1.4.1.710.3.5.8.3.1.0


Aremu
danbeck
Posts: 30
Joined: Tue Jun 20, 2006 12:08 pm
Location: Huntsville, Alabama
Contact:

Post by danbeck »

laaremu,

I got your private message. Please post your RRDTool Command output for the graph in question. Not the "RRDTool Says: OK", but the debug outpt from the RRDTool command itself. If you do not see the RRDTool Command output when you turn on graph debug mode, you are most likely using an old version of Cacti. If this is the case, please upgrade to 0.8.6h before continuing. Several annoying bugs were present in previous versions, including the removal of the RRDTool command output.
-Daniel

[url=http://dealnews.com/developers/cacti/memcached.html]memcached Template[/url] - Version 1.0

[url=http://dealnews.com/developers/]dealnews.com/developers[/url] - Useful scripts and Cacti templates.
[url=http://dealnews.com/]dealnews.com[/url] - How to go broke saving money.
laaremu
Posts: 21
Joined: Tue Feb 08, 2005 2:32 pm

Post by laaremu »

Hello Dan,
I really appreciate your input greatly.
I have done the upgrade this is the result of the test you said I should do

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Client - Spring Bank Allen -Spring Bank Allen" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="RSSI" \
--slope-mode \
DEF:a="/var/www/html/cacti/rra/client_spring_bank_allen_snmp_oid_14.rrd":snmp_oid:AVERAGE \
AREA:a#942D0C:"RSSI" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:

OK
I will be expecting your response.
Thanks


Aremu
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest