Be pitiful, for every man is fighting a hard battle. Ogni persona che incontri sta combattendo una battaglia di cui non sai nulla. Sii gentile. Sempre. www.giovannitommasini.info
I manage several virtual machines with Ubuntu 10.04. My need is that I don’t want to make a dist-upgrade because I don’t want to jeopardize the entire VM, but I want to use the new features of Monit 5.20.
If you are in my situation, moving on. Let’s start!
Let’s have a check of the OS version with the cat /etc/lsb-release command.
Let’s check the Monit version with monit --version
Now we can start with the upgrade:
First of all we have to remove th current monit installation: we save the config file and purge monit.
Probably you will receive the following alert
No problem, we remove these folders manually
We move in tmp folder and download the binaries.
We move in monit folder and copy the file in /etc folder.
We download the init file and set the autostart of monit
Now with monit -tcommand we could test the config.
In the end we restore the origin file; we check it and start monit service
With monit status now we check the status of all the monitored services.