<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -63,7 +63,8 @@ opts = GetoptLong.new(
 # Default options
 critical = 10
 warning = 0
-fping=&quot;/usr/bin/fping&quot;
+fping=IO.popen(&quot;which fping&quot;).read.chomp
+fping=&quot;/usr/bin/fping&quot; if fping.empty?
 nagiosconf = &quot;/etc/nagios/hosts.cfg&quot;
 subnets = Array.new
 excepts = Array.new</diff>
      <filename>nagios/check_unmonitored.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8bf6c7185e536e661c4af585731554e9e17db9c0</id>
    </parent>
  </parents>
  <author>
    <name>jbbarth</name>
    <email>jeanbaptiste.barth@gmail.com</email>
  </author>
  <url>http://github.com/jbbarth/monitoring/commit/6defbbd99017a3a4948dc560325c3b905dfd06cb</url>
  <id>6defbbd99017a3a4948dc560325c3b905dfd06cb</id>
  <committed-date>2009-09-30T09:27:55-07:00</committed-date>
  <authored-date>2009-09-30T09:27:55-07:00</authored-date>
  <message>Changed default fping value to a better value : it tries to detect if fping is in path, if so it takes this value, if not it takes /usr/bin/fping (the path on Debian systems)</message>
  <tree>8aca4ebe6ea73963abece20164d166199c513087</tree>
  <committer>
    <name>jbbarth</name>
    <email>jeanbaptiste.barth@gmail.com</email>
  </committer>
</commit>
