I have a new favorite term: M…
Posted by Charles Wimmer in Uncategorized on August 8, 2009
I have a new favorite term: Meat Cloud. http://is.gd/Ega
Google considers 4.9MW a “smal…
Posted by Charles Wimmer in Uncategorized on July 16, 2009
Google considers 4.9MW a “small” Data center.
. . . “to eliminate any inaccu…
Posted by Charles Wimmer in Uncategorized on July 16, 2009
. . . “to eliminate any inaccuracies that can occur when measuring small values.”
From the article: “It is worth…
Posted by Charles Wimmer in Uncategorized on July 16, 2009
From the article: “It is worth noting that we only show data for facilities with an actual IT load above 5MW, ” . . .
RT @google: Data center effici…
Posted by Charles Wimmer in Uncategorized on July 16, 2009
RT @google: Data center efficiency measurements for Q2 now available http://bit.ly/EwgLr
My Father, ladies and gentleme…
Posted by Charles Wimmer in Uncategorized on July 3, 2009
My Father, ladies and gentlemen. http://tinyurl.com/nbpctq
You really can’t understand yo…
Posted by Charles Wimmer in Uncategorized on July 3, 2009
You really can’t understand your addiction to the network until trapped in a house without it. http://myloc.me/7kyr
Mary Isobel ‘Mollie’ Sugden (2…
Posted by Charles Wimmer in Uncategorized on July 3, 2009
Mary Isobel ‘Mollie’ Sugden (21 July 1922 – 1 July 2009) — I certainly hope someone is watching after her pussy. http://tinyurl.com/n72loy
Just watched Burn After Readin…
Posted by Charles Wimmer in Uncategorized on July 1, 2009
Just watched Burn After Reading. Frakkin’ hilarious. Coen brothers nailed it.
Syslog Project: Limiting Logfile Size
Posted by Charles Wimmer in Cisco, NetApp, OpenSolaris, Solaris, Solaris 10, VMware on June 23, 2009
I had a busy weekend and Monday, so I didn’t get to work on this project as much as I would have liked.
Today, I worked on splitting out the emerg, crit, and alert messages so they may be acted upon more rapidly. I also got the max file size with rotation set up for all the files that will be read by SEC. The rotation was incredibly simple with rsyslog.
After today’s work (and some new filesystem creation) the config file for rsyslog looks like this:
$ModLoad immark $ModLoad ommail $MarkMessagePeriod 1200 $ModLoad imuxsock $ModLoad imudp $UDPServerAddress * $UDPServerRun 514 $ModLoad imtcp $template HostDirs,"/logs/archive/%HOSTNAME%/%$year%/%$month%/%$day%/%syslogfacility-text%-%syslogseverity-text%.log" $outchannel all_log, /logs/current/all.log, 52428800, /logs/current/rotate.all.log.sh $outchannel emerg_log, /logs/current/emerg.log, 52428800, /logs/current/rotate.emerg.log.sh $outchannel crit_log, /logs/current/crit.log, 52428800, /logs/current/rotate.crit.log.sh $outchannel alert_log, /logs/current/alert.log, 52428800, /logs/current/rotate.alert.log.sh *.* ?HostDirs & $all_log *.=emerg $emerg_log *.=alert $alert_log *.=crit $crit_log
Unless something unforeseen comes up, I think I’m probably done with the rsyslog config file. All the heavy lifting will be done by SEC.
First, I’ll write SEC config files that parse through the emerg, alert, and crit logs in the same way a Perl script does today. It shouldn’t be too hard to port a Perl script in to SEC config language. The hard part will be the handling of everything that goes in to all.log.
This morning, rsyslog 4.2.0 was released with a tag of STABLE. Given the stable tag, I’ll probably update my package to 4.2.0 and start using it in a few days.