On 11/18/14 06:12, Adam Moskowitz wrote:
> Would you please take a few moments to send me a description of the
> programs you've written in the last 3 or 6 or 12 months? Specifically,
> would you please send me the following:
> 
>       * language used
>       * number of lines
>       * very brief description (< 140 chars? :-) of what
>         the program does
>       * who runs the program:
>           1) you, from the command line
>           2) people in your group, from the command line
>           3) people outside your group, from the command line
>           4) "the system" via anything from cron to whatever
>              config management system you use
>           5) it's a web app
>           6) other

We’re a small K-12, and there are two of us doing system/network management (in 
my case, it’s only one of several hats that I wear).

We typically write in bash or perl.  Why perl?  It’s what I’m comfortable in, 
but its also (IMHO) matured as an excellent language.  It’s stable, but they 
keep making nice refinements to it over time.  I can dash off throwaway 
programs on the command line, or structure nice reusable modules.  It’s a 
language that I enjoy (as opposed to just tolerate).

Number of lines in the last year is probably a few thousand; I’m probably 
forgetting some of the stuff we’ve done.

We’ve written scripts to:

 - automate snapshots of received rsync backups
 - provide per-instance actions for VMs on our Ganeti cluster
 - provide a custom boot selector that uses btrfs to jump between different 
snapshots on a machine
 - massage data exported from our systems for integration with an external 
vendor
 - automate reporting from our Juniper switches using NETCONF
 - configure our Juniper wireless gear via HTTP-RPC (this is a work in 
progress, not sure if I’ll succeed)
 - manage 802.1X authentication as a perl module to FreeRADIUS
 - search firewall log files for DCMA violators
 - … a host of one-off “perl -e ‘’” scripts to scratch a quick itch

Most scripts are run on-demand by admins or from cron, with a few (like the 
FreeRADIUS auth thing) being run “by the system”.

Jason

--
Jason Healy    |    [email protected]    |   http://www.logn.net/




_______________________________________________
Tech mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to