Ad Widget

Collapse

adding lld item to action message?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jackie
    Member
    • Jan 2016
    • 37

    #1

    adding lld item to action message?

    We are using LLD to collect ifOperStatus, ifAdminStatus and ifAlias data for a CISCO Router.

    The Status items generate alerts. However, I would like to include the ifAlias data in the Action message to clearly identify the port. My thought was to add:

    {{HOST.NAME}:ifAlias[{#SNMPINDEX}].last()}

    to the Action Message. I haven't been able to test it yet, but I'm wondering if the #SNMPINDEX will work in an action?

    If this won't work, is there another way to do this?

    Thanks for any info!
    Jackie
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    I think you refer to the nth item in your trigger with ITEM.LASTVALUEn, lld or not.

    Comment

    • jackie
      Member
      • Jan 2016
      • 37

      #3
      The ifAlias item is not part of the trigger currently, and doesn't need to be. So I don't think I can user ITEM.LASTVALUEn. Do I need to add a dummy check using ifAlias to my trigger, so it is included?

      Thanks for your response!

      Comment

      Working...