sadm_server crontab
This is SADMIN server crontab file, it execute everything that keep SADMIN running smoothly.
The four entries in SADMIN server crontab
- sadm_fetch_clients.sh, that rsync all .rch/.log/.rpt from actives clients to SADMIN server.
- sadm_server_sunrise.sh, that collect & process data produced by all actives clients.
- sadm_daily_report, that produce and email monitoring daily reports.
- sadm_push_sadmin.sh, that push SADMIN version to one or all actives clients (optional).
# SADMIN Server Crontab File
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SADMIN=/opt/sadmin
#
#
# Rsync all *.rch,*.log,*.rpt files from all actives clients.
*/5 * * * * sadmin sudo ${SADMIN}/bin/sadm_fetch_clients.sh >/dev/null 2>&1
#
# Early morning daily run, Collect Perf data - Update Database, Housekeeping
08 05 * * * sadmin sudo ${SADMIN}/bin/sadm_server_sunrise.sh >/dev/null 2>&1
#
# Daily SADMIN Report by Email
07 07 * * * sadmin sudo ${SADMIN}/bin/sadm_daily_report.sh >/dev/null 2>&1
#
#
# Daily push of /opt/sadmin/(lib,bin,cfg/.*) to all active servers (Optional)
# -s To include push of /opt/sadmin/sys
# -u To include push of /opt/sadmin/(usr/bin usr/lib usr/cfg)
#30 15 * * * sadmin sudo ${SADMIN}/bin/sadm_push_sadmin.sh > /dev/null 2>&1
#
SEE ALSO
Link to … | Description |
---|---|
SADMIN installation | SADMIN installation page |
How-to update SADMIN | How-to update to latest version of SADMIN |
sadmin.cfg | SADMIN main configuration file |
sadm_sysmon.pl | Client system monitor |
SysMon configuration file | Client System Monitor configuration file |
smon | Allow you run SysMon and see the report file |