[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] Services for rule missing

From: Martin Pala
Subject: Re: [monit] Services for rule missing
Date: Wed, 9 Sep 2009 09:13:53 +0200

On Sep 9, 2009, at 8:57 AM, Thorsten Kampe wrote:

The two physical ESXi hosts are on the same subnet. Neither the ESXi
hosts nor the VMs have generated any "failed" events (as far as I
remember). Monit on the Gentoo host monitors those services quite fine.

The only difference is that vhost2 and vfirewall2 appear in the services
drop down list of the rules screen but vhost1 and vfirewall1 not. And an
old service that does not exist anymore also still shows up.

What would you suggest? Triggering vfirewall1 and vhost1 to generate a
failed event? Please advise.

Better workaround will be to insert missing services to "service" table in mmonit database: 

sqlite3 db/mmonit.db "INSERT INTO service (name) VALUES ('vfirewall1'); INSERT INTO service (name) VALUES ('vhost1');"

(if you're using postgres or mysql, just insert the values to appropriate database)

The failed event for vfirewall1 and vhost1will "fix" it too (as mentioned we'll fix it in next release).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]