DX Unified Infrastructure Management

 View Only
  • 1.  Dashboard: Alarm source, assigned_to with an empty/null value?

    Posted Sep 05, 2016 09:35 AM

    Is it possible when using Alarm as data source on a image-widget, to have the "assigned_to" parameter with an empty/null value? 

    Thing is that we want to generate an alarm when it's NOT assigned to anyone. 



  • 2.  Re: Dashboard: Alarm source, assigned_to with an empty/null value?
    Best Answer

    Broadcom Employee
    Posted Sep 06, 2016 05:06 AM

    Hi Rith,

     

    Try, Assign to > DOES NOT MATCH > .*



  • 3.  Re: Dashboard: Alarm source, assigned_to with an empty/null value?

    Posted Sep 06, 2016 05:29 AM

    YES!! Thanks!!
    How did you know that? Is there documentation on this? 



  • 4.  Re: Dashboard: Alarm source, assigned_to with an empty/null value?

    Broadcom Employee
    Posted Sep 06, 2016 05:46 AM

    the condition 'matches' equals (or NOT) a regular expression. 

    The regex: /.*/ matches any character.  So if the field is empty the match doesn't occur, hence the alarm is NOT selected.



  • 5.  Re: Dashboard: Alarm source, assigned_to with an empty/null value?

    Posted Sep 06, 2016 06:34 AM

    Of course! I didn't even think of regex here.
    thank you!