Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Commit

Permalink
Worker monit corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
teddytpc1 committed Nov 18, 2021
1 parent 179c4c8 commit 9a6d194
Showing 1 changed file with 36 additions and 30 deletions.
66 changes: 36 additions & 30 deletions jobs/wazuh-manager-worker/monit
Original file line number Diff line number Diff line change
@@ -1,91 +1,97 @@
check process wazuh-analysisd
matching "wazuh-analysisd"
start program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl stop"
start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
group vcap

check process wazuh-execd
matching "wazuh-execd"
start program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl stop"
start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
group vcap

check process wazuh-remoted
matching "wazuh-remoted"
start program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl stop"
start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
group vcap


check process wazuh-logcollector
matching "wazuh-logcollector"
start program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl stop"
start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
group vcap


check process wazuh-syscheckd
matching "wazuh-syscheckd"
start program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl stop"
start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
group vcap

check process wazuh-monitord
matching "wazuh-monitord"
start program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl stop"
start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
group vcap

check process wazuh-modulesd
matching "wazuh-modulesd"
start program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl stop"
start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
group vcap

check process wazuh-authd
matching "wazuh-authd"
start program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl stop"
start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
group vcap

check process wazuh-db
matching "wazuh-db"
start program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl stop"
start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
group vcap

#check process wazuh-dbd
# matching "wazuh-dbd"
# start program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl start"
# stop program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl stop"
# start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
# stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
# group vcap

#check process wazuh-clusterd
# matching "wazuh-clusterd"
# start program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl start"
# stop program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl stop"
# start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
# stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
# group vcap

#check process wazuh-maild
# matching "wazuh-maild"
# start program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl start"
# stop program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl stop"
# start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
# stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
# group vcap

#check process wazuh-agentlessd
# matching "wazuh-agentlessd"
# start program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl start"
# stop program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl stop"
# start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
# stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
# group vcap

#check process wazuh-integratord
# matching "wazuh-integratord"
# start program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl start"
# stop program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl stop"
# start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
# stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
# group vcap

#check process wazuh-csyslogd
# matching "wazuh-csyslogd"
# start program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl start"
# stop program "/var/vcap/jobs/wazuh-manager/bin/wazuh_server_ctl stop"
# start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
# stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
# group vcap

check process wazuh-apid
matching "wazuh-apid"
start program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl start"
stop program "/var/vcap/jobs/wazuh-manager-worker/bin/wazuh_server_ctl stop"
group vcap

0 comments on commit 9a6d194

Please sign in to comment.