1PMDARSYSLOG(1) General Commands Manual PMDARSYSLOG(1)
2
3
4
6 pmdarsyslog - rsyslog (reliable and extended syslog) PMDA
7
9 pmdarsyslog is a Performance Metrics Domain Agent (PMDA) which exports
10 metric values from the rsyslogd(8) server.
11
12 Further details about rsyslog can be found at http://www.rsyslog.com/.
13
15 If you want access to the names and values for the rsyslog performance
16 metrics, do the following as root:
17
18 # cd $PCP_PMDAS_DIR/rsyslog
19 # ./Install
20
21
22 To uninstall, do the following as root:
23
24 # cd $PCP_PMDAS_DIR/rsyslog
25 # ./Remove
26
27 pmdarsyslog is launched by pmcd(1) and should never be executed di‐
28 rectly. The Install and Remove scripts notify pmcd(1) when the agent is
29 installed or removed.
30
31 In order to use this agent, rsyslog stats gathering must be enabled.
32 This is done by adding the lines:
33
34 module(load="impstats" interval="10" severity="7")
35 if $syslogtag contains 'rsyslogd-pstats' then {
36 action(
37 name="pstats-for-pcp"
38 type="ompipe"
39 template="RSYSLOG_FileFormat"
40 pipe="/var/log/pcp/rsyslog/stats"
41 )
42 stop
43 }
44
45 to your rsyslog.conf(5) configuration file after installing the PMDA.
46
48 $PCP_LOG_DIR/rsyslog/stats
49 named pipe containing statistics exported from rsyslog, usually
50 created by the PMDA Install script.
51
52 $PCP_PMDAS_DIR/rsyslog/rsyslog.conf
53 optional configuration file for pmdarsyslog
54
55 $PCP_PMDAS_DIR/rsyslog/Install
56 installation script for the pmdarsyslog agent
57
58 $PCP_PMDAS_DIR/rsyslog/Remove
59 undo installation script for the pmdarsyslog agent
60
61 $PCP_LOG_DIR/pmcd/rsyslog.log
62 default log file for error messages from pmdarsyslog
63
65 Environment variables with the prefix PCP_ are used to parameterize the
66 file and directory names used by PCP. On each installation, the file
67 /etc/pcp.conf contains the local values for these variables. The
68 $PCP_CONF variable may be used to specify an alternative configuration
69 file, as described in pcp.conf(5).
70
72 PCPIntro(1), pmcd(1) and rsyslogd(1).
73
74
75
76Performance Co-Pilot PCP PMDARSYSLOG(1)