strange behavior of pvestatd+influxdb

Hilario Ortigosa

Active Member
Apr 24, 2017
2
0
41
45
Malaga
www.octanio.com
Hello, I'm adding pvestatd's stats into influxdb+grafana. status.cfg works with influxdb config with no problem, but I have several partial behaviors depending on (I guess) kernel version. With last version (4.4.49-1-pve) I have no diskio stats, and with previous 4.4.XX versions I have no stats, or (with 4.4.21-1) I have full network+cpu+mem+diskio stats. I can see the same behavior at infxludb and Proxmox GUI, so I guess it's related with kernel giving partial (or not al all) info to pvestatd.

All PVE runs LXC, none of them are clustered, and I've tried more than 5 different servers with different kernel versions. status.cfg is configured as wiki said and it reachs influxdb (I can see the hostname as a new tag for selecting in dashboard)

There is additional config needed in recent versions for this ?
 
please post the output of "pveversion -v"
 
Here it is:

proxmox-ve: 4.4-86 (running kernel: 4.4.49-1-pve)
pve-manager: 4.4-13 (running version: 4.4-13/7ea56165)
pve-kernel-4.4.49-1-pve: 4.4.49-86
lvm2: 2.02.116-pve3
corosync-pve: 2.4.2-2~pve4+1
libqb0: 1.0.1-1
pve-cluster: 4.0-49
qemu-server: 4.0-110
pve-firmware: 1.1-11
libpve-common-perl: 4.0-94
libpve-access-control: 4.0-23
libpve-storage-perl: 4.0-76
pve-libspice-server1: 0.12.8-2
vncterm: 1.3-2
pve-docs: 4.4-4
pve-qemu-kvm: 2.7.1-4
pve-container: 1.0-97
pve-firewall: 2.0-33
pve-ha-manager: 1.0-40
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u3
lxc-pve: 2.0.7-4
lxcfs: 2.0.6-pve1
criu: 1.6.0-1
novnc-pve: 0.5-9
smartmontools: 6.5+svn4324-1~pve80
openvswitch-switch: 2.6.0-2
 
the disk I/O stats seem to be broken in general at the moment - could you file a bug report at bugzilla.proxmox.com? I suspect the other issues with previous versions were fallout from the move to a cgroup sub-hierarchy.