Add commandline -T switch to check_time and check_ntp_time (#1246)

Thomas Guyot-Sionnest notifications at
Thu Apr 17 06:22:03 CEST 2014

Hi Holger,

FWIW I had in mind for quite some time adding an option to set the state
on timeout - and that's not just for the check_ntp_* plugins... Do you
think there's something fairly generic we could add to many similar
plugins? Check_http, check_ntp*, check_snmp, check_nrpe are some of the
plugins for which id's have had use for this sort of behavior in the
past (there's probably more...).


On 21/03/14 06:02 AM, Holger Weiß wrote:
> Ah, having |-T| accept an argument was exactly what I had in mind,
> after playing around with |negate| I had only forgotten that your
> patch doesn't do just that (had no coffee yet today). So yes, that
> would be great.
> There's |plugins/t/check_time.t| and |plugins/t/check_ntp.t| (the
> latter is testing all |check_ntp*| plugins). I can add one or two test
> cases myself if it's not obvious how to do that.
> Thanks!
>> Reply to this email directly or view it on GitHub
> <>.


Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list