Advertisement
Guest User

Untitled

a guest
Apr 1st, 2015
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.85 KB | None | 0 0
  1. localhost:/home/produser# cat /etc/centos-release
  2. CentOS release 6.5 (Final)
  3. localhost:~# yum list monit
  4. Installed Packages
  5. monit.x86_64                            5.1.1-4.el6                             @epel
  6. localhost:~# monit -V
  7. This is monit version 5.1.1
  8. Copyright (C) 2000-2010 by Tildeslash Ltd. All Rights Reserved.
  9. localhost:/home/produser# cat /etc/monit.conf
  10. set daemon 60
  11. include /etc/monit.d/*
  12. localhost:/home/produser# ls /etc/monit.d/
  13. logging  storm-ui
  14. localhost:/home/produser# cat /etc/monit.d/logging
  15. set logfile /var/log/monit
  16. localhost:/home/produser# cat /etc/monit.d/storm-ui
  17. set daemon 30 with start delay 5
  18.  
  19. check process storm-ui with pidfile /var/run/storm/storm-ui.pid
  20.   start program = "/sbin/service storm-ui start"
  21.     as uid root and gid root
  22.   stop program = "/sbin/service storm-ui stop"
  23.     as uid root and gid root
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement