Nagios 3.X quoted check commands

Thomas Guyot-Sionnest dermoth at aei.ca
Sat May 24 04:22:45 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23/05/08 06:27 PM, Aaron McKinnon wrote:
> I'm working on migrating a 1.4 server that uses some quoted check 
> commands. For example:
> 
> check_command                   "/usr/lib/nagios/plugins/check_file_age 
> -w 86400 -c 172800 -W 310000 -C 1 -f /mnt/backup/aus-sql0/mysql/mysql.sql"
> 
> ...and it appears that 3.X doesn't support that:

You'll have to write a checkcommand definitions for them. If you have
multiple ones similar with different arguments you'll probably want to
use $ARGn$ macros to pass arguments.

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIN3v16dZ+Kt5BchYRAhDjAJ9lfNo1XBcRPTsS1+lUQshIk3IFTACgxa5N
VnLHsS8QM0MgmSqu3wzEGw4=
=JxZk
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list