# Lost data when deploying PMM into vmware machines

**URL:** <https://forums.percona.com/t/lost-data-when-deploying-pmm-into-vmware-machines/5492>\
**Category:** PMM 1.x\
**Created:** [March 20, 2017, 2:25am UTC](https://forums.percona.com/t/lost-data-when-deploying-pmm-into-vmware-machines/5492 "2017-03-20T02:25:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanlook](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/seanlook/32/1082_2.png) [@seanlook](https://forums.percona.com/u/seanlook)\
**Post date:** [March 20, 2017, 2:25am UTC](https://forums.percona.com/t/lost-data-when-deploying-pmm-into-vmware-machines/5492/1 "2017-03-20T02:25:44Z")

</div>

This is what my grafana dashboard looks like:

I deployed it as docker image first, the uncontinuously lines came out and I thought it may be the heavy load.  
Then I tried to deploy it to ESXi virtual machine and increased the CPUs&Mem, the same happened.

At the end, I run in VirtualBox, everything is perfect, the graph seems continuously.

Then I realized that my docker host is a ESXi vm. So I get to this conclusion: PMM-Server does not work well with vmware machines.

Could someone help me what have I miss ?

 ![photoid=47710](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/3/3ecded12a8235eb2dc40a3c87cd74463cd48534f.png)

---

<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:** [March 20, 2017, 2:37am UTC](https://forums.percona.com/t/lost-data-when-deploying-pmm-into-vmware-machines/5492/2 "2017-03-20T02:37:56Z")

</div>

Hi seanlook,

[Prometheus](https://github.com/prometheus/prometheus) fetches data every 1s from all mysql hosts, so it requires very good network performance and very fast VM reaction.  
if ESXi has any network/CPU/memory delays Prometheus can ignores monitoring results.

please check state of Targets - [URL][http://PMM-SERVER-IP/prometheus/targets[/URL]](http://PMM-SERVER-IP/prometheus/targets%5B/URL%5D), all of them should be “UP”.  
please try to refresh this page at least 3-5 times with several seconds delay between refresh.

---

<div class="post-metadata">

**Author:** ![seanlook](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/seanlook/32/1082_2.png) [@seanlook](https://forums.percona.com/u/seanlook)\
**Post date:** [March 20, 2017, 8:26am UTC](https://forums.percona.com/t/lost-data-when-deploying-pmm-into-vmware-machines/5492/3 "2017-03-20T08:26:40Z")

</div>

> [@Mykola;47711](#):
>
> Hi seanlook,
> 
> [Prometheus](https://github.com/prometheus/prometheus) fetches data every 1s from all mysql hosts, so it requires very good network performance and very fast VM reaction.  
> if ESXi has any network/CPU/memory delays Prometheus can ignores monitoring results.
> 
> please check state of Targets - [http://PMM-SERVER-IP/prometheus/targets](http://PMM-SERVER-IP/prometheus/targets), all of them should be “UP”.  
> please try to refresh this page at least 3-5 times with several seconds delay between refresh.

Thanks for your reply. I see lots of `UNKNOW` state.  
I can tell pmm-server and client network traffic status is not the proplem. MySQL instance node load is not heavy.

I tried to visit client port:  
[https://pmm-client-ip:42000/metrics](https://pmm-client-ip:42000/metrics) – fast  
[https://pmm-client-ip:42002/metrics-mr](https://pmm-client-ip:42002/metrics-mr) – very slow

It seems say that all mysqld\_exporter response slowly at the same time.

---

<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:** [March 20, 2017, 8:41am UTC](https://forums.percona.com/t/lost-data-when-deploying-pmm-into-vmware-machines/5492/4 "2017-03-20T08:41:06Z")

</div>

/metrics-mr fetch time should be less than 1 seconds

can you show output of the following command?

```auto

wget https://PMM-CLIENT-IP:42002/metrics-mr --no-check-certificate 

```

I am wondering response size and time consumed to fetch.

---

<div class="post-metadata">

**Author:** ![seanlook](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/seanlook/32/1082_2.png) [@seanlook](https://forums.percona.com/u/seanlook)\
**Post date:** [March 20, 2017, 11:03am UTC](https://forums.percona.com/t/lost-data-when-deploying-pmm-into-vmware-machines/5492/5 "2017-03-20T11:03:14Z")

</div>

As attached.

Linux metrics should be independent with MySQL metrics. But both OS panel and MySQL panel data lost.

I’ve changed the scrape\_interval=10s, scrape\_timeout=5s, still uncontinuously. Within virtualbox, nothing lost.

 ![photoid=47720](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/e/ea71b064e575d9e582676594acb55688bdb67063.png)

 ![photoid=47721](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/d/df9ebe376d00bcdd08f72b10335d1da810ecaff0.png)

---

<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:** [March 21, 2017, 4:41am UTC](https://forums.percona.com/t/lost-data-when-deploying-pmm-into-vmware-machines/5492/6 "2017-03-21T04:41:23Z")

</div>

can you share /var/log/prometheus.log ?
