Hello,
I'm trying to set up pmlogger to work so that I have one central logging
machine for a couple hundred remote machines all using pcp. I've looked
through all the man pages and the online documentation. It explains how to do
it, the only problem is that when it gives any examples, it only gives it for
one remote machine, which is a bit frustrating, because going from one to two,
there could be alot of different things to change.
Basically my problem is this, all I'm getting logged is my primary machine,
and not the remote machines. I can get access to the remote machines through
other means (pminfo) but the logger doesn't seem to want to.
This is what my files look like
----------------------------------
/var/pcp/config/pmlogger/control
----------------------------------
*comments removed*
fncdf1 n y /export/farms/pcplogger/cdf/fncdf1 -c
/var/pcp/config/pmlogger/config.farmworker
fncdf2 n y /export/farms/pcplogger/cdf/fncdf2 -c
/var/pcp/config/pmlogger/config.farmworker
...*bunches more*...
fncdf47 n n /export/farms/pcplogger/cdf/fncdf47 -c
/var/pcp/config/pmlogger/config.farmworker
fncdf48 n n /export/farms/pcplogger/cdf/fncdf48 -c
/var/pcp/config/pmlogger/config.farmworker
...*bunches more*...
LOCALHOSTNAME y n /var/log/pcp/pmlogger/LOCALHOSTNAME -c
config.default
---------------------------------------
/var/pcp/config/pmlogger/config.default
---------------------------------------
*comments removed*
log mandatory on once { hinv.ncpu hinv.ndisk }
log mandatory on 1 hour
{ kernel.all.load [ "15 minute" ]
filesys.full }
[access]
disallow * : all except enquire;
allow localhost : mandatory, advisory;
---------------------------------------
/var/pcp/config/pmlogger/config.farmworker
---------------------------------------
*comments removed*
log mandatory on once {
kernel.uname
hinv
mem.physmem
pmcd.numagents
pmcd.numclients
pmcd.version
pmcd.agent
pmcd.pmlogger
}
log mandatory on 1 hour {
kernel.all.load [ "15 minute" ]
kernel.all.cpu
proc.nprocs
filesys.full
}
[access]
disallow * : all;
allow localhost : mandatory, advisory;
-----------------------------------------------------
Does anyone see what I'm doing wrong. I've tried doing
both n and y for the secondary logger. The logger does
create the directories (/export/farms/pmlogger/cdf/fncdfxx)
but it doesn't every put anything in them.
Thanks
Troy
--
__________________________________________________
Troy Dawson dawson@xxxxxxxx (630)840-6468
Fermilab ComputingDivision/OSS CSS Group
__________________________________________________
|