[Top][All Lists]

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


From: Mike
Subject: counters?
Date: Tue, 27 Jun 2006 14:38:42 -0500
User-agent: Mutt/

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?


possible example:

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

reply via email to

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