Forum Discussion

Gregori_Parker_'s avatar
Gregori_Parker_
Icon for Nimbostratus rankNimbostratus
Oct 13, 2008

perl version of Network Map?

Hi - I've been trying to convert "Ps Local Traffic Map" (http://devcentral.f5.com/Wiki/default.aspx/iControl/PsLocalTrafficMap.html) to Perl, with little success.

 

 

Has anyone already done this? I'm by no means a developer, so I'm going crazy trying to get this useful powershell script translated. I've been doing a get_list() on VirtualServer, but cant seem to duplicate the get_default_pool_name() like Ps version is able to...it only works when I do it for each individual VIP name, which is expensive and slow. When I try to pass in the array I get back from get_list(), I end up with nothing.

 

 

Ultimately, I hope to replace the output of a working script with HTML and cgi the thing so that I can have my own 'Network Map' without upgrading my LTMs to 9.4.2

6 Replies

  • I haven't done it but I should be able to whip up a perl version in relatively short order. I'm pretty busy today but I'll try to fit in some time to write one if I can.

     

     

    -Joe
  • Hopefully this will help a little bit with your suffering!

     

     

    I haven't thoroughly tested it but I believe it will perform the same as the PowerShell version.

     

     

    http://devcentral.f5.com/Wiki/default.aspx/iControl/PerlLocalTrafficMap.html

     

    Click here

     

     

     

    Let me know if anything is off and I'll get it fixed.

     

     

    -Joe
  • That's perfect, I have exactly what I need to work with

     

     

    Thank you very much

     

     

    - Gregori
  • No problem. Please let us know how your progress is going. And, if you do end up with a CGI Network Map, if you wouldn't mind sharing it with the community, we'd very much appreciate it. You can either post it to this forum or up to the CodeShare and I'm sure that others would gain something from it.

     

     

    Please let me know if anything else comes up that you need assistance with.

     

     

    -Joe