[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nagiosplug-help
Subject:    [Nagiosplug-help] Help for a beginner - check_log
From:       "Cullum, Matthew" <matthew.cullum () linklaters ! com>
Date:       2009-03-18 11:25:48
Message-ID: 06498036EDED984092A636920387AE4901680136 () ACOPEX20 ! practice ! linklaters ! net
[Download RAW message or body]

--===============5601378937587495413==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative; 
	boundary="----_=_NextPart_001_01C9A7BC.49691402"

This is a multi-part message in MIME format.


Hi everyone, I'm relatively new to nagios after foolishly suggesting it
as an alternative to
HP openview that my company currently uses. A daft move as I now have
been charged
with setting up a system for evaluation. 
I have configured most of the systems ok and have nrpe working however I
am having some
issues with the check_log plugin, it is now reporting 

Status Information: Log check error: Log file -O does not exist! 
It was working, so I am pretty confused! 
The definition on the client nrpe.cfg is 
#Matts check_log definition
command[check_log]=/usr/lib/nagios/plugins/check_log -F $ARG1$ -O $ARG2$
-q $ARG3$ 
and at the server end 
# check_log command definition
define command{
command_name check_log
command_line $USER1$/check_log -F /var/log/messages -O
/var/tmp/check_log_messages -q "yum"
} 
When run on the command line it works fine. 
Can anyone shed any light on this or suggest where to look? 
Thankyou 
Matt 



Matthew Cullum
Application Infrastrcuture Team
Linklaters LLP, Colchester
Tel: (01206) 754 077
Fax: (01206) 754 140
Mobile: (07825) 528519
matthew.cullum@linklaters.com
http://www.linklaters.com




_______________________________________________
Any business communication, sent by or on behalf of Linklaters LLP or one of its \
affiliated firms or other entities (together "Linklaters"), is confidential and may \
be privileged or otherwise protected. If you receive it in error please inform us and \
then delete it from your system. You should not copy it or disclose its contents to \
anyone. Messages sent to and from Linklaters may be monitored to ensure compliance \
with internal policies and to protect our business. Emails are not secure and cannot \
be guaranteed to be error free. Anyone who communicates with us by email is taken to \
accept these risks. Linklaters LLP (www.linklaters.com) is a limited liability \
partnership registered in England and Wales with registered number OC326345. It is a \
law firm regulated by the Solicitors Regulation Authority (www.sra.org.uk). The term \
partner in relation to Linklaters LLP is used to refer to a member of Linklaters LLP \
or an employee or consultant of Linklaters LLP or any of its affiliated firms or \
entities with equivalent standing and qualifications.  A list of Linklaters LLP \
members together with a list of those non-members who are designated as partners and \
their professional qualifications, may be inspected at our registered office, One \
Silk Street, London EC2Y 8HQ and such persons are either solicitors, registered \
foreign lawyers or European lawyers.


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>Help for a beginner - check_log</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>

<P><FONT SIZE=2 FACE="Arial">Hi everyone, I'm relatively new to nagios after \
foolishly suggesting it as an alternative to</FONT><BR> <FONT SIZE=2 FACE="Arial">HP \
openview that my company currently uses. A daft move as I now have been \
charged</FONT><BR> <FONT SIZE=2 FACE="Arial">with setting up a system for \
evaluation.</FONT><FONT FACE="Times New Roman"><BR> </FONT><FONT SIZE=2 \
FACE="Arial">I have configured most of the systems ok and have nrpe working however I \
am having some</FONT><BR> <FONT SIZE=2 FACE="Arial">issues with the check_log plugin, \
it is now reporting</FONT><FONT FACE="Times New Roman"> </FONT> <BR>

<BR><FONT FACE="Times New Roman">Status Information: Log check error: Log file -O \
does not exist!<BR> </FONT><FONT SIZE=2 FACE="Arial">It was working, so I am pretty \
confused!</FONT><FONT FACE="Times New Roman"><BR> </FONT><FONT SIZE=2 \
FACE="Arial">The definition on the client nrpe.cfg is</FONT><FONT FACE="Times New \
Roman"><BR> </FONT><FONT SIZE=2 FACE="Arial">#Matts check_log definition</FONT><BR>
<FONT SIZE=2 FACE="Arial">command[check_log]=/usr/lib/nagios/plugins/check_log -F \
$ARG1$ -O $ARG2$ -q $ARG3$</FONT><FONT FACE="Times New Roman"><BR> </FONT><FONT \
SIZE=2 FACE="Arial">and at the server end</FONT><FONT FACE="Times New Roman"><BR> \
</FONT><FONT SIZE=2 FACE="Arial"># check_log command definition</FONT><BR> <FONT \
SIZE=2 FACE="Arial">define command{</FONT><BR> <FONT SIZE=2 FACE="Arial">command_name \
check_log</FONT><BR> <FONT SIZE=2 FACE="Arial">command_line $USER1$/check_log -F \
/var/log/messages -O /var/tmp/check_log_messages -q &quot;yum&quot;</FONT><BR> <FONT \
SIZE=2 FACE="Arial">}</FONT><FONT FACE="Times New Roman"><BR> </FONT><FONT SIZE=2 \
FACE="Arial">When run on the command line it works fine.</FONT><FONT FACE="Times New \
Roman"><BR> </FONT><FONT SIZE=2 FACE="Arial">Can anyone shed any light on this or \
suggest where to look?</FONT><FONT FACE="Times New Roman"><BR> </FONT><FONT SIZE=2 \
FACE="Arial">Thankyou</FONT><FONT FACE="Times New Roman"><BR> </FONT><FONT SIZE=2 \
FACE="Arial">Matt</FONT><FONT FACE="Times New Roman"> </FONT> <BR>
</P>
<BR>

<P><B><FONT COLOR="#000000" SIZE=1 FACE="Arial">Matthew Cullum</FONT></B>

<BR><FONT COLOR="#000000" SIZE=1 FACE="Arial">Application Infrastrcuture Team</FONT>

<BR><B><FONT COLOR="#000000" SIZE=1 FACE="Arial">Linklaters LLP</FONT></B><FONT \
COLOR="#000000" SIZE=1 FACE="Arial">, Colchester</FONT>

<BR><FONT COLOR="#000000" SIZE=1 FACE="Arial">Tel: (01206) 754 077</FONT>

<BR><FONT COLOR="#000000" SIZE=1 FACE="Arial">Fax: (01206) 754 140</FONT>

<BR><FONT COLOR="#000000" SIZE=1 FACE="Arial">Mobile: (07825) 528519</FONT>

<BR><U><FONT COLOR="#0000FF" SIZE=1 \
FACE="Arial">matthew.cullum@linklaters.com</FONT></U>

<BR><A HREF="http://www.linklaters.com"><U></U><U><FONT COLOR="#0000FF" SIZE=1 \
FACE="Arial">http://www.linklaters.com</FONT></U></A> </P>
<BR>
<BR>


<p><span style="font-family:'Arial';font-size:8pt;">_______________________________________________</span></p>
 <p><span style="font-family:'Arial';font-size:8pt;">Any business communication, sent \
by or on behalf of Linklaters LLP or one of its affiliated firms or other entities \
(together &quot;Linklaters&quot;), is confidential and may be privileged or otherwise \
protected. If you receive it in error please inform us and then delete it from your \
system. You should not copy it or disclose its contents to anyone. Messages sent to \
and from Linklaters may be monitored to ensure compliance with internal policies and \
to protect our business. Emails are not secure and cannot be guaranteed to be error \
free. Anyone who communicates with us by email is taken to accept these \
risks.</span></p> <p><span style="font-family:'Arial';font-size:8pt;">Linklaters LLP \
(www.linklaters.com) is a limited liability partnership registered in England and \
Wales with registered number OC326345. It is a law firm regulated by the Solicitors \
Regulation Authority (www.sra.org.uk). The term partner in relation to Linklaters LLP \
is used to refer to a member of Linklaters LLP or an employee or consultant of \
Linklaters LLP or any of its affiliated firms or entities with equivalent standing \
and qualifications. </span></p> <p><span style="font-family:'Arial';font-size:8pt;">A \
list of Linklaters LLP members together with a list of those non-members who are \
designated as partners and their professional qualifications, may be inspected at our \
registered office, One Silk Street, London EC2Y 8HQ and such persons are either \
solicitors, registered foreign lawyers or European lawyers.</span></p> <p><span \
style="font-family:'Arial';font-size:8pt;">&nbsp;</span></p></BODY> </HTML>


[Attachment #4 (--===============5601378937587495413==)]
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic