[Nagiosplug-devel] RFC: New threshold syntax

Holger Weiss holger at CIS.FU-Berlin.DE
Wed Mar 19 17:10:27 CET 2008


* Andreas Ericsson <ae at op5.se> [2008-03-18 14:41]:
> Ton Voon wrote:
> >    ./check_procs -u user -C command -c 1:1
> >    ./check_procs -u user -C command --metric=VSZ -c 100000
> >    ./check_procs -u user -C command --metric=CPU -c 30
>
> Ordered arguments could solve this quite easily, with a command-line
> looking like this:
>
> ./check_procs -u user -C command -c 1:1 --metric=VSZ -c 100000 --metric=CPU -c 30
>
> although that's 11 chars longer than what you have below.

11 chars longer and less readable and more confusing, in my opinion.
So:

> Whoever invented the --metric thing should be shot.

What's the problem with it?

Holger




More information about the Devel mailing list