Hi,
According to the Blog here [url]https://www.percona.com/blog/2018/08/28/extend-metrics-for-percona-monitoring-and-management-without-modifying-code/[/url]
i tried to enable the textfile collector but for some reason log does not show textfile collector enabled.
Here is the command i tried
pmm-admin stop linux:metrics
OK, stopped linux:metrics service for na01lstxdbp01.prod-us.alarm.com.
pmm-admin remove linux:metrics
OK, removed system na01lstxdbp01.prod-us.alarm.com from monitoring.
pmm-admin add linux:metrics – --collectors.enabled=diskstats,filefd,filesystem,loadavg,meminfo,netdev,netstat,stat,time,uname,vmstat,textfile --collector.textfile.directory=“/tmp”
OK, now monitoring this system.
but when i look at logs , i do not see textfile is enabled
cat /var/log/pmm-linux-metrics-42000.log
time=“2018-10-18T13:16:08-07:00” level=info msg=“Starting node_exporter (version=, branch=, revision=)” source=“node_exporter.go:142”
time=“2018-10-18T13:16:08-07:00” level=info msg=“Build context (go=go1.10.1, user=, date=)” source=“node_exporter.go:143”
time=“2018-10-18T13:16:08-07:00” level=info msg=“Enabled collectors:” source=“node_exporter.go:162”
time=“2018-10-18T13:16:08-07:00” level=info msg=" - filefd" source=“node_exporter.go:164”
time=“2018-10-18T13:16:08-07:00” level=info msg=" - netstat" source=“node_exporter.go:164”
time=“2018-10-18T13:16:08-07:00” level=info msg=" - stat" source=“node_exporter.go:164”
time=“2018-10-18T13:16:08-07:00” level=info msg=" - time" source=“node_exporter.go:164”
time=“2018-10-18T13:16:08-07:00” level=info msg=" - uname" source=“node_exporter.go:164”
time=“2018-10-18T13:16:08-07:00” level=info msg=" - vmstat" source=“node_exporter.go:164”
time=“2018-10-18T13:16:08-07:00” level=info msg=" - diskstats" source=“node_exporter.go:164”
time=“2018-10-18T13:16:08-07:00” level=info msg=" - filesystem" source=“node_exporter.go:164”
time=“2018-10-18T13:16:08-07:00” level=info msg=" - loadavg" source=“node_exporter.go:164”
time=“2018-10-18T13:16:08-07:00” level=info msg=" - meminfo" source=“node_exporter.go:164”
time=“2018-10-18T13:16:08-07:00” level=info msg=" - netdev" source=“node_exporter.go:164”
time=“2018-10-18T13:16:08-07:00” level=info msg=" - meminfo_numa" source=“node_exporter.go:164”
time=“2018-10-18T13:16:08-07:00” level=info msg=“Starting HTTPS server for [URL]https://172.20.32.196:42000/metrics[/URL] …” source=“server.go:106”
pmm-admin --version
1.14.1
Can somebody help on this ? is this a bug or i am missing something.