Fleet Admiral
Fleet Admiral
361 views

Showing host name in message object field

OML 9.2x.

We receive SNMP traps and show the alarm in OM message browser. One of SNMP trap variable contains an IP address.

Is there any way we can show the hostname for the IP in message object field.

0 Likes
3 Replies
Commander
Commander

Hi, 

yes, you can do it. You need to use the variable which contain the IP address or Hostname.

see what are the $1, $2 variable value from your trap.

 

 

 

 

0 Likes
Fleet Admiral
Fleet Admiral

Hi

If the variable $1 or $2 comes with IP address, is there any way to convert it to host name and show in Object field.

0 Likes
Admiral
Admiral

Hello,

unfortunately you cannot do it out of the box. IP is resolved automatically by manager for the node name field, but you cannot proceed to the same behavior with others.

You must use the ECS to divert the message and rewrite all fields you want before push it again in alarm browser.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.