<?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>Felipe Ferreira</title>
	<atom:link href="http://felipeferreira.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://felipeferreira.net</link>
	<description>Scripting, System Administration, Linux, Ubuntu, Network Monitoring, Security, SysAdmin, Bash, Cisco, Perl</description>
	<lastBuildDate>Fri, 03 Sep 2010 21:09:02 +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>Nagios Plugin Collection</title>
		<link>http://felipeferreira.net/?p=878</link>
		<comments>http://felipeferreira.net/?p=878#comments</comments>
		<pubDate>Fri, 03 Sep 2010 21:09:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Collection]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://felipeferreira.net/?p=878</guid>
		<description><![CDATA[The Nagios Plugin Collection is a set of scripts for the Nagios monitoring project to check the status off various system components.

Please release these notes before reporting any bugs to Bugdatabase. Thanks.
The following scripts are included in this release. For a detailed description please have a look at the usage informations of the scripts.
* check_groupshield
Checks [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sourceforge.net/projects/nagiosplugincol/files/">The Nagios Plugin Collection</a> is a set of scripts for the Nagios monitoring project to check the status off various system components.</p>
<p><span id="more-878"></span></p>
<p>Please release these notes before reporting any bugs to Bugdatabase. Thanks.</p>
<p>The following scripts are included in this release. For a detailed description please have a look at the usage informations of the scripts.</p>
<p>* check_groupshield<br />
Checks the update status of the engine, the dat version and the antispam engine/dat files of the McAfee GroupShield 6.x for Exchange 200x.<br />
* check_ipconfig<br />
Make sure all required ip addresses and correct subnet masks are configured on the correct interface<br />
* check_mscluster<br />
This script can check the normal healthy status of a Microsoft(TM) Windows cluster. It can also check the status of several resource or groups.<br />
* check_netshares<br />
Make sure, the machine offerts all requested NetBios shares. This script does not validate the ACL permissions yet.<br />
* check_onlineupdates/inspect_onlineupdates<br />
The inspect_onlineupdates script search for new available Windows online updates and store them into a database. (Run this script from task scheduler regularly). The corresponding check script evaluate the database and alert if updates are pending or a reboot is required.<br />
* check_perfcounter<br />
To monitor performance counters on a machine this script can be used. It query the specified performance counter and alter if a value is to high.<br />
* check_printers<br />
Check the status of all printers on a Windows printserver. Can alert if a printer has a non-healthy state or if the queue contains too much print jobs.<br />
* check_processes<br />
Alerts if a process is not running, too much process, too little processes and so on. The syntax of the tests is stolen from the Unix test(1) command.<br />
* check_service<br />
Make sure all automatic services are running. Or if special services are specified, this script checks if they are running.<br />
* check_shadowcopy<br />
Count the created snapshots of a volume and alters if not enough snapshots are created; or if the last created snapshot is to old.<br />
* check_taskscheduler<br />
Reports errors if a scheduled task has not been started yet, or the task returns wich an non-success value.<br />
* check_tcp<br />
This is a simple clone of the check_tcp script from the Nagios plugin package which runs under windows which a compiler. Not all options are supported yet.<br />
* check_uptime<br />
Make sure the system is not in safe-mode. Alerts if the uptime is lower then a specified time and if the system was rebooted unexepectedly (system log).<br />
* check_virusscan<br />
This is the counter part of the check_groupshield script, but I checks the update status of a McAfee AntiVirus 8.5i installation: Engine, Dat.<br />
* check_memory<br />
Checks the free or used memory on a Windows machine.<br />
* check_pagefile<br />
Checks the pagefile usage on a Windows machines.<br />
* check_processor<br />
Check the CPU load on a Windows machine (at the moment no loadaverage is supported)<br />
* check_win_disk<br />
Checks the free or used space on a Windows volume. (The values can be percent or byte units) </p>
<hr /><small>Copyright &copy; 2008<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> c236a3e46eed0ddd5b896142b24ebfe9)</small>]]></content:encoded>
			<wfw:commentRss>http://felipeferreira.net/?feed=rss2&amp;p=878</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios 3.2.2 changelog</title>
		<link>http://felipeferreira.net/?p=876</link>
		<comments>http://felipeferreira.net/?p=876#comments</comments>
		<pubDate>Fri, 03 Sep 2010 15:21:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[3.2.2]]></category>
		<category><![CDATA[changelog]]></category>
		<category><![CDATA[download]]></category>

		<guid isPermaLink="false">http://felipeferreira.net/?p=876</guid>
		<description><![CDATA[Nagios has released its latest version!
DOWNLOAD
3.2.2 &#8211; 09/01/2010

ENHANCEMENTS
    * Patch to new_mini_epn to allow any command line length without breaking on extra trailing or leading whitespace (Ray Bengen)
    * Patch to mini_epn to allow any command line length (Thomas Guyot-Sionnest)
    * Patch to speed up loading [...]]]></description>
			<content:encoded><![CDATA[<p>Nagios has released its latest version!<br />
<a href="http://www.nagios.org/download/core">DOWNLOAD</a><br />
3.2.2 &#8211; 09/01/2010</p>
<p><span id="more-876"></span></p>
<p>ENHANCEMENTS<br />
    * Patch to new_mini_epn to allow any command line length without breaking on extra trailing or leading whitespace (Ray Bengen)<br />
    * Patch to mini_epn to allow any command line length (Thomas Guyot-Sionnest)<br />
    * Patch to speed up loading of state retention data (Matthieu Kermagoret)<br />
    * Custom notifications are now suppressed during scheduled downtime (Sven Nierlein)<br />
    * Added code to warn user about exit code of 126 meaning plugin is not executable (bug #153)<br />
    * Scheduled downtime can now start on SOFT error states (bug #47)<br />
    * Main window frame URL can now be specify with a &#8220;corewindow=&#8221; parameter<br />
    * Improved config CGI shows commands, command args in an easier to use manner (Jochen Bern)<br />
    * Added ability for NEB modules to override execution of event handlers (Sven Nierlein)<br />
    * Custom macros are no longer cleaned/stripped as they are user-defined and should be trusted (Peter Morch)</p>
<p>FIXES</p>
<p>    * Fix for choosing next valid time on day of DST change when clocks go one hour backwards<br />
    * Fix for nagios now erroring when &#8220;Error: Could not find any contactgroup matching&#8230;&#8221; displayed<br />
    * Fix tap tests for Solaris 10 and newer versions of Test::Harness<br />
    * Fix for notifications not being sent out when scheduled downtime is cancelled (Daniel Pouzzner)<br />
    * Fix for first notification delay being calculated incorrectly, and notifications potentially going out early (Pawel Malachowski)<br />
    * Fix for text of scheduling downtime of all services on a host (Holger Weiss)<br />
    * Fix for services inheriting notification period from hosts if not defined (Gordon Messmer)<br />
    * Fix for incorrect service states on host failures (bug #130 Petya Kohts)<br />
    * Fix for incorrect service state attributes being set on host failures (bug #128 Petya Kohts)<br />
    * Fix for non-scheduled hosts and services not being updated in NDOUtils<br />
    * Fix for typos in TAC, CMD CGIs (bugs #150, #144, #148)<br />
    * Fix for types in documentation (bugs #145, #105, #106)<br />
    * Fix for incorrect host state counts in status CGI when viewing servicegroups (bug #72)<br />
    * Fix for new Splunk integration query parameters (bug #136)<br />
    * Fix for extra field header in availability CSV export (bug #113)<br />
    * Fix for macro processing code modifying input string (Jochen Bern)<br />
    * Fix for update check API<br />
    * Fix for CGI speedup when persistent=0 for comments<br />
    * Fix for event execution loop re-scheduling host checks instead of executing them if service checks are disabled (bug #152)<br />
    * Fix for segfaults on Solaris (Torsten Huebler)<br />
    * Fix for incorrect comment expiration times being passed to event broker (Mattieu Kermagot)<br />
    * Doc updates related to cleaning of custom macros (Peter Valdemar Morch)<br />
    * Fix to sample notify-service-by-email command (bug #62)<br />
    * Fix for retaining host display name and alias, as well as service display name (Folkert van Heusden) </p>
<hr /><small>Copyright &copy; 2008<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> c236a3e46eed0ddd5b896142b24ebfe9)</small>]]></content:encoded>
			<wfw:commentRss>http://felipeferreira.net/?feed=rss2&amp;p=876</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>socket:java.net.SocketException: Too many open files</title>
		<link>http://felipeferreira.net/?p=873</link>
		<comments>http://felipeferreira.net/?p=873#comments</comments>
		<pubDate>Thu, 19 Aug 2010 13:56:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[GlassFish]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[lsof]]></category>
		<category><![CDATA[many]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[too]]></category>
		<category><![CDATA[ulimit]]></category>

		<guid isPermaLink="false">http://felipeferreira.net/?p=873</guid>
		<description><![CDATA[On our Glassfish enviroment we started seeing the following error:
socket:java.net.SocketException: Too many open files

Its caused by a limit on the OS. To find out your OS limit type:
# ulimit -n
To check how many open files a process may have find out its PID and type:
# lsof -p XXX &#124; wc -l
The solution is:
# vim /etc/security/limits.conf
Add
* [...]]]></description>
			<content:encoded><![CDATA[<p>On our Glassfish enviroment we started seeing the following error:<br />
socket:java.net.SocketException: Too many open files</p>
<p><span id="more-873"></span></p>
<p>Its caused by a limit on the OS. To find out your OS limit type:</p>
<p># ulimit -n</p>
<p>To check how many open files a process may have find out its PID and type:</p>
<p># lsof -p XXX | wc -l</p>
<p>The solution is:</p>
<p># vim /etc/security/limits.conf</p>
<p>Add<br />
* soft nofile 2048<br />
* hard nofile 2048</p>
<p>(yes also the *)</p>
<p>Now restart sysctl:</p>
<p># sysctl -p</p>
<p>Logoff and logon and check it now</p>
<p>#ulimit -a </p>
<p>Hope this helps.<br />
Cheers,</p>
<hr /><small>Copyright &copy; 2008<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> c236a3e46eed0ddd5b896142b24ebfe9)</small>]]></content:encoded>
			<wfw:commentRss>http://felipeferreira.net/?feed=rss2&amp;p=873</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios and Centreon online demo</title>
		<link>http://felipeferreira.net/?p=871</link>
		<comments>http://felipeferreira.net/?p=871#comments</comments>
		<pubDate>Wed, 18 Aug 2010 18:14:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centreon]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[online]]></category>

		<guid isPermaLink="false">http://felipeferreira.net/?p=871</guid>
		<description><![CDATA[Demonstrations of Nagios and Centreon
Nagios XI (the new paid version):
http://nagiosxi.demos.nagios.com/
user:  nagiosadmin
pass: nagiosadmin

Centreon (My Faviroute)
http://demo.centreon.com/
Go directly to it
Copyright &#169; 2008 This feed is for personal, non-commercial use only.  The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing [...]]]></description>
			<content:encoded><![CDATA[<p>Demonstrations of Nagios and Centreon</p>
<p><strong>Nagios XI (the new paid version):</strong><br />
<a href="http://nagiosxi.demos.nagios.com/">http://nagiosxi.demos.nagios.com/</a><br />
user:  nagiosadmin<br />
pass: nagiosadmin</p>
<p><span id="more-871"></span></p>
<p><strong>Centreon (My Faviroute)</strong><br />
<a href="http://demo.centreon.com/">http://demo.centreon.com/</a><br />
<a href="http://demo.centreon.com/centreon/main.php?p=20201&#038;o=svc&#038;min=&#038;autologin=1&#038;useralias=21232f297a57a5a743894a0e4a801fc3&#038;password=2995cb0650c5f107230ed569a8c4d6e5">Go directly to it</a></p>
<hr /><small>Copyright &copy; 2008<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> c236a3e46eed0ddd5b896142b24ebfe9)</small>]]></content:encoded>
			<wfw:commentRss>http://felipeferreira.net/?feed=rss2&amp;p=871</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WinHTTP AutoProxy Support</title>
		<link>http://felipeferreira.net/?p=869</link>
		<comments>http://felipeferreira.net/?p=869#comments</comments>
		<pubDate>Tue, 17 Aug 2010 20:20:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Auto-Discovery]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[eventvwr]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[WinHTTP]]></category>

		<guid isPermaLink="false">http://felipeferreira.net/?p=869</guid>
		<description><![CDATA[Our windows event logs are filling with useless messages.
I went ahead and disable that useless services.

Event Type:	Information
Event Source:	WinHttpAutoProxySvc
Event ID:	12503
The WinHTTP Web Proxy Auto-Discovery Service has been idle for 15 minutes, it will be shut down.
Service Description:
Implements the client HTTP stack and provides developers with a Win32 API and COM Automation component for sending HTTP requests [...]]]></description>
			<content:encoded><![CDATA[<p>Our windows event logs are filling with useless messages.<br />
I went ahead and disable that useless services.</p>
<p><span id="more-869"></span></p>
<p>Event Type:	Information<br />
Event Source:	WinHttpAutoProxySvc<br />
Event ID:	12503<br />
<em><strong>The WinHTTP Web Proxy Auto-Discovery Service has been idle for 15 minutes, it will be shut down.</strong></em></p>
<p><strong>Service Description:</strong></p>
<p>Implements the client HTTP stack and provides developers with a Win32 API and COM Automation component for sending HTTP requests and receiving responses. In addition, WinHTTP provides support for auto-discovering a proxy configuration via its implementation of the Web Proxy Auto-Discovery (WPAD) protocol.</p>
<p><strong>Consequences of Stopping:</strong><br />
All services listed in &#8216;Required For&#8217; will be unable to function</p>
<p><strong>Depends on:</strong><br />
DHCP Client, Network Store Interface Service</p>
<p><strong>Required for:</strong><br />
None</p>
<p><a href="http://msdn.microsoft.com/en-us/library/aa384240%28VS.85%29.aspx">More information</a></p>
<hr /><small>Copyright &copy; 2008<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> c236a3e46eed0ddd5b896142b24ebfe9)</small>]]></content:encoded>
			<wfw:commentRss>http://felipeferreira.net/?feed=rss2&amp;p=869</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios check_con</title>
		<link>http://felipeferreira.net/?p=864</link>
		<comments>http://felipeferreira.net/?p=864#comments</comments>
		<pubDate>Wed, 11 Aug 2010 21:56:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[check_con]]></category>
		<category><![CDATA[connections]]></category>
		<category><![CDATA[established]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://felipeferreira.net/?p=864</guid>
		<description><![CDATA[I wrote a simple plugin to check the number of established connections
to a windows server. Just execute:
cmd /c netstat -an &#124;find /i &#8220;estab&#8221; /c

I have also done the same for a linux server. Just exec.:
netstat -anp &#124;  grep -c EST
In fact that script is only 2 lines:
      result=`netstat -anp [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a simple plugin to check the number of established connections<br />
to a windows server. Just execute:<br />
cmd /c netstat -an |find /i &#8220;estab&#8221; /c</p>
<p><span id="more-864"></span></p>
<p>I have also done the same for a linux server. Just exec.:<br />
netstat -anp |  grep -c EST<br />
In fact that script is only 2 lines:<br />
      result=`netstat -anp | grep :81 | grep -c EST`<br />
      echo &#8220;Conexoes Totais = $result |Conexoes=$result&#8221;<br />
Note that | will graph that result, witch is very usefull!</p>
<p>There are many ways of getting that information, I have also<br />
done the same thing via WMI, perfmon has that counter<br />
and it maybe easier to for example find out the total number of<br />
current connections to a specific website.</p>
<p>The script for windows is a .vbs and I call it using NC_NET<br />
<a href="http://www.xoroz.com/files/scripts/nagios/check_con.vbs.txt">it can be downloaded here.</a></p>
<hr /><small>Copyright &copy; 2008<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> c236a3e46eed0ddd5b896142b24ebfe9)</small>]]></content:encoded>
			<wfw:commentRss>http://felipeferreira.net/?feed=rss2&amp;p=864</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nagios tray</title>
		<link>http://felipeferreira.net/?p=861</link>
		<comments>http://felipeferreira.net/?p=861#comments</comments>
		<pubDate>Thu, 05 Aug 2010 15:14:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[nagiostatmon]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tray]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://felipeferreira.net/?p=861</guid>
		<description><![CDATA[Nagstamon is a Nagios status monitor for the desktop. It connects to multiple Nagios, Opsview and Centreon monitoring servers and resides in systray or as a floating statusbar at the desktop showing a brief summary of critical, warning, unknown, unreachable and down hosts and services and pops up a detailed status overview when moving the [...]]]></description>
			<content:encoded><![CDATA[<p>Nagstamon is a Nagios status monitor for the desktop. It connects to multiple Nagios, Opsview and Centreon monitoring servers and resides in systray or as a floating statusbar at the desktop showing a brief summary of critical, warning, unknown, unreachable and down hosts and services and pops up a detailed status overview when moving the mouse pointer over it. Connecting to displayed hosts and services is easily established by context menu via SSH, RDP and VNC. Users can be notified by sound. Hosts and Services can be filtered by category and regular expressions.</p>
<p><span id="more-861"></span></p>
<p>It is inspired by Nagios Checker for Firefox &#8211; I just did not want to have an open Firefox window all the time to monitor our network.</p>
<p>Nagstamon is released under the GPLv2 and free to use and modify.</p>
<p>Nagstamon is written in Python so it is highly portable. It has been tested successfully on Ubuntu 8.04 &#8211; 10.04, Centos 5.2 &#8211; 5.4, Fedora 8 &#8211; 12, OpenSUSE 11.0, Windows 2000 + XP + XP 64bit + Vista + Windows 7 + Windows 2008 Server, OpenSolaris 2009.06 and NetBSD.<br />
It works with GNOME, KDE and Windows desktop.</p>
<p>http://nagstamon.sourceforge.net/download/</p>
<hr /><small>Copyright &copy; 2008<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> c236a3e46eed0ddd5b896142b24ebfe9)</small>]]></content:encoded>
			<wfw:commentRss>http://felipeferreira.net/?feed=rss2&amp;p=861</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitor Varnish with Nagios</title>
		<link>http://felipeferreira.net/?p=857</link>
		<comments>http://felipeferreira.net/?p=857#comments</comments>
		<pubDate>Thu, 05 Aug 2010 13:44:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[backend]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[varnish]]></category>

		<guid isPermaLink="false">http://felipeferreira.net/?p=857</guid>
		<description><![CDATA[Varnish is an amazing reverse proxy product and it does its
job very well, but how can we know that? Or even better
how can we know it detected problems in the backed?

Currently I monitor those server using
 hit/ratio &#8211; official varnish nagios plugin witch is very basic, just returns me the hit/ratio witch is usefull but [...]]]></description>
			<content:encoded><![CDATA[<p>Varnish is an amazing reverse proxy product and it does its<br />
job very well, but how can we know that? Or even better<br />
how can we know it detected problems in the backed?</p>
<p><span id="more-857"></span></p>
<p>Currently I monitor those server using</p>
<p> hit/ratio &#8211; official varnish nagios plugin witch is very basic, just returns me the hit/ratio witch is usefull but it does not output perfdata so no graphs for that.<br />
 conections &#8211; simple bash script that checks how many connections<br />
are established. Simple like that:<br />
        result=`netstat -anp | grep :81 | grep -c EST`<br />
        echo &#8220;Conexoes Totais = $result |Conexoes=$result&#8221;<br />
 Load/Disk/Memory &#8211; are also standard plugins<br />
Check_Backend &#8211; this one was a bit more complicated to develop and I find it very usefull, because it checks how many erros it got from the backend (like 503 etc&#8230;) I do that every 5 min, the script genertates a tmp file and then each time it runs it zero the tmp and restart loging the &#8220;Service Unavailable&#8221; erros thrown by &#8220;varnishlog -I Unavailable&#8221;<br />
<a href="http://www.xoroz.com/files/scripts/nagios/check_iis.sh.txt">Here is the script</a></p>
<p>This is how my centreon monitor looks:<br />
<a href="http://felipeferreira.net/wp-content/uploads/2010/08/cache.png"><img src="http://felipeferreira.net/wp-content/uploads/2010/08/cache-300x79.png" alt="" title="cache" width="300" height="79" class="aligncenter size-medium wp-image-858" /></a></p>
<p>Idea of another scripts/monitors:<br />
check_health_iis.sh<br />
use the command:<br />
# varnishadm debug.health |grep Sick</p>
<hr /><small>Copyright &copy; 2008<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> c236a3e46eed0ddd5b896142b24ebfe9)</small>]]></content:encoded>
			<wfw:commentRss>http://felipeferreira.net/?feed=rss2&amp;p=857</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>System Administrator Appreciation Day</title>
		<link>http://felipeferreira.net/?p=856</link>
		<comments>http://felipeferreira.net/?p=856#comments</comments>
		<pubDate>Wed, 04 Aug 2010 14:21:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://felipeferreira.net/?p=856</guid>
		<description><![CDATA[System Administrator Appreciation Day
July 29, 2011 (Last Friday Of July) 12th Annual

A sysadmin unpacked the server for this website from its box, installed an operating system, patched it for security, made sure the power and air conditioning was working in the server room, monitored it for stability, set up the software, and kept backups in [...]]]></description>
			<content:encoded><![CDATA[<p>System Administrator Appreciation Day</p>
<p>July 29, 2011 (Last Friday Of July) 12th Annual</p>
<p><span id="more-856"></span></p>
<p>A sysadmin unpacked the server for this website from its box, installed an operating system, patched it for security, made sure the power and air conditioning was working in the server room, monitored it for stability, set up the software, and kept backups in case anything went wrong. All to serve this webpage.</p>
<p>A sysadmin installed the routers, laid the cables, configured the networks, set up the firewalls, and watched and guided the traffic for each hop of the network that runs over copper, fiber optic glass, and even the air itself to bring the Internet to your computer. All to make sure the webpage found its way from the server to your computer.<br />
Ted In Wires<br />
Fig. 1 Ted.</p>
<p>A sysadmin makes sure your network connection is safe, secure, open, and working. A sysadmin makes sure your computer is working in a healthy way on a healthy network. A sysadmin takes backups to guard against disaster both human and otherwise, holds the gates against security threats and crackers, and keeps the printers going no matter how many copies of the tax code someone from Accounting prints out.</p>
<p>A sysadmin worries about spam, viruses, spyware, but also power outages, fires and floods.</p>
<p>When the email server goes down at 2 AM on a Sunday, your sysadmin is paged, wakes up, and goes to work.</p>
<p>A sysadmin is a professional, who plans, worries, hacks, fixes, pushes, advocates, protects and creates good computer networks, to get you your data, to help you do work &#8212; to bring the potential of computing ever closer to reality.</p>
<p>So if you can read this, thank your sysadmin &#8212; and know he or she is only one of dozens or possibly hundreds whose work brings you the email from your aunt on the West Coast, the instant message from your son at college, the free phone call from the friend in Australia, and this webpage.</p>
<p><a href="http://www.sysadminday.com"><br />
<img src="http://www.sysadminday.com/images/banner_4-500x64.jpg"  ALT="SysAdminDay"><br />
</a> </p>
<hr /><small>Copyright &copy; 2008<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> c236a3e46eed0ddd5b896142b24ebfe9)</small>]]></content:encoded>
			<wfw:commentRss>http://felipeferreira.net/?feed=rss2&amp;p=856</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>siteground problems</title>
		<link>http://felipeferreira.net/?p=851</link>
		<comments>http://felipeferreira.net/?p=851#comments</comments>
		<pubDate>Mon, 02 Aug 2010 14:53:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://felipeferreira.net/?p=851</guid>
		<description><![CDATA[Once again my hosting siteground is giving me a hard time!
After shutting down my site twice, because high CPU usage.
Now they are complaning about high disk I/O!
It quite frustrating to have a company that is always cutting ur
site performance down and suspending accounts.

My site overall increase is very very little, and just now they are [...]]]></description>
			<content:encoded><![CDATA[<p>Once again my hosting siteground is giving me a hard time!<br />
After shutting down my site twice, because high CPU usage.<br />
Now they are complaning about high disk I/O!<br />
It quite frustrating to have a company that is always cutting ur<br />
site performance down and suspending accounts.</p>
<p><span id="more-851"></span></p>
<p>My site overall increase is very very little, and just now they are complaning, why? </p>
<p>So sorry everyone if you are having problems downloading files or<br />
any thing else on the site. I am trying to solve the problem in the<br />
best way possible.</p>
<hr /><small>Copyright &copy; 2008<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> c236a3e46eed0ddd5b896142b24ebfe9)</small>]]></content:encoded>
			<wfw:commentRss>http://felipeferreira.net/?feed=rss2&amp;p=851</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
