monit-general
[Top][All Lists]
Advanced

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

Re: counters?


From: Martin Pala
Subject: Re: counters?
Date: Wed, 28 Jun 2006 00:06:08 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060620 Debian/1.7.13-0.2

This feature is on the roadmap:

http://www.tildeslash.com/monit/doc/next.php#33

Martin

Mike wrote:
I've been reading the manual, not finished yet, and for those obscure
situations where I need to check the value of something is there a way
to execute a script, accept the script's return value (either stdout
or the return from (system()/255), then to use this value in a test
within monit?

Mike

possible example:

check counter widgets from "/opt/local/bin/getwidgetcount.sh"
  if widgets < 0 then alert
  if widgets > 1000 then alert


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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