monit-general
[Top][All Lists]
Advanced

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

Re: clamav-milter's pid


From: Mike Pepe
Subject: Re: clamav-milter's pid
Date: Fri, 07 Apr 2006 19:46:29 -0400
User-agent: Thunderbird 1.5 (Windows/20051201)



Hmm - you can try to run monit in debug mode as well:

 monit -vI


Sure- sorry, this is rather long, but I'm not sure what exactly is being looked for:


address@hidden ~]# monit -vI
monit: Debug: Adding host allow 'localhost' (127.0.0.1).
monit: Debug: Adding host allow 'home.doki-doki.net' (68.197.111.48).
monit: Debug: Adding credentials for user 'admin'.
Runtime constants:
 Control file       = /etc/monitrc
 Log file           = syslog
 Pid file           = /var/run/monit.pid
 Debug              = True
 Log                = True
 Use syslog         = True
 Is Daemon          = True
 Use process engine = True
 Poll time          = 60 seconds
 Mail server(s)     = mail.doki-doki.net, localhost
 Mail from          = (not defined)
 Mail subject       = (not defined)
 Mail message       = (not defined)
 Start monit httpd  = True
 httpd bind address = Any/All
 httpd portnumber   = 6502
 httpd signature    = True
 Use ssl encryption = False
 httpd auth. style  = Basic Authentication and Host/Net allow list
 Alert mail to      = address@hidden
   Alert on         = All events

The service list contains the following entries:

System Name           = quadzilla.doki-doki.net
 Monitoring mode      = active
Load avg. (5min) = if greater than 4.0 1 times within 1 cycle(s) then alert else if passed 1 times within 1 cycle(s) then alert Load avg. (1min) = if greater than 8.0 1 times within 1 cycle(s) then alert else if passed 1 times within 1 cycle(s) then alert

Process Name          = sshd
 Pid file             = /var/run/sshd.pid
 Monitoring mode      = active
 Start program        = /etc/init.d/sshd start
 Stop program         = /etc/init.d/sshd stop
 Depends on Service   = sshd_lock
 Pid                  = if changed 1 times within 1 cycle(s) then alert
 Ppid                 = if changed 1 times within 1 cycle(s) then alert
Port = if failed quadzilla.doki-doki.net:22 [SSH via TCP] with timeout 5 seconds 1 times within 1 cycle(s) then restart else if passed 1 times within 1 cycle(s) then alert Timeout = If 5 restart within 5 cycles then unmonitor else if passed then alert

File Name             = sshd_lock
 Path                 = /var/lock/subsys/sshd
 Monitoring mode      = active
UID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert GID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert

Process Name          = spamd
 Group                = mail
 Pid file             = /var/run/spamd.pid
 Monitoring mode      = active
 Start program        = /etc/init.d/spamassassin start
 Stop program         = /etc/init.d/spamassassin stop
 Depends on Service   = spamd_rc
 Depends on Service   = spamd_bin
 Depends on Service   = spamassassin_lock
 Pid                  = if changed 1 times within 1 cycle(s) then alert
 Ppid                 = if changed 1 times within 1 cycle(s) then alert
Memory usage limit = if greater than 99.0% 5 times within 5 cycle(s) then alert else if passed 1 times within 1 cycle(s) then alert CPU usage limit = if greater than 99.0% 5 times within 5 cycle(s) then alert else if passed 1 times within 1 cycle(s) then alert Timeout = If 5 restart within 5 cycles then unmonitor else if passed then alert

File Name             = spamd_bin
 Group                = mail
 Path                 = /usr/bin/spamd
 Monitoring mode      = active
Checksum = if failed aa6f01f08d52a185e0fd0f1afacf076b(MD5) 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert Permission = if failed 755 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert UID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert GID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert

File Name             = spamd_rc
 Group                = mail
 Path                 = /etc/init.d/spamassassin
 Monitoring mode      = active
Checksum = if failed 365fbd3e54f20319016a1ecaeff43c4b(MD5) 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert Permission = if failed 755 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert UID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert GID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert

File Name             = spamassassin_lock
 Path                 = /var/lock/subsys/spamassassin
 Monitoring mode      = active
UID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert GID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert

Process Name          = sendmail
 Group                = mail
 Pid file             = /var/run/sendmail.pid
 Monitoring mode      = active
 Start program        = /etc/init.d/sendmail start
 Stop program         = /etc/init.d/sendmail stop
 Depends on Service   = sendmail_rc
 Depends on Service   = sendmail_bin
 Depends on Service   = sendmail_lock
 Pid                  = if changed 1 times within 1 cycle(s) then alert
 Ppid                 = if changed 1 times within 1 cycle(s) then alert
