pt-stalk not honoring all configs listed with --config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
New
|
Undecided
|
Unassigned |
Bug Description
Are we sure this pt-stalk --config command actually parses correctly still?
Aside from the above mention of --config= not working, it seems things are still not parsed correctly (or honored) when used without the = sign.
For instance when using multiple configs, it seems that the LAST config is the only one honored:
pt-stalk --config ./deadlocks.
output:
2016_04_25_15_51_59 Starting /usr/bin/pt-stalk --function=status --variable=
In this example, my longquery.conf is not triggering, but if I put it as the last argument in the list of configs, it does:
[root@testl1 configs]# pt-stalk --config ./deadlocks.
2016_04_25_15_52_46 Starting /usr/bin/pt-stalk --function=
2016_04_25_15_53_52 Check results: /usr/local/
2016_04_25_15_53_53 Check results: /usr/local/
2016_04_25_15_53_54 Check results: /usr/local/
2016_04_25_15_53_55 Check results: /usr/local/
2016_04_25_15_53_56 Check results: /usr/local/
2016_04_25_15_53_56 Collect 1 triggered
2016_04_25_15_53_56 Collect 1 PID 50385
2016_04_25_15_53_56 Collect 1 done
2016_04_25_15_53_56 Sleeping 30 seconds after collect
;;
Version:
pt-stalk 3.0.4
information type: | Public → Private |
summary: |
- pt-stalk not honoring all configs listed with --config + stlk cnf |
summary: |
- stlk cnf + pt-stalk not honoring all configs listed with --config |
information type: | Private → Public |
Same results with version pt-stalk 2.2.17