Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

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
010 0 * * * /usr/local/nmis8/bin/run-reports.pl day top10
030 0 * * * /usr/local/nmis8/bin/run-reports.pl day outage
040 0 * * * /usr/local/nmis8/bin/run-reports.pl day response
045 0 * * * /usr/local/nmis8/bin/run-reports.pl day avail
050 0 * * * /usr/local/nmis8/bin/run-reports.pl day port
# weekly
0 01 * * 0 /usr/local/nmis8/bin/run-reports.pl week health
010 01 * * 0 /usr/local/nmis8/bin/run-reports.pl week top10
030 01 * * 0 /usr/local/nmis8/bin/run-reports.pl week outage
040 01 * * 0 /usr/local/nmis8/bin/run-reports.pl week response
050 01 * * 0 /usr/local/nmis8/bin/run-reports.pl week avail
# monthly
0 02 1 * * /usr/local/nmis8/bin/run-reports.pl month health
010 02 1 * * /usr/local/nmis8/bin/run-reports.pl month top10
030 02 1 * * /usr/local/nmis8/bin/run-reports.pl month outage
040 02 1 * * /usr/local/nmis8/bin/run-reports.pl month response
050 02 1 * * /usr/local/nmis8/bin/run-reports.pl month avail
###########################################

...