Forum Discussion

mfkk531_168091's avatar
mfkk531_168091
Icon for Nimbostratus rankNimbostratus
Sep 28, 2016

Export Show sys Connection output to google API

Hi All, I'm trying to develop a real-time graph using google API that shows me how many Clients are connected to F5 VIP.

 

So i need the raw data (list of all client IPs that are currently connected to the f5 vip).

 

Normally we have around 5000 connections.

 

 

Any ideas how i can export the "show sys conn" output to a file every 1 minute or 3 minues etc.

 

 

Thanks in advance.

 

1 Reply

  • Create a simple executable script (In your script you may place the command that needs to be executed) and place it under a cron job in the device

     

    Crontab Format: Min Hour DOM MON DOW CMD

     

    0/3 * * * * ./your_script.sh

     

    Else;

     

    **0/3 * * * * tmsh show sys connection > yourfile.txt

     

    Then you may do some file handling and achieve the task of Graphical Representation.