The format for DOWNTIME is the following:<br><div class="gmail_quote"><dl compact><dt>DOWNTIME=day:starttime:endtime[,day:starttime:endtime]</dt><dt>DOWNTIME=columns:day:starttime:endtime:cause[,columns:day:starttime:endtime:cause]</dt>
</dl>So search for lines which don't match those formats. The error would seem to suggest that instead of one of the attributes it got the word maintenance so you could search for "=maintenance" or ":maintenance" to see where the value is.<br>

<br>If you have dynamically generated your config file from a CMDB then the template you have used for the line has gone wrong somewhere, I'd suggest debugging that code to find out why it has corrupted an entry.<br>
<br>
Steve<div class="HOEnZb"><div class="h5"><br><br><br><br><div class="gmail_quote">On 28 February 2012 19:06, Gore, David W (David) <span dir="ltr"><<a href="mailto:david.gore@verizon.com" target="_blank">david.gore@verizon.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Either hosts.cfg or alerts.cfg or both.  Config file names may be different depending on your version of Xymon.<br>
<span><font color="#888888"><br>
~David<br>
</font></span><br>
Ps. Try grepping for 'downtime', grep -i downtime<br>
<div><br>
-----Original Message-----<br>
From: <a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a> [mailto:<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>] On Behalf Of Olivier AUDRY<br>
</div><div>Sent: Tuesday, February 28, 2012 09:26<br>
To: <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
Subject: [Xymon] debbuging DOWNTIME<br>
<br>
</div><div><div>hello<br>
<br>
how can I know witch host config line is wrong when I got this in the logs ?<br>
<br>
Latest error messages:<br>
Bad timespec (missing colon or wrong weekdays): 0<br>
Invalid timespec - expected 4 digits, got: 'maintenance'<br>
Invalid timespec - expected 4 digits, got: 'maintenance'<br>
Invalid timespec - expected 4 digits, got: 'maintenance'<br>
Bad timespec (missing colon or wrong weekdays): 0<br>
Bad timespec (missing colon or wrong weekdays): 0<br>
Bad timespec (missing colon or wrong weekdays): 0<br>
Bad timespec (missing colon or wrong weekdays): 0<br>
Invalid timespec - expected 4 digits, got: 'maintenance'<br>
Bad timespec (missing colon or wrong weekdays): 0<br>
Bad timespec (missing colon or wrong weekdays): 0<br>
Bad timespec (missing colon or wrong weekdays): 0<br>
Bad timespec (missing colon or wrong weekdays): 0<br>
Bad timespec (missing colon or wrong weekdays): 0<br>
Bad timespec (missing colon or wrong weekdays): 0<br>
Invalid timespec - expected 4 digits, got: 'maintenance'<br>
Bad timespec (missing colon or wrong weekdays): 0<br>
Bad timespec (missing colon or wrong weekdays): 0<br>
<br>
thx for your help<br>
<br>
oau<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</div></div></blockquote></div><br>
</div></div></div><br>