DX Infrastructure Management

Expand all | Collapse all

Dashboard: Alarm source, assigned_to with an empty/null value?

Jump to Best Answer
  • 1.  Dashboard: Alarm source, assigned_to with an empty/null value?

    Posted 09-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

    Posted 09-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 09-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?

    Posted 09-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 09-06-2016 06:34 AM

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