facility names in Hex values

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

Moderators: Developers, Moderators

Post Reply
pezarza
Posts: 4
Joined: Sat Oct 26, 2013 6:24 am

facility names in Hex values

Post by pezarza »

Hi I have a problem with returning a value of Nortel devices , it does this in hex instead of text.

there are 10 facility in my device

these are the details:

with snmpv2

+ Located input field 'FacilityName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.2865.1.4.1.1.3'
+ Found item [FacilityName='4F:43:4C:44:20:46:61:63:69:6C:69:74:79:20:31:38:00:00:00:00:00:00:00:00:00:00:00:00:00'] index: 4194561 [from value]
+ Found item [FacilityName='4F:43:4C:44:20:46:61:63:69:6C:69:74:79:20:31:38:00:00:00:00:00:00:00:00:00:00:00'] index: 4194817 [from value]
+ Found item [FacilityName='4F:43:4C:44:20:46:61:63:69:6C:69:74:79:20:31:38:00:00:00:00:00:00:00:00:00:00:00:00:00'] index: 4194562 [from value]
+ Found item [FacilityName='4F:43:4C:44:20:46:61:63:69:6C:69:74:79:20:31:38:00:00:00:00:00:00:00:00:00:00:00'] index: 4194818 [from value]
+ Found item [FacilityName='4F:43:4C:44:20:46:61:63:69:6C:69:74:79:20:31:38:00:00:00:00:00:00:00:00:00:00:00:00:00:00'] index: 4194575 [from value]
+ Found item [FacilityName='4F:43:4C:44:20:46:61:63:69:6C:69:74:79:20:31:38:00:00:00:00:00:00:00:00:00:00:00:00'] index: 4194831 [from value]
+ Found item [FacilityName='4F:43:4C:44:20:46:61:63:69:6C:69:74:79:20:31:38:00:00:00:00:00:00:00:00:00'] index: 4194577 [from value]
+ Found item [FacilityName='4F:43:4C:44:20:46:61:63:69:6C:69:74:79:20:31:38:00:00:00:00:00:00:00:00:00'] index: 4194833 [from value]
+ Found item [FacilityName='4F:43:4C:44:20:46:61:63:69:6C:69:74:79:20:31:38:00:00:00:00:00:00:00:00:00:00:00'] index: 20971793 [from value]
+ Found item [FacilityName='OCLD Facility 18'] index: 4194578 [from value]



with snmpv1 (It only show 3 facility) :o
Data Query Debug Information
+ Running data query [15].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/var/www/html/resource/snmp_queries/5200Ciena.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.2865.1.4.1.1.1' Index Count: 3
+ Index found at OID: '1.3.6.1.4.1.2865.1.4.1.1.1.4194561' value: '4194561'
+ Index found at OID: '1.3.6.1.4.1.2865.1.4.1.1.1.4194817' value: '4194817'
+ Index found at OID: '1.3.6.1.4.1.2865.1.4.1.1.1.4194562' value: '4194562'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.2865.1.4.1.1.1'
+ Found item [ifIndex='4194561'] index: 4194561 [from value]
+ Found item [ifIndex='4194817'] index: 4194817 [from value]
+ Found item [ifIndex='4194562'] index: 4194562 [from value]
+ Located input field 'FacilityName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.2865.1.4.1.1.3'
+ Found item [FacilityName='OTR Facility 1, port 1 client'] index: 4194561 [from value]
+ Found item [FacilityName='OTR Facility 1, port 2 line'] index: 4194817 [from value]
+ Found item [FacilityName='OTR Facility 2, port 1 client'] index: 4194562 [from value]

[root@localhost ~]# php -v
PHP 5.3.3 (cli) (built: Jul 3 2012 16:53:21)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

cacti Version 0.8.8a

MIB = ALL not exist in snmpd.conf

I´m lost
pezarza
Posts: 4
Joined: Sat Oct 26, 2013 6:24 am

Re: facility names in Hex values

Post by pezarza »

I solved this trouble using get command

:roll:
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests