Hi,
I need to automatize the items creation on an equipment which support SNMP discovery. For this purpose I need to interrogate the private MIB with a specific OID in the Discovery rule
Here is the discovery rule that I have created :
Name: Discovery_items
SNMP OID: discovery[{SNMPVALUE},1.3.6.2.4.1.2603.5.4.2.1.6]
I have associated the following item prototypes :
Name: Outgoing traffic on interface $1
SNMP OID:1.3.6.2.4.1.2603.5.4.2.1.6.{#SNMPINDEX}
This configuration worked well and I could get all my items automatically discovered.
But the problem that I'm facing is the equipment don't have any existing OID which can be polled and would provide me with the description or name to associate to those items.
Here is an example of the items created :
Outgoing traffic on interface 1.0.0.48
Outgoing traffic on interface 8.0.0.48
..........
I need to find a way to display the real name of the item:
Outgoing traffic on interface Name#1
Outgoing traffic on interface Name#2
..........
I'm open to any solution which would get me there.
Knowing that I have a file (.txt) which store the association btw name and {SNMPVALUE}. It looks like that :
1.0.0.48 Name#1
8.0.0.48 Name#2
..........
I initially thought of creating another discovery rule based on a SSH agent which would get connected to the equipement, read the file (.txt) and would provide me with the corresponding name associated to the {SNMPVALUE}.
But so far I haven't been able to implement it and I'm doubting that can be implemented.
I'm also open to an other solution if someone have a better solution to propose.
Any advices or help would be very appreciated.
Thanks in advance.
Jul
I need to automatize the items creation on an equipment which support SNMP discovery. For this purpose I need to interrogate the private MIB with a specific OID in the Discovery rule
Here is the discovery rule that I have created :
Name: Discovery_items
SNMP OID: discovery[{SNMPVALUE},1.3.6.2.4.1.2603.5.4.2.1.6]
I have associated the following item prototypes :
Name: Outgoing traffic on interface $1
SNMP OID:1.3.6.2.4.1.2603.5.4.2.1.6.{#SNMPINDEX}
This configuration worked well and I could get all my items automatically discovered.
But the problem that I'm facing is the equipment don't have any existing OID which can be polled and would provide me with the description or name to associate to those items.
Here is an example of the items created :
Outgoing traffic on interface 1.0.0.48
Outgoing traffic on interface 8.0.0.48
..........
I need to find a way to display the real name of the item:
Outgoing traffic on interface Name#1
Outgoing traffic on interface Name#2
..........
I'm open to any solution which would get me there.
Knowing that I have a file (.txt) which store the association btw name and {SNMPVALUE}. It looks like that :
1.0.0.48 Name#1
8.0.0.48 Name#2
..........
I initially thought of creating another discovery rule based on a SSH agent which would get connected to the equipement, read the file (.txt) and would provide me with the corresponding name associated to the {SNMPVALUE}.
But so far I haven't been able to implement it and I'm doubting that can be implemented.
I'm also open to an other solution if someone have a better solution to propose.
Any advices or help would be very appreciated.
Thanks in advance.
Jul
Comment