netcurmudgeon (netcurmudgeon) wrote,

  • Mood:
  • Music:

Random thoughts

I spend the day working from home. I managed to get done everything that was on my list to-do, plus a couple other things, and got to have both breakfast and lunch with ashacat. How good does it get?

MS Access is obnoxious, but handy.

Perl, however, is the Swiss Army chainsaw of network administration. [The promised thunderstorms have just arrived] I love it.

I spent a good chunk of the morning flogging away in Access working on a network closet inspection form. We now have a maintenance contract for our UPSs, so a tech from one of our vendors will be visiting every closet twice a year to test the UPSs, change batteries, collect asset data, etc. I wanted the inspection form to be pre-populated with information on the UPSs in any given closet, hence Access -- our homegrown asset tracking system lives in Access 97. Perhaps I shouldn't be surprised, but the end product of my labors looks an awful lot like a character sheet. :-)

After I cleared out some post-lunch administrativa, I settled down with my weapon of choice and got some coding done. The question was how do I retrieve copies of the configuration files on 49 switches without 'touching' each and every one of them? The answer was Perl's Net::FTP library. Feed the script a file with a list of switches in it, and have the script FTP into each of them and get the config files. The script takes about 74 seconds to fetch configurations from the 49 switches. The Net::telnet library is pretty darn nifty too. You can laugh at my code if you want to.
Tags: geeks, perl

  • Duly noted...

    Proposed in email yesterday by one of my people: VMware classes in India: Airfare $1,400 Course $700 Hotel $500 ------ Total $2,600 VMware in…

  • Home.

    ashacat is home. We are presently munching pizza. :-)

  • W00T! A -3.5h

    I just got off the phone with ashacat; she's camped out at her departure gate in Chicago. The flight from Frankfurt was crowded but fine.…

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.