Forum Discussion

Julio_Navarro's avatar
Julio_Navarro
Icon for Cirrostratus rankCirrostratus
Jul 24, 2014

External Script Cron | using tmsh mark down by monitor

Hello;

 

My goal is to summarize several monitors in one external script. This script will run on a cron. Based on the result I would like to mark down by monitor using tmsh.... The only options I have is state [ user-up | user-down ] session [user-enabled | user-disabled] I tried state down but it didn't work...

 

Please advise...

 

1 Reply

  • Hi Navarro,

    if you are in the LTM Pool prompt:

    (tmos.ltm.pool)

    you can use:

    modify  members modify {  { state user-down } }
    

    to set the status of this member to "Force offline" or:

    modify  members modify {  { session user-disabled } }
    

    to just "Disable" the member.

    But I think both is not what you are looking for. How does your external script looks like and what about the option to use it as an external monitor? I think that should be your preferred option.

    Ciao Stefan 🙂