I just set up a CloudLinux 8 box with the latest WHM and CageFS, LVE Manager, alt-PHP,etc. I installed the Munin plugin, and munin itself is functioning, but apparently it does not have access to certain items in /proc that it it needs in order to show Firewall Throughput, Processes, VMstat, etc.
groups munin
munin : munin clsupergid
As you can see, the munin user is in the clsupergid group and should have access. The user munin is not added in CageFS and in fact is excluded via it being listed in one of the files in /etc/cagefs/excluded/
/var/log/munin/munin-node.log
2021/09/12-08:45:01 CONNECT TCP Peer: "[::ffff:127.0.0.1]:33554" Local: "[::ffff:127.0.0.1]:4949"
2021/09/12-08:45:02 [200549] Error output from vmstat:
2021/09/12-08:45:02 [200549] Error: /proc must be mounted
2021/09/12-08:45:02 [200549] To mount /proc at boot you need an /etc/fstab line like:
2021/09/12-08:45:02 [200549] proc /proc proc defaults
2021/09/12-08:45:02 [200549] In the meantime, run "mount proc /proc -t proc"
2021/09/12-08:45:03 [200549] Error output from swap:
2021/09/12-08:45:03 [200549] /etc/munin/plugins/swap: line 65: /proc/vmstat: Operation not permitted
2021/09/12-08:45:03 [200549] Service 'swap' exited with status 1/0.
2021/09/12-08:45:03 [200549] Error output from irqstats:
2021/09/12-08:45:03 [200549] Can't open /proc/interrupts: Operation not permitted
2021/09/12-08:45:03 [200549] Service 'irqstats' exited with status 1/0.
2021/09/12-08:45:04 [200549] Error output from irqstats:
2021/09/12-08:45:04 [200549] Can't open /proc/interrupts: Operation not permitted
2021/09/12-08:45:04 [200549] Service 'irqstats' exited with status 1/0.
2021/09/12-08:45:04 [200549] Error output from fw_packets:
2021/09/12-08:45:04 [200549] Cannot read /proc/net/snmp: Operation not permitted
2021/09/12-08:45:04 [200549] Service 'fw_packets' exited with status 1/0.
2021/09/12-08:45:04 [200549] Error output from netstat:
2021/09/12-08:45:04 [200549] cannot open /proc/net/snmp: Operation not permitted
The installation was AlmaLinux, WHM, and then conversion to CloudLinux, add CageFS, LVE Manager, alt-php, etc.
When running just under Almalinux is working fine. It didn't stop working until the OS was converted to CloudLinux. And yes, I opened a ticket with CL, but they didn't seem to find the issue. I'm just wondering if there is anyone out there running CL 8, CageFS, LVE Manager, Alt-PHP (equiv setup as me) and has installed the Munin plugin only to see the same issue. I'm basically trying to determine if it's just my machine, or if it's any machine running CL 8 + WHM + CageFS.
Mike
groups munin
munin : munin clsupergid
As you can see, the munin user is in the clsupergid group and should have access. The user munin is not added in CageFS and in fact is excluded via it being listed in one of the files in /etc/cagefs/excluded/
/var/log/munin/munin-node.log
2021/09/12-08:45:01 CONNECT TCP Peer: "[::ffff:127.0.0.1]:33554" Local: "[::ffff:127.0.0.1]:4949"
2021/09/12-08:45:02 [200549] Error output from vmstat:
2021/09/12-08:45:02 [200549] Error: /proc must be mounted
2021/09/12-08:45:02 [200549] To mount /proc at boot you need an /etc/fstab line like:
2021/09/12-08:45:02 [200549] proc /proc proc defaults
2021/09/12-08:45:02 [200549] In the meantime, run "mount proc /proc -t proc"
2021/09/12-08:45:03 [200549] Error output from swap:
2021/09/12-08:45:03 [200549] /etc/munin/plugins/swap: line 65: /proc/vmstat: Operation not permitted
2021/09/12-08:45:03 [200549] Service 'swap' exited with status 1/0.
2021/09/12-08:45:03 [200549] Error output from irqstats:
2021/09/12-08:45:03 [200549] Can't open /proc/interrupts: Operation not permitted
2021/09/12-08:45:03 [200549] Service 'irqstats' exited with status 1/0.
2021/09/12-08:45:04 [200549] Error output from irqstats:
2021/09/12-08:45:04 [200549] Can't open /proc/interrupts: Operation not permitted
2021/09/12-08:45:04 [200549] Service 'irqstats' exited with status 1/0.
2021/09/12-08:45:04 [200549] Error output from fw_packets:
2021/09/12-08:45:04 [200549] Cannot read /proc/net/snmp: Operation not permitted
2021/09/12-08:45:04 [200549] Service 'fw_packets' exited with status 1/0.
2021/09/12-08:45:04 [200549] Error output from netstat:
2021/09/12-08:45:04 [200549] cannot open /proc/net/snmp: Operation not permitted
The installation was AlmaLinux, WHM, and then conversion to CloudLinux, add CageFS, LVE Manager, alt-php, etc.
When running just under Almalinux is working fine. It didn't stop working until the OS was converted to CloudLinux. And yes, I opened a ticket with CL, but they didn't seem to find the issue. I'm just wondering if there is anyone out there running CL 8, CageFS, LVE Manager, Alt-PHP (equiv setup as me) and has installed the Munin plugin only to see the same issue. I'm basically trying to determine if it's just my machine, or if it's any machine running CL 8 + WHM + CageFS.
Mike