Oh I see now!!!
It pulled psmon from art and the other ones from rmpforge.
Could you please help me with the configuration? I'm on centos5, mysql and php5.
There are 2 that say Disabled True so both of those would change to Disabled False or just comment out with #?
# Please read through your configuration file before using it in production!
Disabled True
# Defines the email address where notification emails should be sent to.
# This may be also be used in a Process scope which will take priority over
# a global declaration. All AdminEmail entries in the configuration file
# will be overridden if it is specified on the command line as an option.
# Defaults to: root@localhost
AdminEmail
info@designhosting.biz
# Defines which method should be used by default to try and send
# notification emails. Legal values are "SMTP" or "sendmail".
# Defaults to: sendmail
DefaultEmailMethod sendmail
# Defines which syslog facility to log to. Refer to your syslogd and/or
# operating system documentation for a list of valid facilities.
# Defaults to: LOG_DAEMON
Facility LOG_DAEMON
# Defines the frequency (in seconds) of process table queries.
# Defaults to: 60
Frequency 60
# When defined, psmon will never attempt to kill a process ID which is
# numerically less than or equal to the value defined by lastsafepid. It
# should be noted that psmon will never attempt to kill itself, or a process
# ID less than or equal to 1.
# Defaults to: 100
LastSafePID 100
# Defines the loglevel priority that notifications to syslog will be marked
# as. Refer to your operating system's kernel.h documentation for a list of
# valid priorities.
# Defaults to: LOG_NOTICE
LogLevel LOG_NOTICE
# Accepts a space delimited list of PIDs which will never be killed.
# Defaults to: 1
NeverKillPID 1
# Accepts a space delimited list of process names which will never be
# killed.
# Defaults to: kswapd kupdated mdrecoveryd pageout sched init
NeverKillProcessName kswapd kupdated mdrecoveryd pageout sched init
# Defines the email address that notification email should be addresses
# from.
# Defaults to: username@hostname
### NotifyEmailFrom
joe.bloggs@foobar.com
# Accepts a boolean value of On or Off. Surpresses all notifications of
# preserved process IDs when used in conjunction with the lastsafepid
# directive.
# Defaults to: Off
ProtectSafePIDsQuietly Off
# Defines the IP address or hostname of the SMTP server to used to send
# email notifications.
# Defaults to: localhost
SMTPHost localhost
# Defines the timeout in seconds to be used during SMTP connections.
# Defaults to: 20
SMTPTimeout 20
# Defines the sendmail command to use to send notification emails if there
# is a failure with the SMTP connection to the host defined by SMTPHost.
# PSMon will attempt to locate the sendmail command for you by looking in
# common locations.
### SendmailCMD /usr/sbin/sendmail -t
# You need to remove BOTH of these 'Disabled' directives before using this
# configuration file. Please make sure you have read and understood everything
# in this file before using it in a live production environment!
Disabled True
# The <Process *> scope is commented out by default. It should be used with
# *EXTREME* care. If you do decide to use it, may I suggest that you run psmon
# in 'DryRun' mode by adding the 'DryRun' directive in this configuration
# file. READ THE DOCUMENTATION THOROUGHLY BEFORE ENABLING THIS FEATURE!!!
#<Process *>
# PctCpu 80
# PctMem 50
#</Process>
There is a list of all these processes but don't see clamd. I'm definitely not sure what to do here and am scared because of the warning to not use on production servers.
# I have included a set of commonly required processes. They are all vital
# services which must be running on all of my workstations and servers. It's
# a pretty good guess you'll want them to always be running too.
# Secure Shell Daemon
#<Process sshd>
# LogLevel LOG_CRITICAL
# SpawnCmd /sbin/service sshd restart
# PidFile /var/run/sshd.pid
# # Instances 30
# # PctCPU 90
#</Process>
# Cron Daemon
#<Process crond>
# spawncmd /sbin/service crond restart
# pidfile /var/run/crond.pid
#</Process>
# System Logger Daemon
#<Process syslogd>
# spawncmd /sbin/service syslog restart
# pidfile /var/run/syslogd.pid
#</Process>