-----Messaggio originale-----
Da: TORRESANI, Roberto
Inviato: venerd� 22 marzo 2002 8.34
A: '[EMAIL PROTECTED]'
Oggetto: R: Question about dtlogging
Maybe one of these two things:
1) the user which is running mon has not the right for access the downtime.log
file/directory.
2) I have not looked at the mon script source, but maybe that the dtlogfile wants only
the filename without path (so the file will be placed into "logdir" parameter
directory)
Here is my mon.cf file:
--
cfbasedir = /usr/lib/mon/etc
alertdir = /usr/lib/mon/alert.d
mondir = /usr/lib/mon/mon.d
logdir = /var/log/mon
dtlogfile = dtlog
dtlogging = yes
--
Hope that helped,
Roberto T.
-----Messaggio originale-----
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Inviato: gioved� 21 marzo 2002 3.06
A: [EMAIL PROTECTED]
Oggetto: Question about dtlogging
I have installed Red Hat 7.1. I'm testing with mon-0-38-18 and mon-0-99-2.6.
I also have installed the dtquery utility.
I followed the configuration instructions to dtquery, but the mon server did not
generate any message in the downtime.log.
This is my configuration:
# global options
#
cfbasedir = /etc/mon
pidfile = /var/run/mon.pid
statedir = /var/run/mon/state.d
logdir = /var/run/mon/log.d
dtlogfile = /var/run/mon/log.d/downtime.log
dtlogging = yes
alertdir = /usr/lib/mon/alert.d
mondir = /usr/lib/mon/mon.d
maxprocs = 20
histlength = 100
randstart = 60s
authtype = userfile
userfile = /etc/mon/userfile
Please, anybody knows what is my problem?