<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monitoring-plugins/plugins-scripts/t, branch sthen_pkg_conf</title>
<subtitle>Monitoring Plugins
</subtitle>
<id>https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=sthen_pkg_conf</id>
<link rel='self' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=sthen_pkg_conf'/>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/'/>
<updated>2023-01-20T08:11:26Z</updated>
<entry>
<title>add tests for check_log</title>
<updated>2023-01-20T08:11:26Z</updated>
<author>
<name>lorenzg</name>
<email>lorenz.gruenwald@consol.de</email>
</author>
<published>2023-01-20T07:52:38Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=c410ad38798fde8cc278a3f1522a9571dbdb7fae'/>
<id>urn:sha1:c410ad38798fde8cc278a3f1522a9571dbdb7fae</id>
<content type='text'>
</content>
</entry>
<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>tests: skip some tests if Monitoring::Plugin::Range isn't available</title>
<updated>2018-12-04T13:54:12Z</updated>
<author>
<name>Sven Nierlein</name>
<email>Sven.Nierlein@consol.de</email>
</author>
<published>2018-12-04T13:08:21Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=660e0cf4e2968c97adeabf9ba91a54f1bd4ad240'/>
<id>urn:sha1:660e0cf4e2968c97adeabf9ba91a54f1bd4ad240</id>
<content type='text'>
The check_file_age uses Monitoring::Plugin::Range internally. Skip thoses tests
if the module isn't available.
</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>
<entry>
<title>Merge pull request #1461 from philipowen/file-size-lessthan</title>
<updated>2017-04-20T14:28:15Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.org</email>
</author>
<published>2017-04-20T14:28:15Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=3b86c201a77209406fc48a6ceee2a9a0b92d863c'/>
<id>urn:sha1:3b86c201a77209406fc48a6ceee2a9a0b92d863c</id>
<content type='text'>
Enable check_file_age to test for maximum file size</content>
</entry>
<entry>
<title>script tests: fix relative lib path in utils test</title>
<updated>2017-03-13T12:27:03Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2017-03-13T12:27:03Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=4acddec00a0b9fab4f8dd51cf8a57d3c0f9efd9b'/>
<id>urn:sha1:4acddec00a0b9fab4f8dd51cf8a57d3c0f9efd9b</id>
<content type='text'>
utils.pm uses relative include ".." but the path is relativ to the current folder, so it
does not work when running "perl t/utils.t". Just add another lib of "." fixes that. We could
use FindBin but we don't want to make it unnecessarily complicated.

Signed-off-by: Sven Nierlein &lt;sven@nierlein.de&gt;
</content>
</entry>
<entry>
<title>add range checking to check_file_age</title>
<updated>2017-02-14T15:19:18Z</updated>
<author>
<name>phowen</name>
<email>phowen@cisco.com</email>
</author>
<published>2017-02-14T15:19:18Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=98a365d76c9b7e270d7b00953905d80c80c1467d'/>
<id>urn:sha1:98a365d76c9b7e270d7b00953905d80c80c1467d</id>
<content type='text'>
</content>
</entry>
</feed>
