Hi

we are trying to configure check_logfiles for monitoring local system
apache logs , but its shows could not find logfiles
/var/log/apache2/access.log.

This is steps we are follow for configure check_logfiles.

In commands.cfg

define command{ command_name check_logfiles command_line
/usr/lib/nagios/plugins/check_logfiles --tag=ssh
--logfile="/var/log/apache2/access.log" --rotation=linux
--criticalpattern="File does not exist" -noprotocal }

In localhosts.cfg

define service{ use local-service host_name Evericinga service_description
apachelogfiles check_command check_logfiles }

If any one knows Please tell us.

--
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&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