Hi -
> [...]
> Here are the contents from /var/lib/pcp/pmcd/nginx.log:
> Log for pmdanginx on collector started Wed Sep 9 15:07:57 2015
>
> [Wed Sep 9 15:07:59] pmdanginx(25446) Error: pmdaFetch: PMID 117.0.6
> not handled by fetch callback
> [...]
I'm really not familiar with the insides of that pmda, but there
is not that much going on. Check it out - it's just a short perl
script. It does a http fetch on "http://localhost/nginx_status"
(or some other location overridden in eval'd nginx.conf). The
resulting data is parsed with a blunt
@nginx_status = ($response->decoded_content =~ m/(\d+)/gm);
and then metrics are fetched from that array, indexed by
the item number (e.g. 6).
So if I had to diagnose this bad boy, I'd start with a hand-fetched
nginx_status result file, and insert some tracing to dump
@nginx_status after the parse process.
- FChE
|