Forum Discussion

3 Replies

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    Not really...

     

    iRules are pieces of code that are driven by events. The events are triggered due to connections coming in, and are tied to connections. There is no way to trigger an iRule like a cron job.

     

    However. If you only want to export and clear pool stats, you can use a tmsh script on the host itself. Or access the stats via REST or SOAP (iControl) from an external host and do it that way.

     

    H

     

  • Thanks Hamish! I'll see if I can work out a tmsh script for that. I'm a network guy without a lot of unix experience so is there a good tmsh command reference that you know of which would show expamples for b conn and b pool? I assume a tmsh script can be scheduled with cron as well?

     

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    For tmsh docs, there's the tmsh reference manuals on tech.f5.com and whatever tmsh scripts you can find in the codeshare here on devcentral. There's some quite good ones in there showing some cool stuff that various people (Jason etc) have written and placed online.

     

    H