<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic monit - httpd unmonitored in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/monit-httpd-unmonitored/m-p/4039317#M29338</link>
    <description>Hi there&lt;BR /&gt;&lt;BR /&gt;Here's my monitrc file:&lt;BR /&gt;&lt;BR /&gt; set daemon 60&lt;BR /&gt;set logfile syslog facility log_daemon&lt;BR /&gt;set alert p@abc.com&lt;BR /&gt;set alert p@zbc.pl&lt;BR /&gt;set alert p@jabber.org&lt;BR /&gt;set alert p@jabber.org&lt;BR /&gt;#set alert c@abc.com&lt;BR /&gt;set httpd port 2812&lt;BR /&gt;allow localhost&lt;BR /&gt;allow admin:&amp;lt;&amp;gt;??&amp;gt;&amp;lt;&lt;BR /&gt;allow 81.150.xxx.xxx&lt;BR /&gt;allow 217.155.xxx.xxx&lt;BR /&gt;&lt;BR /&gt;   # localhost&lt;BR /&gt;&lt;BR /&gt;     check system localhost&lt;BR /&gt;     if loadavg (1min) &amp;gt; 4 then alert&lt;BR /&gt;     if loadavg (5min) &amp;gt; 3 then alert&lt;BR /&gt;     if memory usage &amp;gt; 70% then alert&lt;BR /&gt;     if cpu usage (user) &amp;gt; 70% then alert&lt;BR /&gt;     if cpu usage (system) &amp;gt; 70% then alert&lt;BR /&gt;     if cpu usage (wait) &amp;gt; 30% then alert&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   #apache&lt;BR /&gt;&lt;BR /&gt;        check process httpd with pidfile /var/run/httpd.pid&lt;BR /&gt;        group apache&lt;BR /&gt;        start program = "/etc/init.d/httpd start"&lt;BR /&gt;        stop program  = "/etc/init.d/httpd stop"&lt;BR /&gt;        if failed port 80 protocol http then restart&lt;BR /&gt;        if cpu &amp;gt; 60% for 2 cycles then alert&lt;BR /&gt;        if cpu &amp;gt; 90% for 5 cycles then alert&lt;BR /&gt;        if children &amp;gt; 255 then restart&lt;BR /&gt;        if loadavg(5 min) greater than 10 for 8 cycles then alert&lt;BR /&gt;        if totalmem &amp;gt; 200.0 MB for 5 cycles then alert&lt;BR /&gt;        if 3 restarts within 5 cycles then timeout&lt;BR /&gt;&lt;BR /&gt;I was trying to test it and then I,ve received message from monit that httpd is being unmonitored:&lt;BR /&gt;&lt;BR /&gt;Timeout Service httpd &lt;BR /&gt;&lt;BR /&gt; Date:        Wed, 18 Jul 2007 10:00:01 +0100&lt;BR /&gt; Action:      unmonitor&lt;BR /&gt; Host:        server.abc.com&lt;BR /&gt; Description: 'httpd' service timed out and will not be checked anymore&lt;BR /&gt;&lt;BR /&gt;Your faithful employee,&lt;BR /&gt;monit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I don't have nothing like unmonitor rule in my file - why the message then ?&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
    <pubDate>Wed, 18 Jul 2007 04:27:56 GMT</pubDate>
    <dc:creator>Piotr Kirklewski</dc:creator>
    <dc:date>2007-07-18T04:27:56Z</dc:date>
    <item>
      <title>monit - httpd unmonitored</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monit-httpd-unmonitored/m-p/4039317#M29338</link>
      <description>Hi there&lt;BR /&gt;&lt;BR /&gt;Here's my monitrc file:&lt;BR /&gt;&lt;BR /&gt; set daemon 60&lt;BR /&gt;set logfile syslog facility log_daemon&lt;BR /&gt;set alert p@abc.com&lt;BR /&gt;set alert p@zbc.pl&lt;BR /&gt;set alert p@jabber.org&lt;BR /&gt;set alert p@jabber.org&lt;BR /&gt;#set alert c@abc.com&lt;BR /&gt;set httpd port 2812&lt;BR /&gt;allow localhost&lt;BR /&gt;allow admin:&amp;lt;&amp;gt;??&amp;gt;&amp;lt;&lt;BR /&gt;allow 81.150.xxx.xxx&lt;BR /&gt;allow 217.155.xxx.xxx&lt;BR /&gt;&lt;BR /&gt;   # localhost&lt;BR /&gt;&lt;BR /&gt;     check system localhost&lt;BR /&gt;     if loadavg (1min) &amp;gt; 4 then alert&lt;BR /&gt;     if loadavg (5min) &amp;gt; 3 then alert&lt;BR /&gt;     if memory usage &amp;gt; 70% then alert&lt;BR /&gt;     if cpu usage (user) &amp;gt; 70% then alert&lt;BR /&gt;     if cpu usage (system) &amp;gt; 70% then alert&lt;BR /&gt;     if cpu usage (wait) &amp;gt; 30% then alert&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   #apache&lt;BR /&gt;&lt;BR /&gt;        check process httpd with pidfile /var/run/httpd.pid&lt;BR /&gt;        group apache&lt;BR /&gt;        start program = "/etc/init.d/httpd start"&lt;BR /&gt;        stop program  = "/etc/init.d/httpd stop"&lt;BR /&gt;        if failed port 80 protocol http then restart&lt;BR /&gt;        if cpu &amp;gt; 60% for 2 cycles then alert&lt;BR /&gt;        if cpu &amp;gt; 90% for 5 cycles then alert&lt;BR /&gt;        if children &amp;gt; 255 then restart&lt;BR /&gt;        if loadavg(5 min) greater than 10 for 8 cycles then alert&lt;BR /&gt;        if totalmem &amp;gt; 200.0 MB for 5 cycles then alert&lt;BR /&gt;        if 3 restarts within 5 cycles then timeout&lt;BR /&gt;&lt;BR /&gt;I was trying to test it and then I,ve received message from monit that httpd is being unmonitored:&lt;BR /&gt;&lt;BR /&gt;Timeout Service httpd &lt;BR /&gt;&lt;BR /&gt; Date:        Wed, 18 Jul 2007 10:00:01 +0100&lt;BR /&gt; Action:      unmonitor&lt;BR /&gt; Host:        server.abc.com&lt;BR /&gt; Description: 'httpd' service timed out and will not be checked anymore&lt;BR /&gt;&lt;BR /&gt;Your faithful employee,&lt;BR /&gt;monit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I don't have nothing like unmonitor rule in my file - why the message then ?&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Wed, 18 Jul 2007 04:27:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monit-httpd-unmonitored/m-p/4039317#M29338</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2007-07-18T04:27:56Z</dc:date>
    </item>
  </channel>
</rss>

