Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
MAILTO=WhoeverYouAre@yourdomain.tld 
######################################################
# NMIS8 Config
######################################################
# Run Statistics Collection
*/5 * * * * /usr/local/nmis8/bin/nmis.pl type=collect mthread=true maxthreads=10
######################################################
# Run Summary Update every 2 minutes
*/2 * * * * /usr/local/nmis8/bin/nmis.pl type=summary
#####################################################
# Run the interfaces 4 times an hour with Thresholding on!!!
# if threshold_poll_cycle is set to false, then enable cron based thresholding
#*/15 * * * * nice /usr/local/nmis8/bin/nmis.pl type=threshold mthread=true maxthreads=10
######################################################
# Run the update once a day 
30 20 * * * nice /usr/local/nmis8/bin/nmis.pl type=update mthread=true maxthreads=10
######################################################
# Check to rotate the logs 4am every day UTC
5 20 * * * /usr/sbin/logrotate /usr/local/nmis8/conf/logrotate.conf
##################################################
# save this crontab every day
0 8 * * * crontab -l > /usr/local/nmis8/conf/crontab.root
########################################
# Run the Reports Weekly Monthly Daily
# daily
0 0 * * * /usr/local/nmis8/bin/run-reports.pl day health
10 0 * * * /usr/local/nmis8/bin/run-reports.pl day top10
30 0 * * * /usr/local/nmis8/bin/run-reports.pl day outage
40 0 * * * /usr/local/nmis8/bin/run-reports.pl day response
45 0 * * * /usr/local/nmis8/bin/run-reports.pl day avail
50 0 * * * /usr/local/nmis8/bin/run-reports.pl day port
# weekly
0 1 * * 0 /usr/local/nmis8/bin/run-reports.pl week health
10 1 * * 0 /usr/local/nmis8/bin/run-reports.pl week top10
30 1 * * 0 /usr/local/nmis8/bin/run-reports.pl week outage
40 1 * * 0 /usr/local/nmis8/bin/run-reports.pl week response
50 1 * * 0 /usr/local/nmis8/bin/run-reports.pl week avail
# monthly
0 2 1 * * /usr/local/nmis8/bin/run-reports.pl month health
10 2 1 * * /usr/local/nmis8/bin/run-reports.pl month top10
30 2 1 * * /usr/local/nmis8/bin/run-reports.pl month outage
40 2 1 * * /usr/local/nmis8/bin/run-reports.pl month response
50 2 1 * * /usr/local/nmis8/bin/run-reports.pl month avail
###########################################

...