DX Infrastructure Manager

Expand all | Collapse all

Disable / Enable Probe on Condition

Jump to Best Answer
  • 1.  Disable / Enable Probe on Condition

    Broadcom Employee
    Posted 10-13-2017 11:42 AM

    One of our customers has asked to disable/enable processes probe based on the existence of a file. I see a solution in conjunction with dirscan probe and lua script. Any thoughts?

  • 2.  Re: Disable / Enable Probe on Condition
    Best Answer

    Posted 10-14-2017 05:39 AM



    Yes the mix (dirscan/nas with a lua script) seem to be one of the solution (with a local sqlite base to write the state and keep it up to date even if the nas is restarted etc..). Just by matching the desired alarm from dirscan ! 


    It will work for low-load at the nas level (but to match an high-load need a perl/java probe is the only acceptable solution for me).


    Best Regards,


  • 3.  Re: Disable / Enable Probe on Condition

    Posted 10-17-2017 09:26 AM

    I would more do something like:

    * use logmon (or dirscan) to check the condition

    * trigger a probe_disable callback on the controller on the probe you don't want to keep enabled