<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sysadmin &#187; Cisco</title>
	<atom:link href="http://wimmer.net/sysadmin/category/cisco/feed/" rel="self" type="application/rss+xml" />
	<link>http://wimmer.net/sysadmin</link>
	<description>Random musings of a Sysadmin</description>
	<lastBuildDate>Mon, 12 Jul 2010 13:53:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Syslog Project: Limiting Logfile Size</title>
		<link>http://wimmer.net/sysadmin/2009/06/23/syslog-project-limiting-logfile-size/</link>
		<comments>http://wimmer.net/sysadmin/2009/06/23/syslog-project-limiting-logfile-size/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 23:26:20 +0000</pubDate>
		<dc:creator>Charles Wimmer</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[NetApp]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://wimmer.net/sysadmin/?p=148</guid>
		<description><![CDATA[I had a busy weekend and Monday, so I didn&#8217;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 [...]]]></description>
			<content:encoded><![CDATA[<p>I had a busy weekend and Monday, so I didn&#8217;t get to work on this project as much as I would have liked.</p>
<p>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.</p>
<p>After today&#8217;s work (and some new filesystem creation) the config file for rsyslog looks like this:</p>
<pre>$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
&amp; $all_log

*.=emerg $emerg_log

*.=alert $alert_log

*.=crit $crit_log</pre>
<p>Unless something unforeseen comes up, I think I&#8217;m probably done with the rsyslog config file.  All the heavy lifting will be done by SEC.</p>
<p>First, I&#8217;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&#8217;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.</p>
<p>This morning, rsyslog 4.2.0 was released with a tag of STABLE.  Given the stable tag, I&#8217;ll probably update my package to 4.2.0 and start using it in a few days.</p>
]]></content:encoded>
			<wfw:commentRss>http://wimmer.net/sysadmin/2009/06/23/syslog-project-limiting-logfile-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syslog Project: Initial configuration</title>
		<link>http://wimmer.net/sysadmin/2009/06/18/syslog-project-initial-configuration/</link>
		<comments>http://wimmer.net/sysadmin/2009/06/18/syslog-project-initial-configuration/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 02:42:49 +0000</pubDate>
		<dc:creator>Charles Wimmer</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[NetApp]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://wimmer.net/sysadmin/?p=127</guid>
		<description><![CDATA[So, I got the package built and installed yesterday.  Today I worked on an initial configuration file.
For long term storage, I want to store the data in a directory structure like: /var/log/&#60;hostname&#62;/&#60;year&#62;/&#60;month&#62;/&#60;day&#62;/&#60;facility&#62;-&#60;severity&#62;.log
I plan to use SEC to handle the filtering of the log messages and acting on them.  To make it easy to get log [...]]]></description>
			<content:encoded><![CDATA[<p>So, I got the package built and installed yesterday.  Today I worked on an initial configuration file.</p>
<p>For long term storage, I want to store the data in a directory structure like: /var/log/&lt;hostname&gt;/&lt;year&gt;/&lt;month&gt;/&lt;day&gt;/&lt;facility&gt;-&lt;severity&gt;.log</p>
<p>I plan to use <a href="http://kodu.neti.ee/~risto/sec/">SEC</a> to handle the filtering of the log messages and acting on them.  To make it easy to get log entries into  SEC, I&#8217;m going to send all log entries to a single log file.</p>
<pre>$ModLoad immark
$ModLoad ommail
$MarkMessagePeriod 1200
$ModLoad imuxsock
$ModLoad imudp
$UDPServerAddress *
$UDPServerRun 514
$ModLoad imtcp
$template HostDirs,"/var/log/%HOSTNAME%/%$year%/%$month%/%$day%/%syslogfacility-text%-%syslogseverity-text%.log"
*.* ?HostDirs
&amp; /var/log/test.log</pre>
<p>Tomorrow, I&#8217;m going to use an output template to limit the size of test.log file.</p>
]]></content:encoded>
			<wfw:commentRss>http://wimmer.net/sysadmin/2009/06/18/syslog-project-initial-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syslog Project: Choice of Syslog Daemon</title>
		<link>http://wimmer.net/sysadmin/2009/06/16/syslog-project-choice-of-syslog-daemon/</link>
		<comments>http://wimmer.net/sysadmin/2009/06/16/syslog-project-choice-of-syslog-daemon/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 21:54:24 +0000</pubDate>
		<dc:creator>Charles Wimmer</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[NetApp]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://wimmer.net/sysadmin/?p=123</guid>
		<description><![CDATA[First choice to make in my syslog project is which daemon to use.  Syslog-ng seems to be the best supported by the community.  Rsyslog is also another contender.
I started down the path of using Syslog-ng.  Solaris is our platform of choice for infrastructure systems.  I&#8217;ve spent several weeks (part time) trying to get Syslog-ng to [...]]]></description>
			<content:encoded><![CDATA[<p>First choice to make in my syslog project is which daemon to use.  Syslog-ng seems to be the best supported by the community.  Rsyslog is also another contender.</p>
<p>I started down the path of using Syslog-ng.  Solaris is our platform of choice for infrastructure systems.  I&#8217;ve spent several weeks (part time) trying to get Syslog-ng to compile on Solaris 10.  I&#8217;ve had different problems on x86, sun4u and sun4v.  I&#8217;ve tried 3.x, 2.x, and 1.6.x.</p>
<p>After a particularly frustrating afternoon of build errors with Syslog-ng, I decided to give Rsyslog a shot.  I first downloaded the version dubbed &#8217;stable&#8217;, 3.22.0.  It had a couple of build problems right out of the box that were Solaris specific.  They showed up clearly on the mailing lists.  The build problems were addressed in the 4.x branch, so I downloaded 4.1.7.  It compiled and installed without incident.</p>
<p>At this point, I think I&#8217;m going with Rsyslog.  It has all the features I need and doesn&#8217;t look like it will consume much of my time.</p>
<p>Tomorrow I&#8217;ll try to create a package for Solaris with SMF and default config file.</p>
]]></content:encoded>
			<wfw:commentRss>http://wimmer.net/sysadmin/2009/06/16/syslog-project-choice-of-syslog-daemon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Project:  Scalable Syslog Infrastructure</title>
		<link>http://wimmer.net/sysadmin/2009/06/15/new-project-scalable-syslog-infrastructure/</link>
		<comments>http://wimmer.net/sysadmin/2009/06/15/new-project-scalable-syslog-infrastructure/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 21:26:58 +0000</pubDate>
		<dc:creator>Charles Wimmer</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[NetApp]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://wimmer.net/sysadmin/?p=119</guid>
		<description><![CDATA[I&#8217;m starting a new project.  I need to refresh our aging syslog infrastructure.
Currently, we have a FreeBSD based central syslog server.  It receives about 10 million syslog messages per day.  They messages come from a mix of Solaris, Cisco, Windows, VMware, and NetApp servers.
The only automation is a simple perl scripts that generates an email [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m starting a new project.  I need to refresh our aging syslog infrastructure.</p>
<p>Currently, we have a FreeBSD based central syslog server.  It receives about 10 million syslog messages per day.  They messages come from a mix of Solaris, Cisco, Windows, VMware, and NetApp servers.</p>
<p>The only automation is a simple perl scripts that generates an email when an event is alert or higher severity.  I would like to change the way we react to syslog messages.  Instead of reacting solely on the basis of severity, I would like to process all the well known, frequently hit cases.  Over time we could reduce the number of unknown log messages that appear in the system.</p>
<p>In the end, we will have fewer alerts and a deeper understanding of what is going on in our systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://wimmer.net/sysadmin/2009/06/15/new-project-scalable-syslog-infrastructure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My favorite IOS command: &#8217;sh d&#8230;</title>
		<link>http://wimmer.net/sysadmin/2009/03/07/my-favorite-ios-command-sh-d/</link>
		<comments>http://wimmer.net/sysadmin/2009/03/07/my-favorite-ios-command-sh-d/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 22:23:11 +0000</pubDate>
		<dc:creator>Charles Wimmer</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[tweets]]></category>

		<guid isPermaLink="false">http://wimmer.net/sysadmin/2009/03/07/my-favorite-ios-command-sh-d/</guid>
		<description><![CDATA[My favorite IOS command: &#8217;sh dot ass&#8217; #cisco #ios
]]></description>
			<content:encoded><![CDATA[<p>My favorite IOS command: &#8217;sh dot ass&#8217; #<a href="http://search.twitter.com/search?q=%23cisco">cisco</a> #<a href="http://search.twitter.com/search?q=%23ios">ios</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wimmer.net/sysadmin/2009/03/07/my-favorite-ios-command-sh-d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

