PMDAWEBLOG(1) General Commands Manual PMDAWEBLOG(1) (NAME) pmdaweblog - (PMDA) (SYNOPSIS) $PCP_PMDAS_DIR/weblog/pmdaweblog [-Cp] [-D debug] [-d domain] [-h helpfile] [-i port] [-l logfile] [-n idlesec] [-S num] [-t delay] [-u socket] [-U username] configfile (DESCRIPTION) pmdaweblog << >> (PMDA(3)) . Performance Co-Pilot (PCP) . configfile (regular expression) . / PMDA Install Remove $PCP_PMDAS_DIR/weblog . . pmdaweblog tail(1) . <<>> (catch up) (rotation) . PMDA pmdaweblog pmcd(1) $PCP_PMCDCONF_PATH - Install $PCP_PMCDCONF_PATH . pmdaweblog : -C . -d domain domain. domain domain PMDA domain PMDA pmdaweblog . domain $PCP_PMDAS_DIR/weblog/domain.h . $PCP_PMCDCONF_PATH domain $PCP_VAR_DIR/pmns/stdpmid <<>> domain . -h helpfile helpfile . -i port pmcd(1) port ( ). -l logfile . pmdaweblog weblog.log pmcd(1) $PCP_LOG_DIR/pmcd. (standard error) . -n idlesec idlesec . pmdaweblog . . pmstore(1) web.config.check . -p pmcd(1) (pipe). -S num sproc. sproc ( ) ( ) . pmdaweblog sproc num . sproc . -t delay delay . . pmstore(1) web.config.catchup ..TP -u socket pmcd(1) socket . -U . PCP "pcp" ("root") . (INSTALLATION) PCP . collector () monitor () . . . root : # cd $PCP_PMDAS_DIR/weblog # ./Install . PMDA . pmdaweblog . configfile pmdaweblog . root : # cd $PCP_PMDAS_DIR/weblog # ./Remove pmdaweblog pmcd(1) . Install Remove pmcd(1) . (CONFIGURATION) PMDA ASCII . '#' . . access error : regex regexName regexp regex_posix regexName ordering regexp_posix regexName . . regexp regcmp(3) . regexp_posix regcomp(3) . ordering . Posix . . . - Posix $0 : GET HEAD POST PUT. PUT POST OTHER . $1 . <<->> << >> . $3 $4 . (caching) ( $3 ). http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html . - Posix : # pattern for CERN, NCSA, Netscape etc Access Logs regex CERN ] "([A-Za-z][-A-Za-z]+)$0 .*" [-0-9]+ ([-0-9]+)$1 # pattern for FTP Server access logs (normally in SYSLOG) regex SYSLOG_FTP ftpd[.*]: ([gp][-A-Za-z]+)$0( )$1 RegexName SQUID . Squid . NS_PROXY Common Extended Log Format Netscape/W3C SQUID Squid Object Cache . # pattern for Netscape Proxy Server Extended Logs regex NS_PROXY ] "([A-Za-z][-A-Za-z]+)$0 .*" ([-0-9]+)$2 \ ([-0-9]+)$1 ([-0-9]+)$3 # pattern for Squid Cache logs regex SQUID [0-9]+.[0-9]+[ ]+[0-9]+ [a-zA-Z0-9.]+ \ ([_A-Z]+)$3([0-9]+)$2 ([0-9]+)$1 ([A-Z]+)$0 regexp . : # pattern for CERN, NCSA, Netscape etc Error Logs regex CERN_err . # pattern for FTP Server error logs (normally in SYSLOG) regex SYSLOG_FTP_err FTP LOGIN FAILED POSIX . method,size size,method . : n1,n2,n3,n4 nX . ( ) method,size,client_status,server_status . - . Posix RegexName SQUID . Posix : # pattern for CERN, NCSA, Netscape, Apache etc Access Logs regex_posix CERN method,size ][ \]+"([A-Za-z][-A-Za-z]+) \ [^"]*" [-0-9]+ ([-0-9]+) # pattern for CERN, NCSA, Netscape, Apache etc Access Logs regex_posix CERN 1,2 ][ \]+"([A-Za-z][-A-Za-z]+) \ [^"]*" [-0-9]+ ([-0-9]+) # pattern for FTP Server access logs (normally in SYSLOG) regex_posix SYSLOG_FTP method,size ftpd[.*]: \ ([gp][-A-Za-z]+)( ) # pattern for Netscape Proxy Server Extended Logs regex_posix NS_PROXY 1,3,2,4 ][ ]+"([A-Za-z][-A-Za-z]+) \ [^"]*" ([-0-9]+) ([-0-9]+) ([-0-9]+) # pattern for Squid Cache logs regex_posix SQUID 4,3,2,1 [0-9]+.[0-9]+[ ]+[0-9]+ \ [a-zA-Z0-9.]+ ([_A-Z]+)([0-9]+) ([0-9]+) ([A-Z]+) # pattern for CERN, NCSA, Netscape etc Error Logs regex_posix CERN_err - . # pattern for FTP Server error logs (normally in SYSLOG) regex_posix SYSLOG_FTP_err - FTP LOGIN FAILED : server serverName on|off accessRegex accessFile errorRegex errorFile serverName (instance) . PCP PMAPI(3) . on off PMDA . pmstore(1) web.perserver.watched configfile . : . . weblog PMDA . PMDA . : # Netscape Server on Port 80 at IP address 127.55.555.555 server 127.55.555.555:80 on CERN /logs/access CERN_err /logs/errors # FTP Server. server ftpd on SYSLOG_FTP /var/log/messages SYSLOG_FTP_err /var/log/messages PMDA (crash) . regex(3) . (FILES) $PCP_PMDAS_DIR/weblog PMDA $PCP_PMDAS_DIR/weblog/Install PMDA $PCP_PMDAS_DIR/weblog/Remove PMDA $PCP_LOG_DIR/pmcd/weblog.log $PCP_PMCDCONF_PATH pmcd pmdaweblog $PCP_LOG_DIR/NOTICES PMDA $PCP_VAR_DIR/config/web/weblog.conf PMDA $PCP_DOC_DIR/pcpweb/index.html HTML PCPWEB PCP (PCP ENVIRONMENT) PCP_ PCP . /etc/pcp.conf . $PCP_CONF pcp.conf(5) . (DEBUGGING OPTIONS) -D --debug stderr . debug pmdbg(1) -l . pmdaweblog : +---------------------------------------------------+------------------+ | | | +---------------------------------------------------+------------------+ |appl0 | | | | | | | | | | configfile | | | | | | | | | | +---------------------------------------------------+------------------+ |appl1 | | | | | | | | | | | | | | +---------------------------------------------------+------------------+ |appl2 | | | | | | | (IPC) | | | | | | | | | | | | | | | | |" (SEE ALSO)" | | |pmcd (1) | | |pmchart (1) | | |pmdawebping (1) | | |pminfo (1) | | |pmstore (1) | | |pmview (1) | | |tail (1) | | |weblogvis (1) | | |webvis (1) | | |PMAPI (3) | | |PMDA (3) | | | | | |regcmp (3). | | | | | +---------------------------------------------------+------------------+ Performance Co-Pilot PCP PMDAWEBLOG(1)