DX NetOps

 View Only
  • 1.  300 Day Threshold

    Posted Nov 13, 2017 11:13 AM

    I am trying to set up a watch on an F5 load balancer. 

    The requirements are that an alarm be triggered when the system uptime is over 300 days. 

    Not sure how to specify 300 days as a threshold. Please advise. 



  • 2.  Re: 300 Day Threshold
    Best Answer

    Broadcom Employee
    Posted Nov 13, 2017 03:12 PM

    The sysUpTime (1.3.6.1.2.1.1.3) is the time (in hundredths of second) since the network management portion of the system was last re-initialized.

    So to convert the TimeTicks in seconds, divide by 100. 

    Expression should be: 

    ( sysUpTime / 100 ) --> result in seconds

    ( ( sysUpTime / 100 ) / 60 ) --> result in minutes

    ( ( ( sysUpTime / 100 ) / 60 ) / 60 ) --> result in hours

    ( ( ( ( sysUpTime / 100 ) / 60 ) / 60 ) / 24 ) --> result in days

     

    If you want to set the threshold value in days, choose this expression: ( ( ( ( sysUpTime / 100 ) / 60 ) / 60 ) / 24 ) 

     

     

    Thanks,

    Silvio



  • 3.  Re: 300 Day Threshold

    Posted Nov 14, 2017 10:38 AM

    Thanks! Very helpful 



  • 4.  Re: 300 Day Threshold

    Posted Nov 17, 2017 09:46 AM

    Silvio, 

     

    I tried this and the alarm hasn't gone off. I set it to alarm after 1 day just to test it but no alarm. 



  • 5.  Re: 300 Day Threshold

    Broadcom Employee
    Posted Nov 17, 2017 10:57 AM

    I do not have any issue with this watch rule:

     

     

    Have you created exactly like this?

     

    Here are the events:

    The Minor alarm was asserted when the sysUpTime is above 300, and reset when below 299.

     

    Thanks,

    Silvio



  • 6.  Re: 300 Day Threshold

    Posted Nov 17, 2017 11:08 AM

    My data type is different. Going to make the appropriate changes. I had time ticks 



  • 7.  Re: 300 Day Threshold

    Posted Nov 17, 2017 11:12 AM

    That worked. Thanks again for your help!