monit-general
[Top][All Lists]
Advanced

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

Create a new variable


From: Andre Creutz
Subject: Create a new variable
Date: Mon, 10 Jul 2006 17:22:46 +0200

Hi,

Is it possible to create a new $ variable like 
$ntpstat  #ntpstat=`ntpstat`

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.

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.

Or is there any other procedure?

Best regards
Andre


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





reply via email to

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