forked from hubblestack/hubblestack_data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhubblestack_cron
20 lines (19 loc) · 1.09 KB
/
hubblestack_cron
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Recommended cron jobs for minions
#
# This file is here for your consumption, but will not automatically be
# deployed by hubble. We recommend you deploy this file on the master at
# /etc/cron.d/hubblestack_cron
#
# If you're worried about master load for running these jobs (most teams won't
# have a problem with this, unless they are several thousand servers per
# master), then use the hubblestack_masterless instructions in this repo
# instead.
MAILTO=""
SHELL=/bin/bash
*/15 * * * * root /usr/bin/salt '*' nebula.queries fifteen_min --return splunk_nebula_return
@hourly root /usr/bin/salt '*' nebula.queries hour --return splunk_nebula_return
@daily root /usr/bin/salt '*' nebula.queries day --return splunk_nebula_return
@daily root /usr/bin/salt '*' cp.cache_file salt://hubblestack_pulsar/hubblestack_pulsar_config.yaml
@daily root /usr/bin/salt '*' cp.cache_file salt://hubblestack_pulsar/hubblestack_pulsar_win_config.yaml
@daily root /usr/bin/salt '*' hubble.top verbose=True show_profile=True --return splunk_nova_return
@daily root /usr/bin/salt '*' saltutil.sync_all