DX Infrastructure Manager

Expand all | Collapse all

Variables for alarmtext in snmpcollector?

Jump to Best Answer
  • 1.  Variables for alarmtext in snmpcollector?

    Posted 10-03-2017 12:50 PM

    What are the variables ($) you can use for the alarmtext in snmpcollector?

    In my case I'm using it for cisco-switches.



  • 2.  Re: Variables for alarmtext in snmpcollector?
    Best Answer

    Posted 10-03-2017 10:15 PM

    Here is copy and paste from baseline_engine doc

    baseline_engine Configuration - CA Unified Infrastructure Management Probes - CA Technologies Documentation 

     

    If you enter "${" in text field, then you get list of available variables.

     

     

    customAlarmMessage: A custom alarm message that is generated when a threshold is breached
    Variables include:

    ${baseline} - The baseline that is calculated for a QoS metric, when you select the Compute Baseline and Dynamic Alarm options
    Baselines are not calculated for static messages, so this value is always zero for static alarms.
    ${level} - The numerical critical level of the alarm
    Valid values are: 1 (critical), 2 (major), 3 (minor), 4 (warning), or 5 (information)
    ${operator} - The operator (>, ≥, <, ≤, =, or !=) for the critical level of the alarm
    ${qos_name} - The name of the QoS metric
    ${source} - The source of the QoS metric that generated an alarm
    ${target} - The target of the QoS metric that generated an alarm
    ${threshold} - The threshold upon which an alarm is generated
    ${value} - The value that is contained in the generated QoS metric

     

     

    EXAMPLE:   -customAlarmMessage “${qos_name} is at ${value}”



  • 3.  Re: Variables for alarmtext in snmpcollector?

    Posted 10-04-2017 02:58 AM

    Thanks!!! I thought it was enough to enter just the '$', like in IM... but I got the variables when entering '${'. Thanks