Port = if failed localhost:25 [SMTP via TCP] with timeout 5 seconds 1 times within 1 cycle(s) then restart else if passed 1 times within 1 cycle(s) then alert Timeout = If 5 restart within 5 cycles then unmonitor else if passed then alert

File Name             = sendmail_bin
 Group                = mail
 Path                 = /usr/sbin/sendmail.sendmail
 Monitoring mode      = active
Checksum = if failed 1669c5d2139d3405756248a177f4f7fb(MD5) 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert Permission = if failed 2755 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert UID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert GID = if failed 51 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert

File Name             = sendmail_rc
 Group                = mail
 Path                 = /etc/init.d/sendmail
 Monitoring mode      = active
Checksum = if failed 1d213325d3ce95952cf87f4a05d8a488(MD5) 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert Permission = if failed 755 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert UID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert GID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert

File Name             = sendmail_lock
 Group                = mail
 Path                 = /var/lock/subsys/sendmail
 Monitoring mode      = active
UID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert GID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert

Process Name          = ircd
 Pid file             = /usr/local/ircd/etc/ircd.pid
 Monitoring mode      = active
 Start program        = /etc/init.d/ircd start
 Stop program         = /etc/init.d/ircd stop
 Depends on Service   = ircd-lock
 Pid                  = if changed 1 times within 1 cycle(s) then alert
 Ppid                 = if changed 1 times within 1 cycle(s) then alert
Port = if failed irc.doki-doki.net:7000 [DEFAULT via TCP] with timeout 5 seconds 1 times within 1 cycle(s) then restart else if passed 1 times within 1 cycle(s) then alert Port = if failed irc.doki-doki.net:6667 [DEFAULT via TCP] with timeout 5 seconds 1 times within 1 cycle(s) then restart else if passed 1 times within 1 cycle(s) then alert Timeout = If 5 restart within 5 cycles then unmonitor else if passed then alert

File Name             = ircd-lock
 Path                 = /var/lock/subsys/ircd
 Monitoring mode      = active
UID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert GID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert

Process Name          = clamav-milter
 Group                = milter
 Pid file             = /var/run/clamav/clamav-milter.pid
 Monitoring mode      = active
 Start program        = /etc/init.d/clamav-milter start
 Stop program         = /etc/init.d/clamav-milter stop
 Depends on Service   = clamd
 Depends on Service   = clamav-milter_lock
 Pid                  = if changed 1 times within 1 cycle(s) then alert
 Ppid                 = if changed 1 times within 1 cycle(s) then alert
Unix Socket = if failed /var/run/clamav/clamav-milter.sock [protocol DEFAULT] with timeout 5 seconds 1 times within 1 cycle(s) then restart else if passed 1 times within 1 cycle(s) then alert Timeout = If 5 restart within 5 cycles then unmonitor else if passed then alert

File Name             = clamav-milter_lock
 Group                = milter
 Path                 = /var/lock/subsys/clamav-milter
 Monitoring mode      = active
UID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert GID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert

Process Name          = clamd
 Group                = clamav
 Pid file             = /var/run/clamav/clamd.pid
 Monitoring mode      = active
 Start program        = /etc/init.d/clamd start
 Stop program         = /etc/init.d/clamd stop
 Depends on Service   = clamav_lock
 Pid                  = if changed 1 times within 1 cycle(s) then alert
 Ppid                 = if changed 1 times within 1 cycle(s) then alert
Timeout = If 5 restart within 5 cycles then unmonitor else if passed then alert

File Name             = clamav_lock
 Group                = clamav
 Path                 = /var/lock/subsys/clamd
 Monitoring mode      = active
UID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert GID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert

Process Name          = named
 Pid file             = /var/named/chroot/var/run/named/named.pid
 Monitoring mode      = active
 Start program        = /etc/init.d/named start
 Stop program         = /etc/init.d/named stop
 Depends on Service   = named-lock
 Pid                  = if changed 1 times within 1 cycle(s) then alert
 Ppid                 = if changed 1 times within 1 cycle(s) then alert
Port = if failed 127.0.0.1:53 [DNS via UDP] with timeout 5 seconds 1 times within 1 cycle(s) then alert else if passed 1 times within 1 cycle(s) then alert Port = if failed 127.0.0.1:53 [DNS via TCP] with timeout 5 seconds 1 times within 1 cycle(s) then alert else if passed 1 times within 1 cycle(s) then alert Timeout = If 5 restart within 5 cycles then unmonitor else if passed then alert

File Name             = named-lock
 Path                 = /var/lock/subsys/named
 Monitoring mode      = active
UID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert GID = if failed 0 1 times within 1 cycle(s) then unmonitor else if passed 1 times within 1 cycle(s) then alert

