Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- localhost:/home/produser# cat /etc/centos-release
- CentOS release 6.5 (Final)
- localhost:~# yum list monit
- Installed Packages
- monit.x86_64 5.1.1-4.el6 @epel
- localhost:~# monit -V
- This is monit version 5.1.1
- Copyright (C) 2000-2010 by Tildeslash Ltd. All Rights Reserved.
- localhost:/home/produser# cat /etc/monit.conf
- set daemon 60
- include /etc/monit.d/*
- localhost:/home/produser# ls /etc/monit.d/
- logging storm-ui
- localhost:/home/produser# cat /etc/monit.d/logging
- set logfile /var/log/monit
- localhost:/home/produser# cat /etc/monit.d/storm-ui
- set daemon 30 with start delay 5
- check process storm-ui with pidfile /var/run/storm/storm-ui.pid
- start program = "/sbin/service storm-ui start"
- as uid root and gid root
- stop program = "/sbin/service storm-ui stop"
- as uid root and gid root
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement