Thanks to the several folks who pointed out my glaring lack of RTFM!
I've been using Smokeping for a number of years now - but TOTALLY missed the 
@include and @define right at the top of the General Syntax section of the web 
page!

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Tom Throckmorton
Sent: Friday, March 16, 2012 9:11 AM
To: Sorrell, Al
Cc: [email protected]
Subject: Re: [smokeping-users] Any way to 'include' another file in the config?

SmokePing certainly supports @includes - see 
http://oss.oetiker.ch/smokeping/doc/smokeping_config.en.html#IGENERAL_SYNTAX

I use this feature to break my target configs into logical chunks, even using 
nested @includes.  I believe you could do it as you suggest above, with the 
main config differentiated; another alternative, and depending on how you 
manage your distributed configs, is to keep the main config the same, with the 
variable items pulled in via @includes.  Six of one...

Cheers,

-tt




T. Rowe Price (including T. Rowe Price Group, Inc. and its affiliates) and its 
associates do not provide legal or tax advice.  Any tax-related discussion 
contained in this e-mail, including any attachments, is not intended or written 
to be used, and cannot be used, for the purpose of (i) avoiding any tax 
penalties or (ii) promoting, marketing, or recommending to any other party any 
transaction or matter addressed herein.  Please consult your independent legal 
counsel and/or professional tax advisor regarding any legal or tax issues 
raised in this e-mail.

The contents of this e-mail and any attachments are intended solely for the use 
of the named addressee(s) and may contain confidential and/or privileged 
information. Any unauthorized use, copying, disclosure, or distribution of the 
contents of this e-mail is strictly prohibited by the sender and may be 
unlawful. If you are not the intended recipient, please notify the sender 
immediately and delete this e-mail.
_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to