-------------------------------------------------------------------------------
monit: pidfile '/var/run/monit.pid' does not exist
Starting monit daemon with http interface at [*:6502]
Starting monit HTTP server at [*:6502]
monit HTTP server started
Monit started
Monit instance changed notification is sent to address@hidden
'quadzilla.doki-doki.net' loadavg(5min) check passed [current loadavg(5min)=0.0] 'quadzilla.doki-doki.net' loadavg(1min) check passed [current loadavg(1min)=0.1]
'sshd_lock' file existence check passed
'sshd_lock' is regular file
'sshd_lock' uid check passed [current uid=0]
'sshd_lock' gid check passed [current gid=0]
'spamd_bin' file existence check passed
'spamd_bin' is regular file
'spamd_bin' has valid checksums
'spamd_bin' permission check passed [current permission=755]
'spamd_bin' uid check passed [current uid=0]
'spamd_bin' gid check passed [current gid=0]
'spamd_rc' file existence check passed
'spamd_rc' is regular file
'spamd_rc' has valid checksums
'spamd_rc' permission check passed [current permission=755]
'spamd_rc' uid check passed [current uid=0]
'spamd_rc' gid check passed [current gid=0]
'spamassassin_lock' file existence check passed
'spamassassin_lock' is regular file
'spamassassin_lock' uid check passed [current uid=0]
'spamassassin_lock' gid check passed [current gid=0]
'sendmail_bin' file existence check passed
'sendmail_bin' is regular file
'sendmail_bin' has valid checksums
'sendmail_bin' permission check passed [current permission=2755]
'sendmail_bin' uid check passed [current uid=0]
'sendmail_bin' gid check passed [current gid=51]
'sendmail_rc' file existence check passed
'sendmail_rc' is regular file
'sendmail_rc' has valid checksums
'sendmail_rc' permission check passed [current permission=755]
'sendmail_rc' uid check passed [current uid=0]
'sendmail_rc' gid check passed [current gid=0]
'sendmail_lock' file existence check passed
'sendmail_lock' is regular file
'sendmail_lock' uid check passed [current uid=0]
'sendmail_lock' gid check passed [current gid=0]
'ircd-lock' file existence check passed
'ircd-lock' is regular file
'ircd-lock' uid check passed [current uid=0]
'ircd-lock' gid check passed [current gid=0]
'clamav-milter_lock' file existence check passed
'clamav-milter_lock' is regular file
'clamav-milter_lock' uid check passed [current uid=0]
'clamav-milter_lock' gid check passed [current gid=0]
'clamav_lock' file existence check passed
'clamav_lock' is regular file
'clamav_lock' uid check passed [current uid=0]
'clamav_lock' gid check passed [current gid=0]
'named-lock' file existence check passed
'named-lock' is regular file
'named-lock' uid check passed [current uid=0]
'named-lock' gid check passed [current gid=0]
'sshd' zombie check passed [status_flag=0000]
'sshd' succeeded connecting to INET[quadzilla.doki-doki.net:22] via TCP
'sshd' succeeded testing protocol [SSH] at INET[quadzilla.doki-doki.net:22] via TCP
'spamd' zombie check passed [status_flag=0000]
'spamd' mem usage check passed [current mem usage=0.9%]
'spamd' cpu usage check passed [current cpu usage=0.0%]
'sendmail' zombie check passed [status_flag=0000]
'sendmail' succeeded connecting to INET[localhost:25] via TCP
'sendmail' succeeded testing protocol [SMTP] at INET[localhost:25] via TCP
'ircd' zombie check passed [status_flag=0000]
'ircd' succeeded connecting to INET[irc.doki-doki.net:7000] via TCP
'ircd' succeeded testing protocol [DEFAULT] at INET[irc.doki-doki.net:7000] via TCP
'ircd' succeeded connecting to INET[irc.doki-doki.net:6667] via TCP
'ircd' succeeded testing protocol [DEFAULT] at INET[irc.doki-doki.net:6667] via TCP
'clamd' zombie check passed [status_flag=0000]
'named' zombie check passed [status_flag=0000]
'named' succeeded connecting to INET[127.0.0.1:53] via UDP
'named' succeeded testing protocol [DNS] at INET[127.0.0.1:53] via UDP
'named' succeeded connecting to INET[127.0.0.1:53] via TCP
'named' succeeded testing protocol [DNS] at INET[127.0.0.1:53] via TCP
'clamav-milter' process is not running
Does not exist notification is sent to address@hidden
'clamav-milter' trying to restart
Monitoring disabled -- service clamav-milter
'clamav-milter' start: /etc/init.d/clamav-milter
Monitoring enabled -- service clamav-milter





reply via email to

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