Monitor LXC container processes using HostResourceSwRunMonitor

A monitoring solution should always help in bad situations and provide a useful overview of your system health status. Service availability monitors are especially handy to ensure that all services are running on the correct machines.

In past, I have run into an problem which was more of an issue with documentation than a classical monitor alarming issue. We had some servers with LXC containers running. Unfortunately these and other server went down because of some hypervisor issues. After restarting all of them, the LXC containers didn't come online again because of incorrect autostart configurations...

The biggest issue was: We didn't know which servers the LXC containers had run on in the past, so we had to do a lot of research to find them all.

To get back to service availability monitoring mentioned above, I want to show you an example for LXC container monitoring based on OpenNMS' process monitor.

Wiki article: LXC Container Monitoring

Previous Post Next Post