HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- monit - httpd unmonitored
Operating System - Linux
1827775
Members
2565
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 09:27 PM
07-17-2007 09:27 PM
monit - httpd unmonitored
Hi there
Here's my monitrc file:
set daemon 60
set logfile syslog facility log_daemon
set alert p@abc.com
set alert p@zbc.pl
set alert p@jabber.org
set alert p@jabber.org
#set alert c@abc.com
set httpd port 2812
allow localhost
allow admin:<>??><
allow 81.150.xxx.xxx
allow 217.155.xxx.xxx
# localhost
check system localhost
if loadavg (1min) > 4 then alert
if loadavg (5min) > 3 then alert
if memory usage > 70% then alert
if cpu usage (user) > 70% then alert
if cpu usage (system) > 70% then alert
if cpu usage (wait) > 30% then alert
#apache
check process httpd with pidfile /var/run/httpd.pid
group apache
start program = "/etc/init.d/httpd start"
stop program = "/etc/init.d/httpd stop"
if failed port 80 protocol http then restart
if cpu > 60% for 2 cycles then alert
if cpu > 90% for 5 cycles then alert
if children > 255 then restart
if loadavg(5 min) greater than 10 for 8 cycles then alert
if totalmem > 200.0 MB for 5 cycles then alert
if 3 restarts within 5 cycles then timeout
I was trying to test it and then I,ve received message from monit that httpd is being unmonitored:
Timeout Service httpd
Date: Wed, 18 Jul 2007 10:00:01 +0100
Action: unmonitor
Host: server.abc.com
Description: 'httpd' service timed out and will not be checked anymore
Your faithful employee,
monit
I don't have nothing like unmonitor rule in my file - why the message then ?
Cheers
Here's my monitrc file:
set daemon 60
set logfile syslog facility log_daemon
set alert p@abc.com
set alert p@zbc.pl
set alert p@jabber.org
set alert p@jabber.org
#set alert c@abc.com
set httpd port 2812
allow localhost
allow admin:<>??><
allow 81.150.xxx.xxx
allow 217.155.xxx.xxx
# localhost
check system localhost
if loadavg (1min) > 4 then alert
if loadavg (5min) > 3 then alert
if memory usage > 70% then alert
if cpu usage (user) > 70% then alert
if cpu usage (system) > 70% then alert
if cpu usage (wait) > 30% then alert
#apache
check process httpd with pidfile /var/run/httpd.pid
group apache
start program = "/etc/init.d/httpd start"
stop program = "/etc/init.d/httpd stop"
if failed port 80 protocol http then restart
if cpu > 60% for 2 cycles then alert
if cpu > 90% for 5 cycles then alert
if children > 255 then restart
if loadavg(5 min) greater than 10 for 8 cycles then alert
if totalmem > 200.0 MB for 5 cycles then alert
if 3 restarts within 5 cycles then timeout
I was trying to test it and then I,ve received message from monit that httpd is being unmonitored:
Timeout Service httpd
Date: Wed, 18 Jul 2007 10:00:01 +0100
Action: unmonitor
Host: server.abc.com
Description: 'httpd' service timed out and will not be checked anymore
Your faithful employee,
monit
I don't have nothing like unmonitor rule in my file - why the message then ?
Cheers
Jesus is the King
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP