<?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>gnucom.cc &#187; Nagios</title>
	<atom:link href="http://blog.gnucom.cc/category/nagios/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gnucom.cc</link>
	<description>Code snippets and more...</description>
	<lastBuildDate>Wed, 18 Jan 2012 23:50:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How to reload nagios configuration as user nagios.</title>
		<link>http://blog.gnucom.cc/2010/how-to-reload-nagios-configuration-as-user-nagios/</link>
		<comments>http://blog.gnucom.cc/2010/how-to-reload-nagios-configuration-as-user-nagios/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 18:58:45 +0000</pubDate>
		<dc:creator>sholsapp</dc:creator>
				<category><![CDATA[Nagios]]></category>

		<guid isPermaLink="false">http://blog.gnucom.cc/?p=818</guid>
		<description><![CDATA[Hopefully you&#8217;re running Nagios under a special user with restricted permissions &#8211; mine is named nagios. There are many times when we&#8217;re adding and removing configuration files that we need to reload the configuration without restarting the service. The /sbin/service command usually requires elevated permissions and thus isn&#8217;t a tool that we can use to [...]]]></description>
		<wfw:commentRss>http://blog.gnucom.cc/2010/how-to-reload-nagios-configuration-as-user-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parse list_disk.pl to configure disk checks for nagios.</title>
		<link>http://blog.gnucom.cc/2010/parse-list_disk-pl-to-configure-disk-checks-for-nagios/</link>
		<comments>http://blog.gnucom.cc/2010/parse-list_disk-pl-to-configure-disk-checks-for-nagios/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 01:33:05 +0000</pubDate>
		<dc:creator>sholsapp</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[nrpe]]></category>

		<guid isPermaLink="false">http://blog.gnucom.cc/?p=720</guid>
		<description><![CDATA[I wrote a post earlier regarding listing the available disks on a remote server using list_disks.pl and NRPE. This time, I&#8217;m going to provide a code snippet that you can use to parse that output. The code isn&#8217;t very complicated, so I&#8217;ll just provide it for your uses. my $list_disks = 'list_disks'; my $libexec = [...]]]></description>
		<wfw:commentRss>http://blog.gnucom.cc/2010/parse-list_disk-pl-to-configure-disk-checks-for-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List disks on linux server for nagios.</title>
		<link>http://blog.gnucom.cc/2010/list-disks-on-linux-server-for-nagios/</link>
		<comments>http://blog.gnucom.cc/2010/list-disks-on-linux-server-for-nagios/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 01:24:01 +0000</pubDate>
		<dc:creator>sholsapp</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[nrpe]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://blog.gnucom.cc/?p=716</guid>
		<description><![CDATA[I wrote this simple script that I named list_disks.pl to help me configure my hosts. I use it as a NRPE check to query a server for all of its available disks, and parse the output to write configuration files. It is useful for automating host configuration files when the hosts don&#8217;t have consistent naming [...]]]></description>
		<wfw:commentRss>http://blog.gnucom.cc/2010/list-disks-on-linux-server-for-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check crond service with nagios.</title>
		<link>http://blog.gnucom.cc/2009/check-crond-service-with-nagios/</link>
		<comments>http://blog.gnucom.cc/2009/check-crond-service-with-nagios/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 00:56:14 +0000</pubDate>
		<dc:creator>sholsapp</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Webhosting]]></category>
		<category><![CDATA[cron]]></category>

		<guid isPermaLink="false">http://gnucom.cc/blog/?p=487</guid>
		<description><![CDATA[I was surprised that nagios plugins didn&#8217;t come with a pre-packaged check_crond command! Anyway, here is a quick way to do it using NRPE. Add the command definition in command.cfg. define command&#123; command_name check_crond command_line $USER1$/check_nrpe -n -H $HOSTADDRESS$ -t 90 -c check_crond &#125; Add the service definition to an existing host. define service&#123; use [...]]]></description>
		<wfw:commentRss>http://blog.gnucom.cc/2009/check-crond-service-with-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring nagios to run privileged or root commands with NRPE.</title>
		<link>http://blog.gnucom.cc/2009/configuring-nagios-to-run-privileged-or-root-commands-with-nrpe/</link>
		<comments>http://blog.gnucom.cc/2009/configuring-nagios-to-run-privileged-or-root-commands-with-nrpe/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 23:24:58 +0000</pubDate>
		<dc:creator>sholsapp</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Webhosting]]></category>
		<category><![CDATA[nrpe]]></category>

		<guid isPermaLink="false">http://gnucom.cc/blog/?p=479</guid>
		<description><![CDATA[Theres several things you&#8217;ll need to adjust in the default Nagios installation to get NRPE to run privileged commands. Before we start, I&#8217;m assuming that you&#8217;re using a similar /etc/xinetd.d/nrpe file: service nrpe &#123; flags=REUSE socket_type=stream port= 5666 wait=no user=nagios group=nagios server=/usr/local/nagios/bin/nrpe server_args=-n -c /usr/local/nagios/etc/nrpe.cfg -i log_on_failure+=USERID disable=no only_from=111.111.111.111 &#125; The things to watch out [...]]]></description>
		<wfw:commentRss>http://blog.gnucom.cc/2009/configuring-nagios-to-run-privileged-or-root-commands-with-nrpe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check MySQL service with nagios.</title>
		<link>http://blog.gnucom.cc/2009/check-mysql-service-with-nagios/</link>
		<comments>http://blog.gnucom.cc/2009/check-mysql-service-with-nagios/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 00:02:30 +0000</pubDate>
		<dc:creator>sholsapp</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Webhosting]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://gnucom.cc/blog/?p=476</guid>
		<description><![CDATA[I was surprised that nagios plugins didn&#8217;t come with a pre-packaged check_mysql command! Anyway, here is a quick way to do it. Add the command definition in command.cfg. define command&#123; command_name check_mysql command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 3306 &#125; Add the service definition to an existing host. define service&#123; use local-service host_name gnucom.cc service_description MYSQL [...]]]></description>
		<wfw:commentRss>http://blog.gnucom.cc/2009/check-mysql-service-with-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Event handlers in nagios using NRPE.</title>
		<link>http://blog.gnucom.cc/2009/event-handlers-in-nagios-using-nrpe/</link>
		<comments>http://blog.gnucom.cc/2009/event-handlers-in-nagios-using-nrpe/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 00:04:37 +0000</pubDate>
		<dc:creator>sholsapp</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Webhosting]]></category>
		<category><![CDATA[event handler]]></category>
		<category><![CDATA[nrpe]]></category>

		<guid isPermaLink="false">http://gnucom.cc/blog/?p=458</guid>
		<description><![CDATA[You can setup nagios to execute commands via NRPE whenever a host or service state change occurs, these are called event handlers. Luckily they&#8217;re fairly easy to implement and the example I provide uses NRPE to issue remote event handlers. On the nagios server: In your command.cfg file, where I keep all of my command [...]]]></description>
		<wfw:commentRss>http://blog.gnucom.cc/2009/event-handlers-in-nagios-using-nrpe/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using custom variables as macros for nagios.</title>
		<link>http://blog.gnucom.cc/2009/using-custom-variables-as-macros-for-nagios/</link>
		<comments>http://blog.gnucom.cc/2009/using-custom-variables-as-macros-for-nagios/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 02:19:35 +0000</pubDate>
		<dc:creator>sholsapp</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://gnucom.cc/blog/?p=438</guid>
		<description><![CDATA[I found it very useful to use custom variables when monitoring lots of servers, especially when you have services running on distinct IP addresses and a &#8220;host&#8221; really means collection of termed &#8220;nagios hosts&#8221;. To group these &#8220;nagios hosts&#8221; together as a single &#8220;host&#8221; we can declare as many custom variables &#8211; ideally one variable [...]]]></description>
		<wfw:commentRss>http://blog.gnucom.cc/2009/using-custom-variables-as-macros-for-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring nagios plugin for Mozilla Firefox.</title>
		<link>http://blog.gnucom.cc/2009/configuring-nagios-plugin-for-mozilla-firefox/</link>
		<comments>http://blog.gnucom.cc/2009/configuring-nagios-plugin-for-mozilla-firefox/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 16:18:02 +0000</pubDate>
		<dc:creator>sholsapp</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Webhosting]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://gnucom.cc/blog/?p=373</guid>
		<description><![CDATA[Due to the popularity that people displayed over the nagios plugin for Mozilla Firefox, I thought I would write a short step-by-step guide to configure it. It is a very easy process, but extra documentation never hurt anyone, I think. First, install the nagios plugin per the links in the post here. After you install [...]]]></description>
		<wfw:commentRss>http://blog.gnucom.cc/2009/configuring-nagios-plugin-for-mozilla-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios plugin for Mozilla Firefox.</title>
		<link>http://blog.gnucom.cc/2009/nagios-plugin-for-mozilla-firefox/</link>
		<comments>http://blog.gnucom.cc/2009/nagios-plugin-for-mozilla-firefox/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 23:50:19 +0000</pubDate>
		<dc:creator>sholsapp</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://gnucom.cc/blog/?p=367</guid>
		<description><![CDATA[I came across a really neat plugin for Mozilla Firefox that lets you check Nagios status reports in the status bar of the internet browser! This is a great utility for anbody running a Nagios server. Its homepage can be browsed here and the Mozilla Firefox plugin page can be browsed here. When you install [...]]]></description>
		<wfw:commentRss>http://blog.gnucom.cc/2009/nagios-plugin-for-mozilla-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

