[Eisfair] autohalt Probleme
Friedhold Schuster
f.schuster at gmx.de
Fr Apr 11 13:21:41 CEST 2014
Hallo,
Am 10.04.2014 17:51, schrieb Marcus Roeckrath:
> Ich würde wahrscheinlich weitere Ausgaben in den entsprechenden Abschnitt
> der /usr/local/autohalt/autohalt einbauen, um zu sehen, was abgeht.
>
> Wenn Du nur eine einzelne IP prüfst, darf die IMHO nicht also RANGE
> eingetragen werden.
Hier nochmal die Config, oder habe ich was übersehen?
START_AUTOHALT='yes' # Use: yes or no
AUTOHALT_DO_DEBUG='no' # Use: yes or no. yes will
prevent the server
# from going down.
#------------------------------------------------------------------------------
# Lock Processes
#------------------------------------------------------------------------------
AUTOHALT_CHECK_PROCESS='yes' # Use: yes or no
AUTOHALT_LOCK_PROCESS_N='1' # Number of lock processes
AUTOHALT_LOCK_PROCESS_1='foo.bar' # if specified process running
# the server will not shutdown
#------------------------------------------------------------------------------
# Check Users
#------------------------------------------------------------------------------
AUTOHALT_CHECK_USERS='no' # Use: yes or no
AUTOHALT_CHECK_ALL_USERS='no' # use /etc/passwd for check
AUTOHALT_CHECK_SINGLE_USER_N='3' # How many users do you want
# to ckeck for
AUTOHALT_CHECK_SINGLE_USER_1='root' # Default: root
AUTOHALT_CHECK_SINGLE_USER_2='fsg'
AUTOHALT_CHECK_SINGLE_USER_3='fs'
AUTOHALT_MAX_LOGIN_DAYS='1' # last login was xx days ago
#------------------------------------------------------------------------------
# Check IP
#------------------------------------------------------------------------------
AUTOHALT_CHECK_IP='yes' # Use: yes or no
AUTOHALT_IP_RANGE_N='0' # Number of IP-ranges
AUTOHALT_IP_RANGE_1='192.168.0.1 192.168.0.10'
# range of IP adresses whitch
were pinged
AUTOHALT_IP_N='1' # Number of unique IP's
AUTOHALT_IP_1='172.18.2.4' # IP Number or internet-name
# e.g. (www.foo.bar)
AUTOHALT_IP_2='172.18.2.120'
#------------------------------------------------------------------------------
# Additional Configuration
#------------------------------------------------------------------------------
AUTOHALT_EXEC='no' # Use: yes or no
AUTOHALT_EXEC_N='1' # number of commands
AUTOHALT_EXEC_1='/data2/sic.sh' # run command/script before shutdown
AUTOHALT_NO_RESPONSE='30' # timeout for clients in seconds
AUTOHALT_TRIALS='1' # how many times should Autohalt
check the
# clients
AUTOHALT_SCHEDULE_START_HOUR='0' # start time e.g. 1 o'clock
AUTOHALT_SCHEDULE_END_HOUR='23' # end time e.g. 7 o'clock
AUTOHALT_CRON_INTERVAL='15' # interval in minutes e.g. every
15 minutes
#------------------------------------------------------------------------------
# Logging Configuration
#------------------------------------------------------------------------------
AUTOHALT_LOG='yes' # log autohalt
AUTOHALT_LOG_COUNT='5' # number of log files to save
AUTOHALT_LOG_INTERVAL='weekly' # interval: daily, weekly, monthly
#------------------------------------------------------------------------------
# End
Mehr Informationen über die Mailingliste Eisfair