Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
f3afb563
Commit
f3afb563
authored
Oct 06, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
createbytask: enable httpd2 restart in monit file
parent
6c3924dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
createbytask.int.sh
vz/azbyka/createbytask.int.sh
+2
-2
No files found.
vz/azbyka/createbytask.int.sh
View file @
f3afb563
...
...
@@ -68,8 +68,8 @@ check process httpd2 with pidfile /var/run/httpd2/httpd.pid
# stop program = "/usr/local/sbin/stophttpd2"
if failed host localhost port 80 protocol http
and request "/server-status" timeout 10 seconds 2 times within 3 cycles then alert
# if failed host localhost port 8008
protocol http
#
and request "/server-status" timeout 20 seconds 3 times within 4 cycles then restart
if failed host localhost port 80
protocol http
and request "/server-status" timeout 20 seconds 3 times within 4 cycles then restart
EOF
subst
"s|monit:secretword|monit:Dip74iFwwP12|g"
/etc/monitrc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment