monit-general
[Top][All Lists]
Advanced

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

MMonit - Display Text if Error


From: Conor C - Hudson Valley Host
Subject: MMonit - Display Text if Error
Date: Thu, 01 Nov 2012 12:02:01 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

Hello,

I have MMonit and Monit installed and would like to know the following:
  • How can I display a certain peice of text (lets say "Error - Attention Needed") if a server fails?  What I mean by this is, lets say SSHD fails, you get the red LED status icon next to the server in MMonit, but i'd like a message to be added to the status page when this error occurs. So, if there is a server issue, display message on /status/index.csp.

  • I want to run the command "netstat -n | grep 80 | wc -l" to list http connections (check for DDoS attack), but how can this be returned to M/Monit?

Thanks very much!

--

Thanks

Conor C.


reply via email to

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