<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monitoring-plugins/plugins-scripts/t/check_uptime.t, branch 3.0.0-rc3</title>
<subtitle>Monitoring Plugins
</subtitle>
<id>https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=3.0.0-rc3</id>
<link rel='self' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=3.0.0-rc3'/>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/'/>
<updated>2022-02-15T15:31:23Z</updated>
<entry>
<title>check_uptime: Fix lowercase typo in plugin output</title>
<updated>2022-02-15T15:31:23Z</updated>
<author>
<name>Andreas Motl</name>
<email>andreas.motl@elmyra.de</email>
</author>
<published>2022-02-15T00:39:21Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=6c8b45a1691f4ce98f1c559a1e9cd1fef68c0fe2'/>
<id>urn:sha1:6c8b45a1691f4ce98f1c559a1e9cd1fef68c0fe2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>check_uptime: Add option to report uptime in days instead of seconds</title>
<updated>2022-02-15T15:09:47Z</updated>
<author>
<name>Andreas Motl</name>
<email>andreas.motl@elmyra.de</email>
</author>
<published>2022-02-12T13:41:54Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=c99a166a43fb9da42ba68073224921124a435aab'/>
<id>urn:sha1:c99a166a43fb9da42ba68073224921124a435aab</id>
<content type='text'>
Currently, the plugin output is:

  CRITICAL: Uptime is 38829029 seconds.

When using the proposed `--days|-d` option, it will be:

  CRITICAL: Uptime is 449 days.</content>
</entry>
<entry>
<title>Added tests for range values</title>
<updated>2018-06-13T15:26:51Z</updated>
<author>
<name>Bernd Arnold</name>
<email>wopfel@gmail.com</email>
</author>
<published>2018-06-13T15:13:20Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=558090a7d884a265aa909d894672154892a0baae'/>
<id>urn:sha1:558090a7d884a265aa909d894672154892a0baae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Introducing ranges for warning and critical</title>
<updated>2018-06-13T14:56:22Z</updated>
<author>
<name>Bernd Arnold</name>
<email>wopfel@gmail.com</email>
</author>
<published>2018-06-13T14:56:22Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=db499b6f5b82aff65171ac4cfa5b936ba1e5e5ad'/>
<id>urn:sha1:db499b6f5b82aff65171ac4cfa5b936ba1e5e5ad</id>
<content type='text'>
Works as before:
-w 1w -c 2w

New (as before, but also warn if uptime &lt; 5m, and crit if uptime &lt; 2m):
-w 5m:1w -c 2m:2w

(idea by @sni)

Also refactored the time calculation, if a suffix is present:
New sub calc_as_seconds($)
</content>
</entry>
<entry>
<title>Added test file</title>
<updated>2018-06-03T14:51:43Z</updated>
<author>
<name>Bernd Arnold</name>
<email>wopfel@gmail.com</email>
</author>
<published>2018-06-03T14:51:43Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=250adb31ef1849adea8b3bd7f66e92df1bbdd431'/>
<id>urn:sha1:250adb31ef1849adea8b3bd7f66e92df1bbdd431</id>
<content type='text'>
</content>
</entry>
</feed>
