Please stop cross posting with different nicknames. If there is no
answer in "real time", then welcome to the open source community. If you
can't live with that, find a company selling you professional support
and answering all your questions in "real time".
If you think it's cool to go on like that, don't wonder when no-one
replies in the future.
On 09.09.2013 07:56, kanny goud wrote:
>
>
> Hi all,
>
> I am trying to configure check_logfiles for monitoring access.log
> file in server, But its shows CRITICAL the status information is
> connection refused in icinga console ,The below steps are I used for
> configuration.Please see any one and suggest me.
>
>
> I had defined the command in command cfg file
>
> define command{
> check_name check_logfiles
> command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c
> check_logfiles
>
> I had defined the service in localhost cfg file
>
> use local-service
> service_description apachelogfiles
> check_command check_nrpe!check_logfiles
> host_name Evericinga
>
> I had edited the nrpe.cfg file with below command
>
> command[check_logfiles]=/usr/lib/nagios/plugins/check_logfiles
> --config /etc/nagios-plugins/config/check_logfiles.cfg
>
> after that i created a check_logfiles.cfg file in a given location
> with below content.
>
>
> $seekfilesdir = ' /var/tmp/';
> $protocolsdir = ' /var/tmp/';
> $options = "report=long,maxlength=4096";
> @searches = (
> {
> tag => 'ssh',
> logfile => '/var/log/apache2/access.log',
> criticalpatterns => '122.183.87.238',
> options => 'noprotocol,perfdata,warningthreshold=1,criticalthreshold=5',
> },
>
> );
>
>
> And then service icinga restart ok But console shows connection refused.
>
> If any one knows please replay us.
> --
> M.KANAKAIAH
> 9959491677
>
>
>
> ------------------------------------------------------------------------------
> 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=58041391&iu=/4140/ostg.clktrk
>
>
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/icinga-users
--
DI (FH) Michael Friedrich
mail: [email protected]
twitter: https://twitter.com/dnsmichi
jabber: [email protected]
irc: irc.freenode.net/icinga dnsmichi
icinga open source monitoring
position: lead core developer
url: https://www.icinga.org
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users