monit-general
[Top][All Lists]
Advanced

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

Re: [monit] Services for rule missing


From: Thorsten Kampe
Subject: Re: [monit] Services for rule missing
Date: Wed, 9 Sep 2009 10:48:28 +0200
User-agent: MicroPlanet-Gravity/2.9.11

* Martin Pala (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)

I used SQLite Administrator[1] to insert the missing rows and to delete 
the non-existing one. It worked without any problem, thanks.

Thorsten
http://sqliteadmin.orbmu2k.de/





reply via email to

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