monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] Re: [munin-users] Monitoring Apache ports


From: Martin Pala
Subject: Re: [monit] Re: [munin-users] Monitoring Apache ports
Date: Wed, 17 Oct 2007 22:28:25 +0200


On Oct 17, 2007, at 11:28 AM, Villem Alari wrote:

On 17.10.2007, at 12:12, Nicolai Langfeldt wrote:


Villem Alari skrev:
On 17.10.2007, at 11:39, Nicolai Langfeldt wrote:
If there is only one apache you get all the right answers from just one port. If you _really_ have more than one apache instance/install please write back and tell us more about which plugins you want to use.
...
At the present Munin seems to monitor only http port but I need to monitor also https port (443).

If the http and the https port is handled by the same apache you get all you need from only one of them, there is no need to monitor both.

Nicolai


One more (maybe stupid) question. At the present it shows that it monitors port 80 but I need to monitor https port too (which is 443). Shouldn't it show port 443 too under 80 if it already monitors it (at present Apache accesses and processes graphs show only port 80 under them so it means only port 80 is monitored)?

Regards,

Villem Alari


It depends on your configuration of course. If you want to monitor both ports with monit as one service, use something like this:

  check process httpd with pidfile /var/run/httpd.pid
       ...
       if failed port 80 proto http then alert
       if failed port 443 type tcpssl protocol http then alert

Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]