Sharing local/remote machine .cfg

Alain Williams addw at phcomp.co.uk
Thu Jun 21 18:26:25 CEST 2007


On Thu, Jun 21, 2007 at 10:08:27AM -0500, Marc Powell wrote:

> Macros are only available to command {} definitions. You can't use them
> anywhere else.

Shame.

> What I do is to create a template in a new config file (templates.cfg
> for example) with the differing values and the hosts/services inherit
> that template. Something like --
> ...

Did that, it works -- thanks.

-- 
Alain Williams
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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