[Nagiosplug-devel] RFC: New threshold syntax

Max perldork at webwizarddesign.com
Wed Mar 19 22:48:54 CET 2008


Thomas, Ton,

Do both of you think that using RPN-style notation would be too
burdensome on users?  It resolves a lot of the issues you are
discussing and meets Andreas' request to have argument parsing done in
a fashion that doesn't cause compatibility issues with buggy /
problematic shells ...

CPU check ...

--warning 'kernel,80%,gte,system,90%,gte' --critical 'system,99%,gt'

Range check

--warning 'bpm,60,120,notwithin'

where order is

metric,number[,number]?,operator

Something along those lines?

- Max




More information about the Devel mailing list