Page 1 of 1

[Nagios-devel] Feature suggestion: Non-null command args

Posted: Tue May 10, 2005 6:34 am
by Guest
--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

One idea for a new feature would be to allow the $ARGx$
arguments to be defined as not-null, and error on preflight if
they are. This is to prevent defining a command that expects 4
arguments, but the service definition only has 3 defined. This
can cause unexpected behavior from the plugin, depending on
which argument was missing and in what order.

I'd think it could be implemented as a attribute to the "define
command", or instead creating a seperate set of macros called
$NARGx$, where N indicates not-null.

-Jason Martin
--=20
Only cosmetologists give make-up exams.
This message is PGP/MIME signed.

--0OAP2g/MAC+5xKAE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: --no-verbose

iD8DBQFCgMZVl2ODWuqVSBMRAtsFAJ9ozn/UjVu03USDgDK8CLB34KqXuQCcDf4J
psaM2LjJcdUd0TEh1LEUMcY=
=S8rF
-----END PGP SIGNATURE-----

--0OAP2g/MAC+5xKAE--





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]