# Onevm list does not show MONITORING data

**URL:** <https://forum.opennebula.io/t/onevm-list-does-not-show-monitoring-data/13491>\
**Category:** Installation & Configuration\
**Created:** [January 21, 2025, 3:48pm UTC](https://forum.opennebula.io/t/onevm-list-does-not-show-monitoring-data/13491 "2025-01-21T15:48:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yenya](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/yenya/32/4624_2.png) [@Yenya](https://forum.opennebula.io/u/Yenya)\
**Post date:** [January 21, 2025, 3:48pm UTC](https://forum.opennebula.io/t/onevm-list-does-not-show-monitoring-data/13491/1 "2025-01-21T15:48:50Z")

</div>

Hi all,

I am trying to use `onevm list --extended --json` to get useful data from ONe, but it seems that the MONITORING section is empty for _some_ (not all) of my running VMs, even though `onevm show <ID> --json` contains monitoring data as expected. Why there is a dfference between this:

```auto
onevm list --extended --json | jq '.VM_POOL.VM[] | select(.ID=="8895") | .MONITORING,.STATE'
{}
"3"

```

and this:

```auto
onevm show --json 8895 | jq '.VM.MONITORING, .VM.STATE'
{
  "CPU": "251.04",
  "DISKRDBYTES": "44765184",
  "DISKRDIOPS": "3985",
  "DISKWRBYTES": "1525964955648",
  "DISKWRIOPS": "49598571",
  "ID": "8895",
  "MEMORY": "40114656",
  "NETRX": "391185323893",
  "NETTX": "38169537979",
  "TIMESTAMP": "1737474034"
}
"3"

```

This is ONe 6.8.0 on AlmaLinux 9 hosts, using KVM for virtualizaton and Ceph as a storage.

Thanks,

–Yenya

---

<div class="post-metadata">

**Author:** ![Yenya](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/yenya/32/4624_2.png) [@Yenya](https://forum.opennebula.io/u/Yenya)\
**Post date:** [January 21, 2025, 5:00pm UTC](https://forum.opennebula.io/t/onevm-list-does-not-show-monitoring-data/13491/2 "2025-01-21T17:00:02Z")

</div>

Update: it seems that recently created VMs contain empty MONITORING section, while many older VMs have data in the MONITORING section of `onevm list --json --extended`.

---

<div class="post-metadata">

**Author:** ![FrancJP](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/francjp/32/7690_2.png) [@FrancJP](https://forum.opennebula.io/u/FrancJP)\
**Post date:** [January 27, 2025, 10:21am UTC](https://forum.opennebula.io/t/onevm-list-does-not-show-monitoring-data/13491/3 "2025-01-27T10:21:45Z")

</div>

Hi @Yenya,

First easy answer should be: Upgrade to 6.10. This issue might be something that the team fixed already, so if you can upgrade and check if the issue persists, so the team will file a bug.

Aside that, the VM Monitoring can be located inside onevm list, but it’s not regularly updated, so it may contain old values.

Cheers,

---

<div class="post-metadata">

**Author:** ![Yenya](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/yenya/32/4624_2.png) [@Yenya](https://forum.opennebula.io/u/Yenya)\
**Post date:** [February 4, 2025, 7:01am UTC](https://forum.opennebula.io/t/onevm-list-does-not-show-monitoring-data/13491/4 "2025-02-04T07:01:39Z")

</div>

Hi @FrancJP ,

I have upgraded to 6.10 now. It was [not such an easy answer as one would expect](https://forum.opennebula.io/t/migration-failure-on-6-10-0-missing-to-s-how-to-recover/13532/2), but nevertheless it seems that there are still running VMs with empty MONITORING section in `onevm list`.

```auto
$ onevm list --extended --json | jq '.VM_POOL.VM[] | select(.ID=="8895") | .MONITORING,.STATE'
{}
"3"

```

What I am trying to do is to get monitoring info from all VMs in order to evaluate which ones impose the highest IOPS load on the back-end storage. Querying each VM with a distinct `onevm show` is quite slow. Is there more efficient way how to extract this information from OpenNebula?

Thanks,

-Yenya

---

<div class="post-metadata">

**Author:** ![jorel](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/jorel/32/6552_2.png) [@jorel](https://forum.opennebula.io/u/jorel)\
**Post date:** [February 7, 2025, 7:26am UTC](https://forum.opennebula.io/t/onevm-list-does-not-show-monitoring-data/13491/5 "2025-02-07T07:26:31Z")

</div>

As the monitoring data were moved tp different DB table, it’s no longer possible to show it using `onevm list --extended`. Currently, the only option is to loop `onevm show` for all VMs.
