why would it be annoying?  To custom a client, you either insert a
section to the hobbit-clients.cfg, or put such an insertion into a file
named clientName.cfg under such a directory dedicated for client conf.
The latter is less error-prone and less adverse impact when syntax
error and inadvertent deletion/editing happens.  I'd assume this
is easier for the server code to parse as well.<br><br><div><span class="gmail_quote">On 8/4/06, <b class="gmail_sendername">Gary B.</b> <<a href="mailto:gmbfly98@gmail.com">gmbfly98@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
That might get a little annoying if you have a large number of hosts<br>to monitor, though.  However, perhaps adding the ability to breakup a<br>config such as hobbit-clients into multiple files could help.<br><br>> just a thought, what about using a dir named 'client_config' holding
<br>> individual config file for each client,  a default file, plus some wild-card<br>> hosts as well. The benefit is obvious, the error in the syntax would not be<br>> so devastating, since it affects on one client at a time unless it is
<br>> default file or wild-card config gets screwed.<br>> Yesterday, I managed to delete 8 hosts entries on the top of the<br>> hobbit-clients.cfg, and "HOST= of the 9th host entry. This caused checks for<br>
> the 9th host entry got applied to all thre remaining 24 hosts, as if they<br>> are part of the default section (I have one at the bottom).<br>><br>><br>> On 8/4/06, Henrik Stoerner <<a href="mailto:henrik@hswn.dk">
henrik@hswn.dk</a>> wrote:<br>> > On Fri, Aug 04, 2006 at 10:40:12AM -0400, Gary B. wrote:<br>> > ><br>> > > Is there a syntax checker for the hobbit-*.cfg configuration files<br>> > > (such as 
hobbit-clients.cfg)?  I'm having an issue where some of the<br>> > > rules I set up are apparently being ignored, or otherwise not working<br>> > > as expected.  I have a feeling it may be due to a syntax error, but
<br>> > > I'm not sure.<br>> ><br>> > The utilities that read the configuration file does complain if they<br>> > find something they cannot understand. Look in the clientdata.log<br>> > and 
page.log files (for hobbit-clients.cfg and hobbit-alerts.cfg,<br>> > respectively).<br>> ><br>> > There are also "--dump-config" options for these two utilities, which<br>> > will dump the configuration as they understand it. And complain
<br>> > about any errors.<br>> ><br>> > > I'm also curious, how does Hobbit deal with syntax errors in the<br>> > > configuration files?  Does it just skip over bad syntax, or stop<br>> > > completely when it encounters an error?
<br>> ><br>> > It tries to cope, ignoring the error and continuing with whatever<br>> > bits of the config file it understands.<br>> ><br>> ><br>> > Regards,<br>> > Henrik<br>> >
<br>> ><br>> > To unsubscribe from the hobbit list, send an e-mail to<br>> > <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>> ><br>> ><br>> ><br>><br>>
<br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote></div><br>