# qan won't show monngodb summary

**URL:** https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794
**Category:** PMM 1.x
**Created:** [August 8, 2017, 12:43am UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794 "2017-08-08T00:43:40Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![snowave](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/snowave/32/7_2.png) [@snowave](https://forums.percona.com/u/snowave)
#### Post date: [August 8, 2017, 12:43am UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/1 "2017-08-08T00:43:40Z")

</div>

qan won’t show monngodb summary, errors in client log: [TABLE]  
[TR]  
[TD]agent[/TD]  
[TD]warning[/TD]  
[TD]Cmd fail: Reply[Cmd:GetMongoSummary Error:‘exit status 1’ Id:48c76b9a-6ee9-495c-7cf6-2dafb31bf580][/TD]  
[/TR]  
[/TABLE]  
[TABLE]  
[TR]  
[TD]agent[/TD]  
[TD]err[/TD]  
[TD]exit status 1[/TD]  
[/TR]  
[/TABLE]

and query profiles shows:  
No data for selected time-range.

how can i run a debug process and find where is the resson causes this problem.

thanks.

---

<div class="post-metadata">

### Author: ![Mykola](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mykola/32/30_2.png) [@Mykola](https://forums.percona.com/u/Mykola)
#### Post date: [August 8, 2017, 1:52am UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/2 "2017-08-08T01:52:49Z")

</div>

Hi [snowave](https://percona.vanillacommunities.com/profile/x/x/2400),

is the latest version of Percona Toolkit installed on Client side?

---

<div class="post-metadata">

### Author: ![snowave](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/snowave/32/7_2.png) [@snowave](https://forums.percona.com/u/snowave)
#### Post date: [August 8, 2017, 2:22am UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/3 "2017-08-08T02:22:06Z")

</div>

> [@Mykola;49314](#):
>
> Hi [snowave](https://percona.vanillacommunities.com/profile/x/x/2400),
> 
> is the latest version of Percona Toolkit installed on Client side?

yes ， version is 3.0.4 , installed into /usr/bin

---

<div class="post-metadata">

### Author: ![Mykola](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mykola/32/30_2.png) [@Mykola](https://forums.percona.com/u/Mykola)
#### Post date: [August 8, 2017, 2:53am UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/4 "2017-08-08T02:53:02Z")

</div>

hm, can you share the output of the following commands?

```auto

env -i /usr/bin/pt-mongodb-summary
echo $?

```

---

<div class="post-metadata">

### Author: ![snowave](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/snowave/32/7_2.png) [@snowave](https://forums.percona.com/u/snowave)
#### Post date: [August 8, 2017, 3:12am UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/5 "2017-08-08T03:12:04Z")

</div>

[QUOTE=Mykola;49316]  
hm, can you share the output of the following commands?

```auto

env -i /usr/bin/pt-mongodb-summary
echo $?

```

[/QUOTE]

as follows：

# Instances

PID Host Type ReplSet Engine  
16033 ip1:27020 PRIMARY repl1 wiredTiger  
21238 ip2:27020 SECONDARY repl1 wiredTiger  
31305 ip3:27020 SECONDARY repl1 wiredTiger

# This host

# Mongo Executable

Path to executable | /work/mongodb/bin/mongod

# Report On ip1:27020

User | woker  
PID Owner | mongod  
Hostname | ip1:27020  
Version | 3.2.10-3.0  
Built On | Linux x86\_64  
Started | 2017-05-16 08:55:30 +0800 CST  
Datadir | /work/mongodb/data/db\_27020  
Processes | 1  
Process Type | replset

# Running Ops

Type Min Max Avg  
Insert 0 0 0/5s  
Query 22 34 130/5s  
Update 0 0 0/5s  
Delete 0 0 0/5s  
GetMore 327 364 1735/5s  
Command 535 599 2854/5s

# Security

Users : 58  
Roles : 1  
Auth : enabled  
SSL : disabled  
Port : 27020  
Bind IP:

# Cluster wide

Databases:

# Balancer (per day)

Success:

---

<div class="post-metadata">

### Author: ![Mykola](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mykola/32/30_2.png) [@Mykola](https://forums.percona.com/u/Mykola)
#### Post date: [August 9, 2017, 3:49am UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/6 "2017-08-09T03:49:42Z")

</div>

hm, can you share output of the second command?

```auto
env -i /usr/bin/pt-mongodb-summary
echo $?

```

i want verify return code of pt-mongodb-summary tool

---

<div class="post-metadata">

### Author: ![snowave](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/snowave/32/7_2.png) [@snowave](https://forums.percona.com/u/snowave)
#### Post date: [August 11, 2017, 12:52am UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/7 "2017-08-11T00:52:21Z")

</div>

> [@Mykola;49344](#):
>
> hm, can you share output of the second command?
> 
> ```auto
> env -i /usr/bin/pt-mongodb-summary
> echo $?
> 
> ```
> 
> i want verify return code of pt-mongodb-summary tool

hi

echo $?

0

time pt-mongo-summary as follows:

real 0m8.061s  
user 0m0.204s  
sys 0m0.037s

so , i guess pt-mongo-summary timeout .

---

<div class="post-metadata">

### Author: ![Mykola](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mykola/32/30_2.png) [@Mykola](https://forums.percona.com/u/Mykola)
#### Post date: [August 11, 2017, 6:54am UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/8 "2017-08-11T06:54:52Z")

</div>

what PMM Server and PMM Client versions do you use?  
Do you use http authentification? (SERVER\_PASSWORD variable during “docker run …”)

---

<div class="post-metadata">

### Author: ![snowave](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/snowave/32/7_2.png) [@snowave](https://forums.percona.com/u/snowave)
#### Post date: [August 11, 2017, 7:10am UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/9 "2017-08-11T07:10:05Z")

</div>

> [@Mykola;49381](#):
>
> what PMM Server and PMM Client versions do you use?  
> Do you use http authentification? (SERVER\_PASSWORD variable during “docker run …”)

pmm client version :pmm-client-1.2.0  
server: via “docker pull percona/pmm-server:latest” command to fetch

the server doesn’t use a auth.

---

<div class="post-metadata">

### Author: ![Mykola](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mykola/32/30_2.png) [@Mykola](https://forums.percona.com/u/Mykola)
#### Post date: [August 11, 2017, 10:51am UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/10 "2017-08-11T10:51:07Z")

</div>

hi [snowave](https://percona.vanillacommunities.com/profile/x/x/2400) ,

thank you for bug report, we found root of the issue.  
it will be fixed in the next major release 1.3.0

---

<div class="post-metadata">

### Author: ![snowave](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/snowave/32/7_2.png) [@snowave](https://forums.percona.com/u/snowave)
#### Post date: [August 12, 2017, 7:43am UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/11 "2017-08-12T07:43:59Z")

</div>

> [@Mykola;49387](#):
>
> hi [snowave](https://percona.vanillacommunities.com/profile/x/x/2400) ,
> 
> thank you for bug report, we found root of the issue.  
> it will be ашуч шт the next major release 1.3.0

very expect  
we hope that we can use mongo queries in production environment as soon as possible.

---

<div class="post-metadata">

### Author: ![Mykola](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mykola/32/30_2.png) [@Mykola](https://forums.percona.com/u/Mykola)
#### Post date: [August 13, 2017, 11:47pm UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/12 "2017-08-13T23:47:24Z")

</div>

it is possible to use mongo queries right now, but it is experimental and has many limitations at this moment.  
if you want to check how it is working and report any bugs or ideas how to improve it – you can setup it according to document  
[url][https://www.percona.com/blog/2017/05/29/percona-monitoring-management-1-1-4-now-available/[/url]](https://www.percona.com/blog/2017/05/29/percona-monitoring-management-1-1-4-now-available/%5B/url%5D)

---

<div class="post-metadata">

### Author: ![snowave](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/snowave/32/7_2.png) [@snowave](https://forums.percona.com/u/snowave)
#### Post date: [August 14, 2017, 4:34am UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/13 "2017-08-14T04:34:44Z")

</div>

thanks ， i’ll have a try

---

<div class="post-metadata">

### Author: ![snowave](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/snowave/32/7_2.png) [@snowave](https://forums.percona.com/u/snowave)
#### Post date: [September 29, 2017, 9:08pm UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/14 "2017-09-29T21:08:48Z")

</div>

> [@Mykola;49398](#):
>
> it is possible to use mongo queries right now, but it is experimental and has many limitations at this moment.  
> if you want to check how it is working and report any bugs or ideas how to improve it – you can setup it according to document  
> [https://www.percona.com/blog/2017/05…now-available/](https://www.percona.com/blog/2017/05/29/percona-monitoring-management-1-1-4-now-available/)

hi ,when use pmm 1.3.1, click System Summary , next Mongo Summary , it shows :“cmd ‘Summary’ for subsystem ‘mongo’ failed: exit status 1”

exec pt-mongodb-summary

echo $?  
0

---

<div class="post-metadata">

### Author: ![Mykola](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mykola/32/30_2.png) [@Mykola](https://forums.percona.com/u/Mykola)
#### Post date: [October 6, 2017, 8:01am UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/15 "2017-10-06T08:01:00Z")

</div>

can you run pt-mongodb-summary in the following way?

```auto
env -i /usr/bin/pt-mongodb-summary

```

Do you see any errors?

anyway PMM should be improved, I created a ticket for developers [url][[PMM-1554] [QAN] "System Summary" should show full output in case of error - Percona JIRA](https://jira.percona.com/browse/PMM-1554%5B/url%5D)

---

<div class="post-metadata">

### Author: ![snowave](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/snowave/32/7_2.png) [@snowave](https://forums.percona.com/u/snowave)
#### Post date: [October 8, 2017, 10:12pm UTC](https://forums.percona.com/t/qan-wont-show-monngodb-summary/5794/16 "2017-10-08T22:12:27Z")

</div>

> [@Mykola;49801](#):
>
> can you run pt-mongodb-summary in the following way?
> 
> ```auto
> env -i /usr/bin/pt-mongodb-summary
> 
> ```
> 
> Do you see any errors?
> 
> anyway PMM should be improved, I created a ticket for developers [https://jira.percona.com/browse/PMM-1554](https://jira.percona.com/browse/PMM-1554)

all print was correct ，

but the time of execute was long ， as follows:

real 0m8.329s  
user 0m0.266s  
sys 0m0.025

so i think 8 seconds is bigger than wait timeout.

thanks.
