HI Team 

 we are try to configure on icinga server check_logfiles we are getting one 
error ...please advise me on issue any solution to solve this error..


CRITICAL - (1 errors, 1 unknown in 
check_logfiles.protocol-2013-09-04-19-15-27) - cannot write status file 
/var/tmp/check_logfiles/check_logfiles._var_log_apache2_access.log.ssh! 
check your filesystem (permissions/usage/integrity) and disk devices 



step1: Define the service on localhost.cfg file .


define services{
       use                    local-service
      host_name              Evericinga
     service_description   apachelogfiles
     check_command         
check_logfiles!/var/log/apache2/error.log!warning!error!

}  

Here i have a doubt on last line is it right to mention total path of apache 
logfile(  /var/log/apache2/error.log) or we use only /var/log/apache2 
,please have a look once here.

step2:write command on commands.cfg file


define command{
     command_name  check_logfiles
     command_line $USER$/check_logfiles --logfile=$ARG1$ 
--warningpattern='$ARG2$' --criticalpattern='$ARG3$'
}
Please have a look and update us.
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to