[Nagiosplug-devel] [PATCH] check_nt UPTIME does not accept warning/critical levels

Ryan Kelly rpkelly22 at gmail.com
Thu Oct 7 18:05:15 CEST 2010


Patches in universal and git format are attached.

-Ryan Kelly

On Thu, Oct 7, 2010 at 5:06 AM, Thomas Guyot-Sionnest <dermoth at aei.ca>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 10-10-06 04:44 PM, Ryan Kelly wrote:
> > Hi,
> >
> > New to the list here. I wanted to use check_nt to report a warning if
> > system uptime was below a certain level. Unfortunately, this didn't seem
> > to be supported out of the box. I don't know if there is any interest
> > adding such support, but a patch to do so is attached.
>
> Thanks for your patch; could you please re-submit it in the "Unified
> diff" format? If you used the "diff" command, then you have to use "diff
> - -u".
>
> Thank you,
>
> - --
> Thomas
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkytHQwACgkQ6dZ+Kt5BchYMqgCcCPFnZcTQShkSfMhnGXSk9PV5
> N40AoK51SWPcYx6bKQ0uwFPyFFdbXnUA
> =LQ13
> -----END PGP SIGNATURE-----
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________________
> Nagios Plugin Development Mailing List
> Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20101007/c636fa28/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uptime-u.patch
Type: application/octet-stream
Size: 682 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20101007/c636fa28/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uptime-git.patch
Type: application/octet-stream
Size: 679 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20101007/c636fa28/attachment-0001.obj>


More information about the Devel mailing list