# pmm-admin command does not enable textfile collector

**URL:** https://forums.percona.com/t/pmm-admin-command-does-not-enable-textfile-collector/6640
**Category:** PMM 1.x
**Created:** [October 18, 2018, 3:07pm UTC](https://forums.percona.com/t/pmm-admin-command-does-not-enable-textfile-collector/6640 "2018-10-18T15:07:10Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![vvsaxena](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vvsaxena/32/1179_2.png) [@vvsaxena](https://forums.percona.com/u/vvsaxena)
#### Post date: [October 18, 2018, 3:07pm UTC](https://forums.percona.com/t/pmm-admin-command-does-not-enable-textfile-collector/6640/1 "2018-10-18T15:07:10Z")

</div>

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]](https://www.percona.com/blog/2018/08/28/extend-metrics-for-percona-monitoring-and-management-without-modifying-code/%5B/url%5D)  
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](http://na01lstxdbp01.prod-us.alarm.com).  
pmm-admin remove linux:metrics  
OK, removed system [na01lstxdbp01.prod-us.alarm.com](http://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]](https://172.20.32.196:42000/metrics%5B/URL%5D) …” source=“server.go:106”

pmm-admin --version  
1.14.1

Can somebody help on this ? is this a bug or i am missing something.

---

<div class="post-metadata">

### Author: ![vvsaxena](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vvsaxena/32/1179_2.png) [@vvsaxena](https://forums.percona.com/u/vvsaxena)
#### Post date: [October 22, 2018, 8:28am UTC](https://forums.percona.com/t/pmm-admin-command-does-not-enable-textfile-collector/6640/2 "2018-10-22T08:28:32Z")

</div>

I think . its a bug because executing the node\_exporter directly ( not from pmm-admin ) with textfile collector is working.

---

<div class="post-metadata">

### Author: ![lorraine.pocklington](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/lorraine.pocklington/32/37_2.png) [@lorraine.pocklington](https://forums.percona.com/u/lorraine.pocklington)
#### Post date: [October 22, 2018, 8:48am UTC](https://forums.percona.com/t/pmm-admin-command-does-not-enable-textfile-collector/6640/3 "2018-10-22T08:48:52Z")

</div>

Hi there, thanks for this. I wonder if you’d be able to report this to the team directly using JIRA please? See here in this post [url][https://www.percona.com/forums/questions-discussions/percona-monitoring-and-management/50690-pmm-troubleshooting-and-how-to-report-a-bug[/url]](https://www.percona.com/forums/questions-discussions/percona-monitoring-and-management/50690-pmm-troubleshooting-and-how-to-report-a-bug%5B/url%5D) towards the end on how to report a bug.

We’d be really grateful if you could do that. Thanks!

---

<div class="post-metadata">

### Author: ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)
#### Post date: [October 22, 2018, 1:09pm UTC](https://forums.percona.com/t/pmm-admin-command-does-not-enable-textfile-collector/6640/4 "2018-10-22T13:09:32Z")

</div>

Hi [vvsaxena](https://percona.vanillacommunities.com/profile/x/x/40342)

We’re going to be enabling the collector by default. Try once we release 1.16 (expected Oct 31)

[url][[PMM-2888] Enable Textfile Collector by Default in node\_exporter - Percona JIRA](https://jira.percona.com/browse/PMM-2888%5B/url%5D)

---

<div class="post-metadata">

### Author: ![vvsaxena](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vvsaxena/32/1179_2.png) [@vvsaxena](https://forums.percona.com/u/vvsaxena)
#### Post date: [October 26, 2018, 8:54am UTC](https://forums.percona.com/t/pmm-admin-command-does-not-enable-textfile-collector/6640/5 "2018-10-26T08:54:02Z")

</div>

Thanks Michael for the update. As a workaround for current versions in PMM , i was able to start node\_exporter ( binary sitting in pmm packages) directly ( not from pmm-admin ) with required parameters and it worked.

---

<div class="post-metadata">

### Author: ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)
#### Post date: [October 31, 2018, 12:09am UTC](https://forums.percona.com/t/pmm-admin-command-does-not-enable-textfile-collector/6640/6 "2018-10-31T00:09:25Z")

</div>

That’s a good sign then. Thanks for confirming. BTW release is now going out Nov 1
