DX Unified Infrastructure Management

 View Only
  • 1.  SNMPTD probe set up(getting Hostname in Alarm)

    Posted Oct 10, 2019 03:15 AM
    How can i get the agent host-name in SNMP alarms ? 



    ------------------------------
    System Analyst
    DXC Technology
    ------------------------------


  • 2.  RE: SNMPTD probe set up(getting Hostname in Alarm)

    Broadcom Employee
    Posted Oct 10, 2019 08:29 AM
    is hostname one of the variables being sent in the trap?

    ------------------------------
    Gene Howard
    Principal Support Engineer
    Broadcom
    ------------------------------



  • 3.  RE: SNMPTD probe set up(getting Hostname in Alarm)

    Posted Oct 10, 2019 08:34 AM
    Yes it is and i want the host-name in the alarm text


    ------------------------------
    System Analyst
    DXC Technology
    ------------------------------



  • 4.  RE: SNMPTD probe set up(getting Hostname in Alarm)

    Broadcom Employee
    Posted Oct 10, 2019 11:26 PM
    Hi

    Can try the KB

    https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=10408


  • 5.  RE: SNMPTD probe set up(getting Hostname in Alarm)

    Posted Oct 10, 2019 08:39 AM
    and for the agent/source details , how i get the value in alarm text ? (tntorvidkt02 or any agent name)

     ​​

    ------------------------------
    System Analyst
    DXC Technology
    ------------------------------



  • 6.  RE: SNMPTD probe set up(getting Hostname in Alarm)

    Posted Oct 10, 2019 09:11 AM
    I find it easier to:
    - change snmptd probe setting to convert trap to a queue
    snmp- create a logmon profile that will read this queue
    logmon_snmp- in the logmon watcher you can define any part of the trap message into variables
    logmon_snmp_var
    And this variable you can use in your custom alarm or in the source variable
    logmon_snmp_source



  • 7.  RE: SNMPTD probe set up(getting Hostname in Alarm)

    Posted Oct 10, 2019 12:16 PM
    It would be easy when we are receiving traps with some specific values. But here we have very large count of specific values .HPSIM itself sends (400 or more types of traps) and we have EMC avamar, SAN switches, Oracle ILO and DATA Domain sending specific traps to UIM. I find it hard to do it in logmon.

    ------------------------------
    System Analyst
    DXC Technology
    ------------------------------



  • 8.  RE: SNMPTD probe set up(getting Hostname in Alarm)
    Best Answer

    Broadcom Employee
    Posted Oct 10, 2019 09:18 AM
    @Luc Christiaens way is probably easier to troubleshoot and  ​maintain in the long run.
    but with the variable expansion you should be able to use any variable set:
    http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/ca-unified-infrastructure-management-probes/GA/alphabetical-probe-articles/snmptd-simple-network-management-protocol-trap-daemon-monitoring/snmptd-im-configuration.html#concept.dita_ee2349c6e6eef8a5c07df9e642a875491c6eabb7_VariableExpansion'

    $n
    , where n > 0
    Expands into the variable at position 
    n
    . For example, $1 expands the first variable.

    ------------------------------
    Gene Howard
    Principal Support Engineer
    Broadcom
    ------------------------------