<?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>nf0's Life</title>
	<atom:link href="http://www.10500bc.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.10500bc.org</link>
	<description>Living the Digital Lifestyle Down on the Farm</description>
	<lastBuildDate>Tue, 02 Mar 2010 11:19:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Nagios &#8211; Notify via Prowl</title>
		<link>http://www.10500bc.org/archive/2010/01/07/nagios-notify-via-prowl/</link>
		<comments>http://www.10500bc.org/archive/2010/01/07/nagios-notify-via-prowl/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 02:58:26 +0000</pubDate>
		<dc:creator>nf0</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.10500bc.org/?p=4638</guid>
		<description><![CDATA[If your not familiar with Prowl, then check it out. It allows your growl notifications to be sent to your iPhone via push. I use this in several different ways on my home computer to notifications when I&#8217;m out at about. You can also access the prowl service directly with its API, so no need [...]]]></description>
			<content:encoded><![CDATA[<p>If your not familiar with <a href="http://prowl.weks.net/">Prowl</a>, then check it out. It allows your growl notifications to be sent to your iPhone via push. I use this in several different ways on my home computer to notifications when I&#8217;m out at about. You can also access the prowl service directly with its API, so no need to even have it go to growl first.</p>
<p>I like using Prowl (in addition to Growl) with nagios. This allows me to get my notifications anywhere as long as I have my iphone. Just like with the growl notifications, the prowl notifications are just as easy to setup. It is very well documented <a href="http://reluctanthacker.rollett.org/content/setting-nagios3-send-prowl-notifications">here at the Reluctant Hacker</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.10500bc.org/archive/2010/01/07/nagios-notify-via-prowl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios &#8211; Notify via Growl</title>
		<link>http://www.10500bc.org/archive/2010/01/06/nagios-notify-via-growl/</link>
		<comments>http://www.10500bc.org/archive/2010/01/06/nagios-notify-via-growl/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 02:50:34 +0000</pubDate>
		<dc:creator>nf0</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.10500bc.org/?p=4636</guid>
		<description><![CDATA[There are several different ways to get notified by nagios when there is a problem. The most common way is via email. This is usally just fine, except when the service that goes down is the mailserver. There are ways to mitigate this of course.
One simple was is to get your notifications via growl. I [...]]]></description>
			<content:encoded><![CDATA[<p>There are several different ways to get notified by nagios when there is a problem. The most common way is via email. This is usally just fine, except when the service that goes down is the mailserver. There are ways to mitigate this of course.</p>
<p>One simple was is to get your notifications via growl. I really like this, it lets me know almost instantly when some is going on and I don&#8217;t have to worry about keeping my eyes on my email program while I&#8217;m busy on something else.</p>
<p>The way I implemented it was from a great script and good write up on the Nagios-users mailing list, you can see it all right here: <a href="http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg26900.html">Notify via Growl</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.10500bc.org/archive/2010/01/06/nagios-notify-via-growl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checking the snort process from nagios</title>
		<link>http://www.10500bc.org/archive/2010/01/05/checking-the-snort-process-from-nagios/</link>
		<comments>http://www.10500bc.org/archive/2010/01/05/checking-the-snort-process-from-nagios/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 06:40:38 +0000</pubDate>
		<dc:creator>nf0</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.10500bc.org/?p=4634</guid>
		<description><![CDATA[I&#8217;m checking the snort basically like i&#8217;m checking most processes, if you&#8217;ve been following allong then you&#8217;ll already have a check_procs setup.
So I simply edit my localhost.cfg and add:
define service{
use                          [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m checking the snort basically like i&#8217;m checking most processes, if you&#8217;ve been following allong then you&#8217;ll already have a check_procs setup.</p>
<p>So I simply edit my localhost.cfg and add:<br />
define service{<br />
use                             generic-service<br />
host_name                       localhost<br />
service_description             Snort<br />
check_command                   check_snort_procs!1:1!snort<br />
}</p>
<p>Edit the commands.cfg and add:<br />
define command{<br />
command_name    check_snort_procs<br />
command_line    $USER1$/check_procs -c $ARG1$ -C $ARG2$<br />
}</p>
<p>reload nagios and thats it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.10500bc.org/archive/2010/01/05/checking-the-snort-process-from-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My BASE (for Snort) Install Notes for OSX</title>
		<link>http://www.10500bc.org/archive/2010/01/04/my-base-for-snort-install-notes-for-osx/</link>
		<comments>http://www.10500bc.org/archive/2010/01/04/my-base-for-snort-install-notes-for-osx/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 06:22:05 +0000</pubDate>
		<dc:creator>nf0</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.10500bc.org/?p=4632</guid>
		<description><![CDATA[To get base up and going with snort already installed I did the following.
1. Downlaod ADOdb (database abstraction library for PHP) : http://sourceforge.net/projects/adodb/files/
The version I got was adodb510.tgz
2. Unzip and untar the file
tar -xvzf adodb510.tgz
3. Move the folder
I did:
cp -R adodb5/ /Library/WebServer/Documents/adodb5/
4. Download base: http://sourceforge.net/projects/secureideas/    The version I got was: base-1.4.4.tar.gz
5. Unzip [...]]]></description>
			<content:encoded><![CDATA[<p>To get base up and going with snort already installed I did the following.<br />
1. Downlaod ADOdb (database abstraction library for PHP) : http://sourceforge.net/projects/adodb/files/<br />
The version I got was adodb510.tgz</p>
<p>2. Unzip and untar the file<br />
tar -xvzf adodb510.tgz</p>
<p>3. Move the folder<br />
I did:<br />
cp -R adodb5/ /Library/WebServer/Documents/adodb5/</p>
<p>4. Download base: http://sourceforge.net/projects/secureideas/    The version I got was: base-1.4.4.tar.gz</p>
<p>5. Unzip and tar the file<br />
tar -xvzf base-1.4.4.tar.gz</p>
<p>6. You should now have a folder: base-1.4.4/<br />
cd base-1.4.4/</p>
<p>7. Copy the base folder to your webserver folder<br />
cp base-1.4.4/ /Library/WebServer/Documents/base/<br />
change the owner on the folder<br />
sudo chown -R _www:_www /Library/WebServer/Documents/base/<br />
*NOTE*<br />
With this version there was a known problem with the file: base_state_citems.inc.php on some setups, mine included.<br />
So I had to download the fixed version from CVS<br />
You can also download it from the website, follow the link from here:<br />
http://secureideas.cvs.sourceforge.net/viewvc/secureideas/base-php4/includes/base_state_citems.inc.php?view=log<br />
it goes in your /base/templates/</p>
<p>8. Now install the needed pear extensions for graphs to work in base<br />
On my system it was as follows:<br />
First I had to update pear to the rest of the packages would work:<br />
sudo /usr/local/php5/bin/pear install PEAR-1.9.0</p>
<p>Then the following packages:<br />
sudo /usr/local/php5/bin/pear install Image_Color<br />
sudo /usr/local/php5/bin/pear install Image_Canvas-0.3.2<br />
sudo /usr/local/php5/bin/pear install Image_Graph-0.7.2</p>
<p>9. Open up base in your browser:<br />
http://localhost/base/setup/index.php<br />
You should get the page up with the settings, if you have any errors you need to fix them first with their suggestions.<br />
Once you answer all the setup questions you should have a working base install.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.10500bc.org/archive/2010/01/04/my-base-for-snort-install-notes-for-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Snort on OSX Install Notes</title>
		<link>http://www.10500bc.org/archive/2010/01/03/my-snort-on-osx-install-notes/</link>
		<comments>http://www.10500bc.org/archive/2010/01/03/my-snort-on-osx-install-notes/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 00:32:07 +0000</pubDate>
		<dc:creator>nf0</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.10500bc.org/?p=4630</guid>
		<description><![CDATA[1 Download Snort2 Download pcre
3 Untar pcre
4 Cd to pcre
5 ./configure
make
make install
(NOTE:  Install prefix &#8230;&#8230;&#8230;&#8230;&#8230;&#8230; : /usr/local)
6 Untar Snort
7 CD to snort
8 ./configure -enable-dynamicplugin &#8211;with-mysql &#8211;with-mysql-includes=/opt/local/include/mysql5/ &#8211;with-mysql-libraries=/opt/local/lib/mysql5/mysql/
9 make
10 sudo make install
/usr/bin/install -c -m 644 &#8216;./snort.8&#8242; &#8216;/usr/local/man/man8/snort.8&#8242;
test -z &#8220;/usr/local/lib/pkgconfig&#8221; &#124;&#124; /bin/sh ./mkinstalldirs &#8220;/usr/local/lib/pkgconfig&#8221;
/usr/bin/install -c -m 644 &#8217;snort.pc&#8217; &#8216;/usr/local/lib/pkgconfig/snort.pc&#8217;
11. Get the rules from the snort site [...]]]></description>
			<content:encoded><![CDATA[<p>1 Download Snort2 Download pcre<br />
3 Untar pcre<br />
4 Cd to pcre<br />
5 ./configure<br />
make<br />
make install<br />
(NOTE:  Install prefix &#8230;&#8230;&#8230;&#8230;&#8230;&#8230; : /usr/local)<br />
6 Untar Snort<br />
7 CD to snort<br />
8 ./configure -enable-dynamicplugin &#8211;with-mysql &#8211;with-mysql-includes=/opt/local/include/mysql5/ &#8211;with-mysql-libraries=/opt/local/lib/mysql5/mysql/<br />
9 make<br />
10 sudo make install<br />
/usr/bin/install -c -m 644 &#8216;./snort.8&#8242; &#8216;/usr/local/man/man8/snort.8&#8242;<br />
test -z &#8220;/usr/local/lib/pkgconfig&#8221; || /bin/sh ./mkinstalldirs &#8220;/usr/local/lib/pkgconfig&#8221;<br />
/usr/bin/install -c -m 644 &#8217;snort.pc&#8217; &#8216;/usr/local/lib/pkgconfig/snort.pc&#8217;</p>
<p>11. Get the rules from the snort site and untar them<br />
I used snorttemp as the folder<br />
12. Make a folder for the rules<br />
mkdir /opt/local/etc/snort/<br />
mkdir /opt/local/etc/snort/rules/<br />
13. Copy the rules over<br />
cd ~/snorttemp/rules/<br />
cp * /opt/local/etc/snort/rules/<br />
I also copied over the etc folder<br />
cd ~/snorttemp/etc/<br />
cp * /opt/local/etc/snort/<br />
14. Edit the Snort configuration<br />
vi /opt/local/etc/snort/snort.cfg<br />
change &#8220;var HOME_NET any&#8221; to &#8220;var HOME_NET 192.168.0.0/24&#8243; or whatever your home network is<br />
change &#8220;var EXTERNAL_NET any&#8221; to &#8220;var EXTERNAL_NET !$HOME_NET&#8221; This is everything except your home network<br />
change &#8220;var RULE_PATH ../rules&#8221; to &#8220;var RULE_PATH /opt/local/etc/snort/rules&#8221;<br />
goto the line that starts with &#8220;# output database: log, mysql, user=&#8221; and remove the # from the begining of the line<br />
enter your user password and db name<br />
15. mysql setup<br />
log in to mysql as root<br />
mysql -u root -p</p>
<p>create a snort database<br />
mysql&gt; create database snort;</p>
<p>create a user and password to match your mysql setup in the snort config:<br />
mysql&gt; CREATE USER &#8217;snort&#8217;@'localhost&#8217; IDENTIFIED BY &#8217;somepassword&#8217;;</p>
<p>give that user access to the database<br />
mysql&gt;  GRANT ALL PRIVILEGES ON snort.* TO &#8217;snort&#8217;@'localhost&#8217;;<br />
mysql&gt; exit</p>
<p>Import the snort schema into the database.<br />
mysql -D snort -u root -p &lt; /schemas/create_mysql</p>
<p>16. Start it up<br />
snort -c /opt/local/etc/snort/snort.conf</p>
<p>If it works it should look something like:<br />
&#8211;== Initialization Complete ==&#8211;</p>
<p>,,_     -*&gt; Snort! &lt;*-<br />
o&#8221;  )~   Version 2.8.5.1 (Build 114)<br />
&#8221;&#8221;    By Martin Roesch &#38; The Snort Team: http://www.snort.org/snort/snort-team</p>
<p>You can use ctrl+c to stop it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.10500bc.org/archive/2010/01/03/my-snort-on-osx-install-notes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Debian Boot Thumb drive from OSX</title>
		<link>http://www.10500bc.org/archive/2009/12/30/debian-boot-thumb-drive-from-osx/</link>
		<comments>http://www.10500bc.org/archive/2009/12/30/debian-boot-thumb-drive-from-osx/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 03:23:07 +0000</pubDate>
		<dc:creator>nf0</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.10500bc.org/?p=4628</guid>
		<description><![CDATA[Last week I had a need to create a debian boot disk. The computer I needed to use it on doesn&#8217;t have a CD and I didn&#8217;t feel like purchasing a USB CD reader just for the purpose of loading debian, and I didn&#8217;t feel like waiting until I could go to down or have [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I had a need to create a debian boot disk. The computer I needed to use it on doesn&#8217;t have a CD and I didn&#8217;t feel like purchasing a USB CD reader just for the purpose of loading debian, and I didn&#8217;t feel like waiting until I could go to down or have it shipped.</p>
<p>So I had to make a boot disk. I&#8217;ve done it in Linux several times before but never from OSX. So the commands aren&#8217;t exactly the same, here are my notes taken from a couple places on the web, which should serve as a reminder for the next time I have do to it.</p>
<p>First I downloaded the debian image I wanted to use from there site.<br />
Next I stuck the thumb drive in the box.<br />
from the termial (I use iTerm)<br />
#diskutil list<br />
mine was listed as /dev/disk1<br />
#diskutil unmountDisk /dev/disk1<br />
#bzcat debian.img | dd of=/dev/disk1<br />
#diskutil eject /dev/disk1</p>
<p>It was a simple as that. To test i stuck it in my handy netbook and reboot and I was at the lovely command prompt. Then of course other things happened that required my attention so I haven&#8217;t gotten back to that project of getting the box installed yet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.10500bc.org/archive/2009/12/30/debian-boot-thumb-drive-from-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checking the Splunk Process from Nagios</title>
		<link>http://www.10500bc.org/archive/2009/12/27/checking-the-splunk-process-from-nagios/</link>
		<comments>http://www.10500bc.org/archive/2009/12/27/checking-the-splunk-process-from-nagios/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 04:01:09 +0000</pubDate>
		<dc:creator>nf0</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.10500bc.org/?p=4626</guid>
		<description><![CDATA[Now its time to have Nagios check to make sure that splunk is running. For version 3 of Splunk there was a app / plugin you could get for Splunk that would work with Nagios. It appears to be gone. But I did find a snippet that some one posted here. Several things have changed [...]]]></description>
			<content:encoded><![CDATA[<p>Now its time to have Nagios check to make sure that splunk is running. For version 3 of Splunk there was a app / plugin you could get for Splunk that would work with Nagios. It appears to be gone. But I did find a snippet that some one posted <a href="http://pastie.org/474921.txt">here</a>. Several things have changed so that script doesn&#8217;t work 100% out by cut and paste, but it was an excellent jumping off point and it took very few modifications to get going. Due to the fact that there is a copy right on this script, then I can&#8217;t put it here with out permission. But I will note that you can do the same thing almost by using the default nagios check_procs command.</p>
<p>So copy that script as check_splunk and stick it in your libexec folder. If your playing along with my setup thats: /opt/local/libexec/nagios</p>
<p>Once you have it downloaded you can ./check_splunk ports or procs<br />
I didn&#8217;t worry about checking or trying to edit the search portion as for what I&#8217;m doing I don&#8217;t really need it right now, but I will revisit it if the need arises.</p>
<p>Now you have the script, its time todo the normal nagios setup stuff.<br />
1. Add it to your commands<br />
vi /opt/local/etc/nagios/objects/commands.cfg</p>
<p>define command {<br />
command_name    check_splunk<br />
command_line    $USER1$/check_splunk $ARG1$<br />
}</p>
<p>2. Add it to your localhost<br />
vi /opt/local/etc/nagios/objects/localhost.cfg</p>
<p>define service{<br />
use                             generic-service<br />
host_name                       localhost<br />
service_description             Splunk Port<br />
check_command                   check_splunk!ports<br />
}</p>
<p>define service{<br />
use                             generic-service<br />
host_name                       localhost<br />
service_description             Splunk Procs<br />
check_command                   check_splunk!procs<br />
}</p>
<p>Now restart nagios and you should be good to go</p>
]]></content:encoded>
			<wfw:commentRss>http://www.10500bc.org/archive/2009/12/27/checking-the-splunk-process-from-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Cacti Logs to Splunk</title>
		<link>http://www.10500bc.org/archive/2009/12/23/adding-cacti-logs-to-splunk/</link>
		<comments>http://www.10500bc.org/archive/2009/12/23/adding-cacti-logs-to-splunk/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 02:09:11 +0000</pubDate>
		<dc:creator>nf0</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.10500bc.org/?p=4624</guid>
		<description><![CDATA[This basically the same process as adding the nagios logs, but I&#8217;ll put it up anyway.
1. Click Manager in the upper right-hand corner of Splunk Web.
2. Under System configurations, click Data Inputs.
3. Click Files and directories.
4. Click New to add an input
I choose Monitor a file or directory
6. Specify the path to the file:
With my [...]]]></description>
			<content:encoded><![CDATA[<p>This basically the same process as adding the nagios logs, but I&#8217;ll put it up anyway.</p>
<p>1. Click Manager in the upper right-hand corner of Splunk Web.<br />
2. Under System configurations, click Data Inputs.<br />
3. Click Files and directories.<br />
4. Click New to add an input<br />
I choose Monitor a file or directory<br />
6. Specify the path to the file:<br />
With my setup it is:<br />
/Library/WebServer/Documents/cacti/log/cacti.log<br />
7. Under Host Heading<br />
I choose constant value<br />
8. Under Source Type<br />
I choose Automatic<br />
9. Click Save</p>
<p>Thats it now your cacti logs show up in splunk.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.10500bc.org/archive/2009/12/23/adding-cacti-logs-to-splunk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checking the OSSEC Processes from Nagios</title>
		<link>http://www.10500bc.org/archive/2009/12/22/checking-the-ossec-processes-from-nagios/</link>
		<comments>http://www.10500bc.org/archive/2009/12/22/checking-the-ossec-processes-from-nagios/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 04:45:42 +0000</pubDate>
		<dc:creator>nf0</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.10500bc.org/?p=4622</guid>
		<description><![CDATA[There are several OSSEC processes that are running at once. So I&#8217;ll add some simple process checking to nagios to make sure I know they are running. One note is that if you haven&#8217;t enabled the ossec-csyslogd to run (I did that to talk to splunk) then you won&#8217;t need that one. So here we [...]]]></description>
			<content:encoded><![CDATA[<p>There are several OSSEC processes that are running at once. So I&#8217;ll add some simple process checking to nagios to make sure I know they are running. One note is that if you haven&#8217;t enabled the ossec-csyslogd to run (I did that to talk to splunk) then you won&#8217;t need that one. So here we go, its easy.</p>
<p>1. Add it to your commands (Note I&#8217;m adding a new command for this instead of using the command already there so I can pass some different information, plus I like to keep all my modifications separate to make things easier to reproduce on other boxes)</p>
<p>vi /opt/local/etc/nagios/objects/commands.cfg</p>
<p># &#8216;check_ossec_procs&#8217; command definition<br />
define command{<br />
command_name    check_ossec_procs<br />
command_line    $USER1$/check_procs -c $ARG1$ -C ARG2$<br />
}</p>
<p>2. Add it to your localhost<br />
vi /opt/local/etc/nagios/objects/localhost.cfg</p>
<p>define service{<br />
use                             generic-service<br />
host_name                       localhost<br />
service_description             OSSEC csyslogd<br />
check_command                   check_ossec_procs!1:1!ossec-csyslogd<br />
}</p>
<p>define service{<br />
use                             generic-service<br />
host_name                       localhost<br />
service_description             OSSEC maild<br />
check_command                   check_ossec_procs!1:1!ossec-maild<br />
}</p>
<p>define service{<br />
use                             generic-service<br />
host_name                       localhost<br />
service_description             OSSEC execd<br />
check_command                   check_ossec_procs!1:1!ossec-execd<br />
}</p>
<p>define service{<br />
use                             generic-service<br />
host_name                       localhost<br />
service_description             OSSEC analysisd<br />
check_command                   check_ossec_procs!1:1!ossec-analysisd<br />
}</p>
<p>define service{<br />
use                             generic-service<br />
host_name                       localhost<br />
service_description             OSSEC logcollector<br />
check_command                   check_ossec_procs!1:1!ossec-logcollector<br />
}</p>
<p>define service{<br />
use                             generic-service<br />
host_name                       localhost<br />
service_description             OSSEC monitord<br />
check_command                   check_ossec_procs!1:1!ossec-monitord<br />
}</p>
<p>Now just reload nagios and you should be able to tell if you ossec process is there or not.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.10500bc.org/archive/2009/12/22/checking-the-ossec-processes-from-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding OSSEC Alerts to Splunk</title>
		<link>http://www.10500bc.org/archive/2009/12/21/adding-ossec-alerts-to-splunk/</link>
		<comments>http://www.10500bc.org/archive/2009/12/21/adding-ossec-alerts-to-splunk/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 03:15:17 +0000</pubDate>
		<dc:creator>nf0</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.10500bc.org/?p=4619</guid>
		<description><![CDATA[Next up I want to add my OSSEC Alerts to Splunk. This is slightly more complicated then adding the nagios logs, but well document. The main part of this comes from the OSSEC Wiki Here. And the rest from the forums. But I&#8217;ll put it all here for my reference.
1. Edit your ossec.conf (If you&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>Next up I want to add my OSSEC Alerts to Splunk. This is slightly more complicated then adding the nagios logs, but well document. The main part of this comes from the OSSEC Wiki Here. And the rest from the forums. But I&#8217;ll put it all here for my reference.</p>
<p>1. Edit your ossec.conf (If you&#8217;ve installed it like I have its located at:  /var/ossec/etc/ossec.conf)<br />
add the following block:<br />
&lt;syslog_output&gt;<br />
&lt;server&gt;172.10.2.3&lt;/server&gt;<br />
&lt;port&gt;10002&lt;/port&gt;<br />
&lt;/syslog_output&gt;</p>
<p>2. Enable syslog_output module and restart OSSEC:<br />
#/var/ossec/bin/ossec-control enable client-syslog<br />
#/var/ossec/bin/ossec-control restart</p>
<p>On restart you&#8217;ll see ossec-csyslogd starting up.</p>
<p>On the Splunk Side<br />
1. Goto Manager<br />
2. Goto Data Inputs<br />
3. On UDP click Add New<br />
4. On my setup the UPD Port is 10002<br />
5. Set sourcetype is Manual<br />
6. Source type is ossec<br />
7. Save</p>
<p>Now since things have changed in Splunk 4 the rest of the wiki entry  doesn&#8217;t help. But there is more information on <a href="http://groups.google.com/group/ossec-list/browse_thread/thread/de63c1c461d48565/df41cbe654263575?lnk=raot&amp;pli=1">this Forum Thread</a>.</p>
<p>So download that file and extract it to your splunk directory as stated. Restart splunk and bingo your OSSEC alerts plus lots of nice menu options to access that data.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.10500bc.org/archive/2009/12/21/adding-ossec-alerts-to-splunk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
