| To: | Tadej =?UTF-8?Q?Jane=C5=BE?= <tadej.j@xxxxxx> |
|---|---|
| Subject: | Re: How to extend pmlogger's default configuration when using pmmgr |
| From: | fche@xxxxxxxxxx (Frank Ch. Eigler) |
| Date: | Mon, 07 Sep 2015 14:51:54 -0400 |
| Cc: | pcp@xxxxxxxxxxx |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <1441613884.8358.33.camel@tlinux64> (tadej.j@xxxxxx's message of "Mon, 07 Sep 2015 10:18:04 +0200") |
| References: | <1441613884.8358.33.camel@tlinux64> |
| User-agent: | Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
tadej.j wrote:
> To be more concrete, I have web server hosts where I enabled the nginx
> PMDA. This PMDA provides the following additional metrics:
> nginx.[...]
> I would like configure pmlogger [under pmmgr] to also log these additional
> metrics on the web server hosts.
There are at least two ways: with or without pmlogconf.
If using pmlogconf (/etc/pcp/pmmgr/pmlogconf exists), create a new
file under $PCP_VAR_DIR/config/pmlogconf:
ident nginx stuff
probe nginx.active
nginx
If not using pmlogconf (/etc/pcp/pmmgr/pmlogconf does not exist,
so /etc/pcp/pmmgr/pmlogger needs to have a "-c CONFIGFILE" part),
then add
log mandatory on default {
nginx
}
to the CONFIGFILE.
In either case, then next time pmmgr reidentifies the target host (or
is restarted), pmlogconf may or may not run, and these metrics should
be amongst the ones polled.
- FChE
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | How to extend pmlogger's default configuration when using pmmgr, Tadej JaneÅ |
|---|---|
| Next by Date: | Re: [pcp] PCP Licensing Scheme Problem? (#44), edfsl |
| Previous by Thread: | How to extend pmlogger's default configuration when using pmmgr, Tadej JaneÅ |
| Next by Thread: | Re: How to extend pmlogger's default configuration when using pmmgr, Tadej JaneÅ |
| Indexes: | [Date] [Thread] [Top] [All Lists] |