Quantcast



Docs


Blogs


Forums


Samples


Media


Labs


Resources

 




DevCentral > Weblogs > Joe Pruitt - A Software Architect's take on Network Security
 The Network is blogging
posted on Monday, November 14, 2005 10:18 AM

Well, not quite, but almost...

A few weeks ago, Robert Scoble was here at F5 talking to us about our extensibility story with iControl and iRules. We had a great conversation but he left with one outstanding question:

Can you use iControl to build an RSS feed?

So, I took that as a challenge and started thinking about how we could transform the information we can pull off oa BIG-IP into a syndication feed. The answer was sort of obvious. How about aggregating network object status? Sounded good to me, so I set off an wrote one in perl.

There were a few issues I worked around, the biggest being object caching (so that your aggregator will only update when items have changed based on the timestamp).

Here is the usage:

http://server_address/path/NetworkStatus.cgi?args
args:
-----
host - BIG-IP address
port - connection port (default to 443)
user - BIG-IP username (read-only account or above).
pass - BIG-IP password
type - [node|pool|vs|all(default)]

I'd highly recommend not passing username and password on the wire. I'd hardcode those values into the RSS feed. I only put the options in for testing. One could easily build a map inside the code that stored user credentials per hostname. That way you could hide the credentials and make the cgi more dynamic.

I've uploaded my first take at it to CodeShare. Take a look and let me know what you think...

-Joe


Categories:  


Email This
  del.icio.us
      

Feedback


11/14/2005 4:28 PM
Gravatar AWESOME! So, you're saying I can consume network events with my RSS reader??
Jeff B

11/14/2005 9:54 PM
Gravatar It's not really consuming events. RSS is a pull model so it's more like consuming current state. Events imply a dynamic push.

Now, if you used the iControl Event Notification interface, you could consume events (that is, if your RSS reader aggregator could be modified to work in a push model instead of pull).

Fun Stuff!

-Joe

-Joe
Joe Pruitt

12/6/2005 4:11 PM
Gravatar This is great. Instead of a SNMPwalks this is effectively a SOAP walk!

This maybe good for integration with app monitoring tools - talking to the network and apps both via HTTP/SOAP might make it easier to write monitoring correlation applications.

I've got this working against our BigIPs and with a by making the description a CDATA it integrated beautifully with rss2html, also works with my Thunderbird RSS reader - so our BigIP now blogs too :)

Fun stuff indeed!
Tushaar Sethi

12/7/2005 11:28 AM
Gravatar Tushaar,

Glad to hear that you are able to make use of the code! Sorry I missed the CDATA section. I didn't think about the included html that could cause problems with rendering.

I've actually made a few optimizations to it recently so in the next day or so I'll update CodeShare with my latest code including your CDATA fix. Is there anything else you'd like rolled into the code?
Joe Pruitt

5/15/2007 2:20 PM
Gravatar The network is Twittering
Joe Pruitt

11/16/2008 5:24 AM
Gravatar Free gay chat with video.
Calico film music design free gay video chat guys.
 Leave Feedback
Title  
Name  
Email
Url
Comments   
Please add 8 and 7 and type the answer here: