cant see interface description while create new graph

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

Moderators: Developers, Moderators

Post Reply
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

cant see interface description while create new graph

Post by amitayb »

Hi,
using 1.1.37 on RHEL.
I've added a device juniper MX104, create graph.
Graph Types=SNMP interface statistics (regular default one)

in the table, there is no field of Description
I need this field for auto graph rules.

how can I debug it or add this field?
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: cant see interface description while create new graph

Post by netniV »

Description is normally added when querying the interface of devices. Provide an SNMP walk from the command line using the OID in question. You can find this by running the verbose query for any associated query on a device.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

Re: cant see interface description while create new graph

Post by amitayb »

Hi,
My snmp walk for description is fine:
snmpwalk -v 2c -cPmpls X.X.X.X .1.3.6.1.2.1.2.2.1.2
IF-MIB::ifDescr.1 = STRING: fxp0
IF-MIB::ifDescr.4 = STRING: lsi
IF-MIB::ifDescr.5 = STRING: dsc
IF-MIB::ifDescr.6 = STRING: lo0
IF-MIB::ifDescr.7 = STRING: tap
IF-MIB::ifDescr.8 = STRING: gre
IF-MIB::ifDescr.9 = STRING: ipip
IF-MIB::ifDescr.10 = STRING: pime
IF-MIB::ifDescr.11 = STRING: pimd
IF-MIB::ifDescr.12 = STRING: mtun
IF-MIB::ifDescr.16 = STRING: lo0.0
IF-MIB::ifDescr.17 = STRING: em0
IF-MIB::ifDescr.18 = STRING: em0.0
IF-MIB::ifDescr.21 = STRING: lo0.16384
IF-MIB::ifDescr.22 = STRING: lo0.16385
IF-MIB::ifDescr.23 = STRING: em1
IF-MIB::ifDescr.33 = STRING: me0
IF-MIB::ifDescr.501 = STRING: cbp0
IF-MIB::ifDescr.502 = STRING: demux0
IF-MIB::ifDescr.503 = STRING: irb
IF-MIB::ifDescr.504 = STRING: pip0
IF-MIB::ifDescr.505 = STRING: pp0
IF-MIB::ifDescr.506 = STRING: lc-0/0/0
IF-MIB::ifDescr.507 = STRING: lc-0/0/0.32769
IF-MIB::ifDescr.508 = STRING: pfh-0/0/0
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

Re: cant see interface description while create new graph

Post by amitayb »

in some cases I do see the interface description.
When I use Juniper QOS I get the description.
when I change to snmp interface - no description at all.
using sniffer shows that description is beeing get by the server.

any ideas?
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: cant see interface description while create new graph

Post by netniV »

Try using the Verbose Data Query option to see what the data source is finding. If you use the clipboard icons, you can copy and paste it here.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

Re: cant see interface description while create new graph

Post by amitayb »

Hi,
Click to show Data Query output for field 'ifDescr'
Total: 1.100000, Delta: 0.010000, Located input field 'ifDescr' [walk]
Total: 2.200000, Delta: 1.100000, Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'

running the walk command manually provide correct interface description
snmpwalk -v 2c -c Pmpls 1.1.1.1 .1.3.6.1.2.1.2.2.1.2
IF-MIB::ifDescr.1 = STRING: fxp0
IF-MIB::ifDescr.4 = STRING: lsi
IF-MIB::ifDescr.5 = STRING: dsc
IF-MIB::ifDescr.6 = STRING: lo0
IF-MIB::ifDescr.7 = STRING: tap
IF-MIB::ifDescr.8 = STRING: gre
IF-MIB::ifDescr.9 = STRING: ipip
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: cant see interface description while create new graph

Post by netniV »

Try updating to 1.1.38 if you can. This may have been one of those issues we fixed if I recall correctly. Sorry for not remembering before now.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

Re: cant see interface description while create new graph

Post by amitayb »

Hi,
after upgrading my cacti to 1.1.38 this issue still behave the same.
on some mx-104 devices I'm not able to see interface description only on: Data Query [SNMP - Interface Statistics]

any ideas?

this is an urgent issue.
I must create a bunch of graphs using autom8

Amitay.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: cant see interface description while create new graph

Post by netniV »

Did you reapply suggested names after upgrading?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

Re: cant see interface description while create new graph

Post by amitayb »

Hi
I didnt. Reaply namesworks and change graph name.
Im in creating graph step. Cant see interface description.
And can effect this device interface by autom rules
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

Re: cant see interface description while create new graph

Post by amitayb »

good morning
I've tested this morning juniper mx 104 on cacti ver 0.8.8 and it works perfect!
any ideas whats wrong?
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: cant see interface description while create new graph

Post by netniV »

Can you get an SNMPWALK of the device? I think you may be experiencing an issue that I came across where the device is returning the data as HEX and it's not being properly interpreted as being a string when it is.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
amitayb
Cacti User
Posts: 96
Joined: Thu Mar 29, 2012 2:19 am

Re: cant see interface description while create new graph

Post by amitayb »

Youbcan see above manuall walk works fine
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests