expect: directive fails

Ivan happisnappy at yahoo.com
Thu Apr 7 16:03:57 EDT 2011


I have a command-alarm  that greps a logfile for the word 'error'.

my settings in the alarm says

Service prog   {
command:  grep 'error' somfile.log
retries: 3


Which should mean that if no text is returned, then the alarm should 
stay green right ??

Is this the proper setting for that behavior ?

Ivan G.


More information about the Arguslist mailing list