Re: Downtime Log Bug?

2004-04-23 Thread David Nolan


--On Friday, April 23, 2004 10:49 AM +0200 Christian Hertel 
[EMAIL PROTECTED] wrote:

Our mon always tolds us that his Downtime Logfile starts at 1.1.1970.
Even if I erase the dt_logfile, the same error occurs after a few
minutes.
There is a bug, where blank lines from the dtlog are being output to the 
client, and the client is interpreting the timestamp as zero.

The fix is a single line change.  Search for this line in mon
 sock_write ($fh, $_ ) if (!/^#/);
and replace it with:
 sock_write ($fh, $_ ) if (!/^#/  !/^\s*$/);
(Yet another bug that I've had fixed in our copy of Mon for 1.5 years, but 
that I haven't submitted to Jim because he hasn't released the last set of 
patches I sent him.)

-David

David Nolan*[EMAIL PROTECTED]
curses: May you be forced to grep the termcap of an unclean yacc while
 a herd of rogue emacs fsck your troff and vgrind your pathalias!
___
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon


Re: Release of MON?

2004-04-23 Thread Jim Trocki
On Fri, 23 Apr 2004, Scott Prater wrote:

 I remember Jim talked last summer about releasing an updated version of
 MON... is that still in the works?

ftp://ftp.kernel.org/pub/software/admin/mon/devel

-rw-r--r--   1 korg korg   179153   Sep 30  2003   mon-0.99.3-35.tar.gz
-rw-r--r--   1 korg korg   179430   Nov 28 13:11   mon-0.99.3-38.tar.gz
-rw-r--r--   1 korg korg   179478   Dec  2 15:21   mon-0.99.3-39.tar.gz

the most recent one has broken upalerts, which needs to be fixed. any
other major brokenness in that version i haven't heard about.


___
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon