Project

General

Profile

Bug #7763

Updated by Alexis Mousset over 8 years ago

<pre> 
 # rudder agent health 
 grep: /var/rudder/cfengine-community/output/previous: No such file or directory 
 Connection errors in Rudder agent last run 
 See /var/rudder/cfengine-community/output/previous for more details 
 </pre> 

 the name is /outputs/ and not /output/. 

 Furthermore, the error check of the log file is incorrect, the return code of egrep 
 when no a connection error occurred occured is 1 and not 0. 

 <pre> 
 EXIT STATUS 
        Normally the exit status is 0 if a line is selected, 1 if no lines were selected, and 2 if an error occurred. 
 </pre>

Back