[one-users] oneacct: accounting information not correct?

Daems Dirk dirk.daems at vito.be
Wed Jan 29 02:09:02 PST 2014


Hi,

Looking at the vm_monitoring table in sqlite, it becomes clear that the NET_RX and NET_TX values reported by oneacct are not accumulated.
Only the most recent value is shown for the filtered dataset.
Should I file a ticket describing my findings?

Regards,
Dirk

From: Daems Dirk
Sent: dinsdag 28 januari 2014 10:11
To: 'users at lists.opennebula.org'
Subject: oneacct: accounting information not correct?

Hi,

I use OpenNebula 4.2 with a VMWare hypervisor (v 5.1.0). I am experimenting with the oneacct accounting tool. It looks like the network consumption in my setup is not correctly monitored.
I sent a file of 2.4 GB to my VM with ID 52. After uploading the file, oneacct only reports 794.1K of received bytes.
When I execute the command a couple of second later, the NET_RX property only shows 0.1K of bytes received. If I understand the documentation correct [1], the amount of received bytes should be accumulated for a history record.

[1] - http://docs.opennebula.org/stable/administration/users_and_groups/accounting.html


-bash-4.1$ oneacct -u 2 -s '01/27/2014' -e '01/29/2014'

Showing active history records from Mon Jan 27 00:00:00 +0100 2014 to Wed Jan 29 00:00:00 +0100 2014



# User 2



VID HOSTNAME        ACTION           REAS     START_TIME       END_TIME MEMORY CPU NET_RX NET_TX

  52 devmesx1.intern none             none 01/27 17:26:18              -     2G   2 794.1K     0K



-bash-4.1$

-bash-4.1$

-bash-4.1$ oneacct -u 2 -s '01/27/2014' -e '01/29/2014'

Showing active history records from Mon Jan 27 00:00:00 +0100 2014 to Wed Jan 29 00:00:00 +0100 2014



# User 2



VID HOSTNAME        ACTION           REAS     START_TIME       END_TIME MEMORY CPU NET_RX NET_TX

  52 devmesx1.intern none             none 01/27 17:26:18              -     2G   2   0.1K     0K


Did anyone experience similar problems or could this be due to incorrect setup?

Thanks,
Dirk

VITO Disclaimer: http://www.vito.be/e-maildisclaimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140129/be5ea973/attachment-0002.htm>


More information about the Users mailing list