[Top][All Lists]

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

AW: Create a new variable

From: Andre Creutz
Subject: AW: Create a new variable
Date: Tue, 11 Jul 2006 09:17:18 +0200

Thanks a lot for your answer.
Best regards

P.S. And also thanks for monit, it is a really great product.

> -----Urspr√ľngliche Nachricht-----
> Von: address@hidden 
> [mailto:address@hidden 
> Im Auftrag von Jan-Henrik Haukeland
> Gesendet: Montag, 10. Juli 2006 22:15
> An: This is the general mailing list for monit
> Betreff: Re: Create a new variable 
> On 10. jul. 2006, at 17.22, Andre Creutz wrote:
> > What i want to do:
> > If ntp becomes an error i want to send the output from 
> ntpstat with  
> > the
> > monit-Alarm Mail.
> > Or the network is not ready i send what netstat -lan dumps.
> Sorry, but this is not possible with current monit releases.
> > What i think:
> > There are a lot of variables like $HOST $SERVICE for Example. May  
> > it would
> > be nice to create a var by my own? So i can send the output fron  
> > any shell
> > command with the monit-Mail.
> Support of user defined variables will require quite a bit of 
> changes  
> to the control file grammar. And to make user defined variables  
> really useful we also (probably) need to introduce if-else-tests for  
> testing the value of the variable.
> This may be a feature we may add later, but right now and with the  
> limited time we have available, other more important stuff, at least  
> in my book, takes priority. The TODO list we are working on can be  
> seen here, Everyone is  
> most welcome to suggest new functionality and features, but this one  
> I'm afraid will have a low priority now and is more likely for the  
> 5.x series of monit together with an overhaul of the control file  
> language.
> -- 
> Jan-Henrik Haukeland
> Mobil +47 97141255
> --
> To unsubscribe:

Telefonate ohne weitere Kosten vom PC zum PC:

reply via email to

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