<?xml version="1.0" encoding="UTF-8"?>
<plugin-url>
  <approved type="boolean">true</approved>
  <author>Highgroove Studios</author>
  <cached-tag-list>uptime</cached-tag-list>
  <canonical-name nil="true"></canonical-name>
  <code>class Uptime &lt; Scout::Plugin
  def build_report
    if `uptime` =~ /up +([^,]+)/
      report :uptime =&gt; $1
    else
      raise &quot;Unexpected output format&quot;  
    end
  rescue Exception
    error &quot;Couldn't use `uptime` as expected.&quot;, $!.message
  end
end</code>
  <created-at type="datetime">2007-12-21T10:29:53-08:00</created-at>
  <default-triggers type="yaml" nil="true"></default-triggers>
  <description>Returns the length of time since the last server restart.</description>
  <featured type="boolean">false</featured>
  <id type="integer">5</id>
  <metadata type="yaml" nil="true"></metadata>
  <name>Server Uptime</name>
  <plugins-count type="integer">155</plugins-count>
  <rating-avg type="decimal">3.0</rating-avg>
  <rating-count type="integer">1</rating-count>
  <rating-total type="integer">3</rating-total>
  <readme nil="true"></readme>
  <schema type="yaml" nil="true"></schema>
  <scout-version type="integer">2</scout-version>
  <short-description>Returns the length of time since the last server restart.</short-description>
  <tested-platforms>linux macosx</tested-platforms>
  <total-usage-count type="integer">0</total-usage-count>
  <updated-at type="datetime">2009-09-23T23:03:07-07:00</updated-at>
  <url>http://github.com/highgroove/scout-plugins/raw/7d13f07023d2d284fefceca078a86718e928f4d0/uptime/uptime.rb</url>
</plugin-url>
