Re: mon logging setup problem

2004-11-15 Thread Shea Frederick
Fixed that, but still not creating a log file.
logdir = /var/log/mon
dtlogfile = dtlog
-Shea
David Nolan wrote:

--On Monday, November 15, 2004 9:42 AM -0700 Shea Frederick 
[EMAIL PROTECTED] wrote:

So I have mon setup and working fine, accept for one thing. No log files
are ever created.
This is what I have in my mon.cf for logging
logdir = /var/log/mon
dtlogfile = /var/log/mon/dtlog
and this is the /var/log/mon dir
drwxrwxrwx  2 jibe1   wheel  512 Nov 15 06:27 mon
dtlogfile shouldn't be a canonical file name, just the name of the 
file within that directory. i.e.
logdir = /var/log/mon
dtlogfile = dtlog

-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
___
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon


Re: mon logging setup problem

2004-11-15 Thread David Nolan

--On Monday, November 15, 2004 10:54 AM -0700 Shea Frederick 
[EMAIL PROTECTED] wrote:

Fixed that, but still not creating a log file.
logdir = /var/log/mon
dtlogfile = dtlog
Ah, I think you also need:
dtlogging = 1
(Forgot about that setting...)
-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: mon logging setup problem

2004-11-15 Thread Jim Trocki
On Mon, 15 Nov 2004, Shea Frederick wrote:

 Fixed that, but still not creating a log file.
 
 logdir = /var/log/mon
 dtlogfile = dtlog

do you see messages from mon in your /var/log/messages file, or wherever you've
told syslog to send stuff from facility daemon priority
err/info/notice? that's where failure events are logged.

dtlog is only appended to when a service comes back up after being down.
otherwise you don't know how long it was down for, so you can't write the log
saying how long it was down for.

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


Re: mon logging setup problem

2004-11-15 Thread Shea Frederick
That was the problemworking perfectly now.
---working dtlog config---
dtlogging = 1
logdir = /var/log/mon
dtlogfile = dtlog
Thanks all
-Shea
David Nolan wrote:

--On Monday, November 15, 2004 10:54 AM -0700 Shea Frederick 
[EMAIL PROTECTED] wrote:

Fixed that, but still not creating a log file.
logdir = /var/log/mon
dtlogfile = dtlog

Ah, I think you also need:
dtlogging = 1
(Forgot about that setting...)
-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
___
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon