OpenVZ Forum - RDF feed
type: channel
items: OpenVZ-enabled monit
items: Re: OpenVZ-enabled monit

OpenVZ-enabled monit
type: item
description: In addition to the openvzmon utility that I've posted here, I decided to take it a step further and apply my changes to monit. As some of you may know, monit is a system monitoring utility. You can read more about it here: http://www.tildeslash.com/monit/ There is a problem though using it on a VPS -- both CPU and memory usage measurements are based upon the total system performance, not your individual VPS. Since a VPS is a much different type of animal, this is to be expected. So I made modifications to monit to display and act upon openvz parameters. here's my inital swipe at this modification. Everything from my end seems to mimic the behavior of my openvzmon utility -- so I'm fairly comfortable with it at the moment. The monit utility itself should behave as before. There are simply additional monitoring parameters. You can download it here: http://www.cubedthree.com/projects/openvz/monit-4.8.1-openvz .tar.gz Note that I haven't (yet) updated the documentation. But you can follow the procedure for monitoring regular cpu and memory. The following are the new commands: vzmemory, vzcpu Examples of their usage would be like this: if vzmemory usage > 70% then alert if vzcpu usage (user) > 70% then alert if vzcpu usage (syst) > 20% then alert If any of you brave people test this out, please let me know how it works for you. Any comments or requests are greatly appreciated. Note that the monit web-interface was also updated to display these new paramters.
creator: jasonaward
date: 2006-11-07T16:05:38-00:00

Re: OpenVZ-enabled monit
type: item
description: Has nobody tried this out since it was posted? This sounds like it would really be useful to me! Regards, Matt
creator: mcluver
date: 2010-08-10T00:27:51-00:00