Hello,

Using a Makefile is more usefull

Example :

----------------------------------------------

HOST = `hostname`


all :
        @echo "check host $(HOST) with address $(HOST)" > monitrc
        @echo " if failed url http://user:password@$(HOST):8080/?querystring" 
>> monitrc
        @echo " then alert " >> monitrc
----------------------------------------------
then
$> make all

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

Reply via email to