monit-general
[Top][All Lists]
Advanced

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

Re: Check output question


From: Martin Pala
Subject: Re: Check output question
Date: Wed, 30 May 2012 08:17:55 +0200

Hello,

you can use the program check:


check program mutest with path "/usr/local/bin/mytest"
    if status > 70 then alert

Regards,
Martin


On May 30, 2012, at 4:41 AM, Gino Lisignoli wrote:

> Hello!
> 
> I'm very new to monit and was hoping someone could point me in the right 
> direction. I need monit to check the output of a command (a bash script) that 
> returns an integer (from 1 to 100). All I need is an alert to be generated 
> when it's higher than a value (70 should be fine in this case).
> 
> -- 
> Gino Lisignoli
> System Administrator
> Opus International Consultants Ltd
> address@hidden
> Tel +64 4 471 7209, Mobile +64 21 982 112 Ext 8209
> http://www.opus.co.nz
> Level 9 Majestic Centre, 100 Willis Street, PO Box 12343, Wellington, New 
> Zealand
> 
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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