netdata icon indicating copy to clipboard operation
netdata copied to clipboard

netdata on suse 10

Open kgorgolewski opened this issue 9 years ago • 9 comments

hi, i got netdata compiled on one of our old suse 10 sp2 servers, after updating some necessary libraries. but after accessing the UI i can see only a short "system overview" and some "netdata monitoring" infos. i also checked the error.log file and have seen that cpu, block io, devices, etc are tried to accessed from /sys/fs/cgroup/..., like: 2017-01-26 14:36:58: netdata: ERROR: Cannot find cgroup cpuacct mountinfo. Assuming default: /sys/fs/cgroup/cpuacct 2017-01-26 14:36:58: netdata: ERROR: Cannot find cgroup blkio mountinfo. Assuming default: /sys/fs/cgroup/blkio 2017-01-26 14:36:58: netdata: ERROR: Cannot find cgroup memory mountinfo. Assuming default: /sys/fs/cgroup/memory 2017-01-26 14:36:58: netdata: ERROR: Cannot find cgroup devices mountinfo. Assuming default: /sys/fs/cgroup/devices but under /sys/fs everything is empty. i tried to search for this topic, but could find any results for suse 11 and newer. so do i understand it correctly that these data, which would be mount under /sys/fs is kernel version specific? it looks our used kernel is very old (2.6.16.60) and therefore no data is available? or do i miss something? regards

kgorgolewski avatar Jan 26 '17 12:01 kgorgolewski

Yes, cgroups is containers. netdata reads /proc/self/mountinfo to find the exact mount points. But your system seems not to have them (too old kernel).

ktsaou avatar Jan 26 '17 12:01 ktsaou

thanks ktsaou. let me see if i can find a newer kernel for our system ;)

kgorgolewski avatar Jan 26 '17 12:01 kgorgolewski

if you don't use systemd or containers, it will not be any useful...

ktsaou avatar Jan 26 '17 12:01 ktsaou

but as far as i could see is /proc/self/mountinfo introduced with kernel 2.6.26... and we are currently far away from this version. i will try it at least :)

kgorgolewski avatar Jan 26 '17 12:01 kgorgolewski

i think we should close this question... i will come back in case i got further questions :)

kgorgolewski avatar Jan 30 '17 11:01 kgorgolewski

I get the same error:

ERROR: Cannot find cgroup memory mountinfo. Assuming default: /sys/fs/cgroup/memory But there is no memory directory.

I am using Debian 8 Stable

bitfoo1 avatar Feb 13 '17 10:02 bitfoo1

I am using Debian 8 Stable

You need to pass cgroup_enable=memory swapaccount=1 to the kernel command line. It is by default disabled in debian.

ktsaou avatar Feb 13 '17 11:02 ktsaou

to the kernel command line

at grub, of course...

ktsaou avatar Feb 13 '17 11:02 ktsaou

Perfect! Thank you for your advise.

bitfoo1 avatar Feb 14 '17 05:02 bitfoo1