pcp
[Top] [All Lists]

pmlogger_check: Error: primary logging disabled for ...

To: pcp@xxxxxxxxxxx
Subject: pmlogger_check: Error: primary logging disabled for ...
From: Ralf Baerwaldt <BBCONS@xxxxxx>
Date: Mon, 3 Sep 2001 18:59:13 +0200
Organization: BBCONS GmbH
Sender: owner-pcp@xxxxxxxxxxx
Hello !

I just installed the pmlogger-software from the Suse CD.
I didn't do any special configuration because I havend found any script to 
modify.

Starting pmlogger_check says:

pmlogger_check: [/var/pcp/config/pmlogger/control:37]
Error: primary logging disabled for mylocalhost
... logging for host "mylocalhost" unchanged

What ist missing ?

I tried to config the control and the config.default file
but the message doesn't disappear nor do I get any
logs.

ciao, Ralf Baerwaldt

------------------------------

Following pmlogger_check  -NVV:

[control:1] host="#" primary="" socks="" dir="" args=""
[control:2] host="#" primary="PCP" socks="archive" dir="logging" 
args="configuration/control"
[control:3] host="#" primary="" socks="" dir="" args=""
[control:4] host="#" primary="This" socks="file" dir="is" args="used by various 
of the PCP archive logging administrative"
[control:5] host="#" primary="tools" socks="to" dir="perform" args="maintenance 
on the pmlogger instances running on"
[control:6] host="#" primary="the" socks="local" dir="host." args=""
[control:7] host="#" primary="" socks="" dir="" args=""
[control:8] host="#" primary="This" socks="file" dir="contains" args="one line 
per host to be logged, fields are"
[control:9] host="#" primary="Host" socks="name" dir="of" args="host to be 
logged"
[control:10] host="#" primary="P(rimary)" socks="is" dir="this" args="the 
primary logger? y or n"
[control:11] host="#" primary="S(ocks)" socks="should" dir="this" args="logger 
be launched with pmsocks? y or n"
[control:12] host="#" primary="Directory" socks="full" dir="pathname" args="to 
directory where archive logs are"
[control:13] host="#" primary="to" socks="be" dir="maintained" args="... note 
all scripts "cd" to here as"
[control:14] host="#" primary="a" socks="first" dir="step" args=""
[control:15] host="#" primary="Args" socks="optional" dir="additional" 
args="arguments to pmlogger and/or pmnewlog"
[control:16] host="#" primary="" socks="" dir="" args=""
[control:17] host="" primary="" socks="" dir="" args=""
[control:18] host="#" primary="===" socks="VARIABLE" dir="ASSIGNMENTS" 
args="==="
[control:19] host="#" primary="" socks="" dir="" args=""
[control:20] host="#" primary="DO" socks="NOT" dir="REMOVE" args="OR EDIT THE 
FOLLOWING LINE"
[control:21] host="$version=1.1" primary="" socks="" dir="" args=""
# $version=1.1
+ export version; version=1.1
[control:22] host="" primary="" socks="" dir="" args=""
[control:23] host="#" primary="if" socks="pmsocks" dir="is" args="being used, 
you need to install and configure libtsocks."
[control:24] host="#" primary="See" socks="the" dir="pmsocks(1)" args="man page 
for instructions."
[control:25] host="" primary="" socks="" dir="" args=""
[control:26] host="#" primary="if" socks="remote" dir="loggers" args="are run 
over a WAN with potentially long delays,"
[control:27] host="#" primary="adjust" socks="the" dir="following" args="and 
uncomment"
[control:28] host="#$PMCD_CONNECT_TIMEOUT=20" primary="" socks="" dir="" args=""
[control:29] host="#$PMCD_REQUEST_TIMEOUT=15" primary="" socks="" dir="" args=""
[control:30] host="" primary="" socks="" dir="" args=""
[control:31] host="#" primary="===" socks="LOGGER" dir="CONTROL" 
args="SPECIFICATIONS ==="
[control:32] host="#" primary="" socks="" dir="" args=""
[control:33] host="#Host" primary="P?" socks="S?" dir="directory" args="args"
[control:34] host="" primary="" socks="" dir="" args=""
[control:35] host="#" primary="local" socks="primary" dir="logger" args="is 
enabled by default"
[control:36] host="#" primary="mylocalhost" socks="y" dir="n" 
args="/var/log/pcp/pmlogger/mylocalhost -c config.default"
[control:37] host="bbcons" primary="y" socks="n" 
dir="/var/log/pcp/pmlogger/mylocalhost" args="-c config.default"
Check pmlogger -P -h mylocalhost ... in /var/log/pcp/pmlogger/mylocalhost ...
+ cd /var/log/pcp/pmlogger/mylocalhost
pmlogger_check: [/var/pcp/config/pmlogger/control:37]
Error: primary logging disabled for mylocalhost
... logging for host "mylocalhost" unchanged
[control:38] host="" primary="" socks="" dir="" args=""
[control:39] host="#" primary="Note:" socks="if" dir="multiple" args="pmloggers 
for the same host (e.g. both primary and"
[control:40] host="#" primary="non-primary" socks="loggers" dir="are" 
args="active), then they MUST use different"
[control:41] host="#" primary="directories" socks="" dir="" args=""
[control:42] host="" primary="" socks="" dir="" args=""
[control:43] host="#" primary="local" socks="non-primary" dir="logger" args=""
[control:44] host="#mylocalhost" primary="n" socks="n" 
dir="/var/log/pcp/pmlogger/mysummary" args="-c config.Summary"
[control:45] host="" primary="" socks="" dir="" args=""
[control:46] host="#" primary="remote" socks="host" dir="" args=""
[control:47] host="#remote" primary="n" socks="n" 
dir="/var/log/pcp/pmlogger/remote" args="-c config.remote"
[control:48] host="" primary="" socks="" dir="" args=""
[control:49] host="#" primary="thru" socks="the" dir="firewall" args="via socks"
[control:50] host="#distant" primary="n" socks="y" 
dir="/var/log/pcp/pmlogger/distant" args="-c config.distant"


-------------------------------

following control (with line number):

21:$version=1.1
36:# LOCALHOSTNAME y   n   PCP_LOG_DIR/pmlogger/LOCALHOSTNAME -c config.default
37:mylocalhost       y   n   /var/log/pcp/pmlogger/mylocalhost -c config.default


-------------------------------

following config.default (with line number):

37:log mandatory on once { hinv.ncpu hinv.ndisk }
39:log mandatory on 1 hour
40:    kernel.all.load [ "1 minute" ]
42:[access]
43:# disallow * : all except enquire;
44:allow localhost : mandatory, advisory;
45:allow mylocalhost : mandatory, advisory;

<Prev in Thread] Current Thread [Next in Thread>
  • pmlogger_check: Error: primary logging disabled for ..., Ralf Baerwaldt <=