monit-general
[Top][All Lists]
Advanced

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

Re: Monitoring VMWare deamon


From: Martin Pala
Subject: Re: Monitoring VMWare deamon
Date: Sat, 26 May 2012 10:50:36 +0200

Hi,

the virtual server doesn't have the pidfile, but the pattern based check can be used, for example:

check process vmware-mymachine matching "/usr/lib/vmware/bin/vmware-vmx .*mymachine.vmx"


Regards,
Martin



On May 25, 2012, at 10:13 PM, Alexandre Carlos Vilarinho de Oliveira wrote:

Hello all
 
I’m trying to configure monit to monitor vmware daemon, has anyone tried it before?
 
I’m willing to use the following configuration:
 
#VMWARE
check process ssh with pidfile /var/run/vmnet-bridge-0.pid
            group vmware
            start program = "/etc/init.d/vmware start"
            stop program = "/etc/init.d/vmware stop"
 
check process ssh with pidfile /var/run/vmware vmware-hostd.PID
            group vmware
            start program = "/etc/init.d/vmware start"
            stop program = "/etc/init.d/vmware stop"
 
check process ssh with pidfile /var/run/vmware watchdog-webAccess.PID
            group vmware
            start program = "/etc/init.d/vmware start"
            stop program = "/etc/init.d/vmware stop"
 
check file vmware-authdlauncher with path /usr/sbin/vmware-authdlauncher
            group vmware
            if failed checksum then unmonitor
            if failed permission 755 then unmonitor
            if failed uid root then unmonitor
            if failed gid root then unmonitor
 
check file vmware-hostd with path /usr/sbin/vmware-hostd
            group vmware
            if failed checksum then unmonitor
            if failed permission 755 then unmonitor
            if failed uid root then unmonitor
            if failed gid root then unmonitor
 
check file vmnet-bridge with path /usr/bin/vmnet-bridge
            group vmware
            if failed checksum then unmonitor
            if failed permission 755 then unmonitor
            if failed uid root then unmonitor
            if failed gid root then unmonitor
 
 
check file vmware with path /usr/bin/vmware
            group vmware
            if failed checksum then unmonitor
            if failed permission 755 then unmonitor
            if failed uid root then unmonitor
            if failed gid root then unmonitor
 
 
check file vmware-watchdog with path /usr/bin/vmware-watchdog
            group vmware
            if failed checksum then unmonitor
            if failed permission 755 then unmonitor
            if failed uid root then unmonitor
            if failed gid root then unmonitor
 
 
check file vmware-vdiskmanager with path /usr/bin/vmware-vdiskmanager
            group vmware
            if failed checksum then unmonitor
            if failed permission 755 then unmonitor
            if failed uid root then unmonitor
            if failed gid root then unmonitor
 
Does anyone have any other suggestion of configuration?
 
Is possible to use monit to monit the virtual server?
 
Regards

Alexandre Vilarinho

Gerente de Engenharia de Rede IP/TI
Tel.: (55 11) 3017-4683
Cel.: (55 11) 7757-8388
Fax: (55 11) 3017-4464

address@hidden
www.neovia.com.br
----------------------------

 
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


reply via email to

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