- Community Home
- >
- Networking
- >
- IMC
- >
- Re: How to add a string custom index? Unable to ge...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2013 04:13 AM
02-25-2013 04:13 AM
How to add a string custom index? Unable to get correct type
Hello,
I am trying to add a custom index in IMC 5.1 to get the serial number of the transceivers of a HPN7500 device.
I could successfully add a custom index to get the received and sent power of the transceivers with an integer index Type ([index1[0]:hh3cTransceiver:1:0]) but I am unable to get the serial number, which is a string Type index. I am not able to get the correct Type.
I try this values, but no data is collected:
Name: serial_numbers
Measurement: none
Type: [index1[0]:hh3cTransceiver:2:10]
Instance label (definition OID): 1.3.6.1.4.1.25506.2.70
Formula: 1.3.6.1.4.1.25506.2.70.1.1.1.5
I use :2: for string and :10 for the data length (serial number).
I am trying to read the following OIDs 1.3.6.1.4.1.25506.2.70.1.1.1.5.3 and .4 but the index test fails. It doesn't even resolve the instances. Please, any help with the correct Type value?
Thanks and regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2013 12:45 AM
12-31-2013 12:45 AM
Re: How to add a string custom index? Unable to get correct type
Hi,
I have the same problem to retrieve snmp string value. Do you have find a solution?
Thanks a lot.
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2014 04:20 AM
01-08-2014 04:20 AM
Re: How to add a string custom index? Unable to get correct type
Hello Vincent,
No I haven't find a solution.
As a workaround, I use a IMC template script with the display command to get the serial numbers. You can run the script on a lot of devices simultaneously. It is not the same but I could not make the string index work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2014 05:08 AM
04-03-2014 05:08 AM
Re: How to add a string custom index? Unable to get correct type
I do not quite understand the last value, where you use 10 for length. I am trying to fetch a string of 8 characters from my firewalls, and I do not get it to resolve if I set the length to any other value than 0.
I assume your serialnumbers are a mix of numbers and characters, if it where only numbers you could use "int"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2014 03:41 AM
08-22-2014 03:41 AM
Re: How to add a string custom index? Unable to get correct type
Hi All,
Has there been any resolution here since?
Atleast with latest version can edit now without deleting / recreating!
Thanks.