DX Unified Infrastructure Management

Expand all | Collapse all

How can I use the logmon to execute batch file with variable in Alarms as Command Arguments

  • 1.  How can I use the logmon to execute batch file with variable in Alarms as Command Arguments

    Posted Mar 21, 2017 05:38 PM

    How can I use the logmon to execute batch file with variable in Alarms as Command Arguments.

    When I key in the $ sign in Command Arguments field it did not show any available variables.

     



  • 2.  Re: How can I use the logmon to execute batch file with variable in Alarms as Command Arguments
    Best Answer

    Broadcom Employee
    Posted Mar 22, 2017 03:33 PM

    I found a case from 2014 where this was supposed to be fixed.

    But can not find anything in the release notes or docs on this.

    I am doing some further reseach on this.

     

    even though you can not do a $ to show variables is it failing when testing?

     

    the .cfg would look something like

                runcommandonmatch = yes             commandexecutable = ./probes/system/logmon.sh             commandarguments = ${var}