monit-general
[Top][All Lists]
Advanced

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

AW: counters?


From: Andre Creutz
Subject: AW: counters?
Date: Wed, 28 Jun 2006 15:19:04 +0200

Hi Mike
Hi Martin

As example:

 CHECK STATUS OF printers WITH PATH "//usr/bin/lpc status"
  IF MATCH "disabled" THEN ALERT
  

May this is possible with the new feature?

Best regards
Andre

> -----Ursprüngliche Nachricht-----
> Von: address@hidden 
> [mailto:address@hidden 
> Im Auftrag von Martin Pala
> Gesendet: Mittwoch, 28. Juni 2006 00:06
> An: This is the general mailing list for monit
> Betreff: Re: counters?
> 
> 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
> 
> 
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general



___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de





reply via email to

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