Hello,
where can i find a manual for the check_log?
How can I use the pattern option?
Thank you.
Martin Kamke
Tel. +49 40 3890 4417
Fax +49 40 3890
web: http://www.snap.de www.snap.de
mail: mailto:martin.ka...@snap.de martin.ka...@snap.de
SNAP
I am using the check_log plugin and I am having a strange issue. When the
monitor scan my log and encounters an issue, it reports it, when it scans it
again and does not find the issue it still reports as an error. The only way I
can clear this is by running the check command manually on the
Hi,
If you ran your tests with an other user than the one NRPE is using on
your server, may be he can't overwrite your /tmp/messages file and
trigger a CRITICAL state (I see in your tests you are logged in as root).
Marc-André
On 11/04/2011 04:53 AM, Brandstaetter, Sigmund wrote:
Hi Guys,
Hi Marc,
Thanks a lot, sure enough you are right J
Thanks a lot, I totally overlooked that
.
From: MAD [mailto:m...@b-care.net]
Sent: Friday, November 04, 2011 15:33
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] check_log via check_nrpe problem
Hi
Hi Guys,
First of all, hello, since this is my first post to the list.
I hope some of you will be able to give me some input on my problem.
I have a Nagios Server to monitor some Hosts (Nagios 3.3.1) using NRPE and
SNMP Checks
I wanna check a logfile for eg. the string error.
The check works
Hi list,
1.
any suggestions how to check multiple pattern with one command?
example:
check_log -F /var/adm/messages -O /var/adm/nagios_messages -q
error|connection timed out|SCSI transport failed
2.
Is there a way to ignore lines from the result?
example:
check_log -F
On Dec 3, 2009, at 2:09 AM, Tobias Exner wrote:
1.
any suggestions how to check multiple pattern with one command?
example:
check_log -F /var/adm/messages -O /var/adm/nagios_messages -q
error|connection timed out|SCSI transport failed
check_log uses egrep to search for the
Marc,
thank you...
point 1 is now clear for me..
point 2
I checked my plugins version.
It's 1.4.13,REV=2009.04.26 from blastwave.
Is there an other repository available or do I have to compile it all by
my self?
regards,
Tobias
Marc Powell schrieb:
On Dec 3, 2009, at 2:09 AM,
-Ursprüngliche Nachricht-
Von: Tobias Exner [mailto:tex...@eoipso.com]
Gesendet: Donnerstag, 3. Dezember 2009 09:09
An: Nagios-Users Mailinglist
Betreff: [Nagios-users] check_log multiple pattern and filtering
Hi list,
1.
any suggestions how to check multiple pattern with one
On Dec 3, 2009, at 9:31 AM, Tobias Exner wrote:
Marc,
thank you...
point 1 is now clear for me..
point 2
I checked my plugins version.
It's 1.4.13,REV=2009.04.26 from blastwave.
Is there an other repository available or do I have to compile it all by my
self?
I don't use
Hi,
On 10/12/2007, Roger [EMAIL PROTECTED] wrote:
I'm thinking about using check_log to monitor mysqld.log
I've found it more useful to check the status of the mysql processes
themselves rather than the log file. So I monitor the number of active
connections, and those in a locked state and
Hi Roger,
I don't know much about MySQL to know which types of errors that I should
be looking for and am hoping others here might have some recipes / hacks
that they use that they might share what has worked well for them.
if you use check_logfiles instead of check_log, you can squeeze
I'm thinking about using check_log to monitor mysqld.log
e.g.
check_log -F /var/log/mysqld.log -O /tmp/mysqdLogTest.log -q
STRING_TO_LOOK_FOR
I don't know much about MySQL to know which types of errors that I should be
looking for and am hoping others here might have some recipes / hacks that
Hi,
I am trying to use check_log on a solaris box but without luck.
Any advise from this group ?
% ./check_log -F /home/oracle/admin/cdocs/bdump/alert_cdocs.log -O
/tmp/alert_cdocs.log -q ORA-00600
Log check data initialized...
% ./check_log -F /home/oracle/admin/cdocs/bdump/alert_cdocs.log -O
having a bit of trouble with notifications and the check_log command. i
got the command working, so it is actually reporting the correct error
(from my nagios log):
[1151941987] SERVICE ALERT: Appserver1;Message Log;CRITICAL;SOFT;1;(1)
[ERROR ]
however, there is no email notification triggered
Hi Ryan,
Nagios won't execute notifications on SOFT states.
Try to decrease the max_check_attempt of this Log checking Service to
something like 1 and have a look.
Best wishes
Hendrik
Ryan Wilcox schrieb:
having a bit of trouble with notifications and the check_log command. i
got the
Hi, I want to monitor a certain pattern in a log file so I've been testing
check_logfiles and check_log but what I want it to do is that when the pattern
repeats itself 5 times (for example) then give an alert not just with one time,
I can't figure out how to do this with nagios plugins. Has
Hi Jorge,
do you mean _this_ check_logfiles?
http://www.nagiosexchange.org/Misc.54.0.html?tx_netnagext_pi1%5Bp_view%5D=5
38
to do is that when the pattern repeats itself 5 times (for
example) then give an alert not just with one time, I can't
figure out how to do this with nagios plugins.
Thanks for your reply Gerhard, yes I meant that check_logfiles. You see I have
an application running on a linux server and I want to search the logs for a
specific error message but I only want it to raise an alarm (status change to
critical) if in a single check it finds more than five of that
in check_log, find lines:
if [ $count = 0 ]; then # no matches, exit with no error
$ECHO Log check ok - 0 pattern matches found\n
exitstatus=$STATE_OK
change $count = 0 to $count = 5.
change Log check ok - 5 pattern matches found\n
Ken A
Pacific.Net
Julie S. Lin wrote:
Hi
i am
Hi
I am running Nagios 1.2 on RedHat 9. I have check_log set up to monitor
oracle errors. A cron jobs copies
a fresh copy of the appropriate log file to the nagios server every 5
min; The service is checked every 12 minutes.
Every once in a while (no pattern) I'll get a very odd and false
Hello: Newbie question here:
Is it possible to perform a check_log on a remote host and check to see if the log tail is scrolling? I have a perl script to parse for strings but I need to be able to identify if the logs are advancing?
Many Thanks,
David
Can anybody give me an example of a correct command definition for
check_log ?
I'm looking to locate the word 'Error' in /var/log/messages on each
machine.
If anyone can forward example portions of their services.cfg and
checkcommand.cfg files I would be most grateful! So far I've been
Maccy wrote:
Can anybody give me an example of a correct command definition for
check_log ?
I'm looking to locate the word 'Error' in /var/log/messages on each
machine.
If anyone can forward example portions of their services.cfg and
checkcommand.cfg files I would be most grateful! So
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Koponick
Sent: Saturday, March 04, 2006 7:59 AM
To: James Turnbull
Cc: Nagios Users
Subject: RE: [Nagios-users] Check_Log
Sure.
Here is the service check command:
define service {
use Sensor-Log
-F $ARG1$ -O $ARG2$ -q $ARG3$
Thanks!
Mike
-Original Message-
From: James Turnbull [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 6:33 PM
To: Mike Koponick
Cc: Nagios Users
Subject: Re: [Nagios-users] Check_Log
Mike Koponick wrote:
I wanted to say thanks to all who responded
: [Nagios-users] Check_Log
Mike Koponick wrote:
I wanted to say thanks to all who responded to my question
regarding
parsing syslog files.
Thanks!
But, I was wondering about check_log. It seems that it
would work for
my environment. However I see that I have run
I wanted to say thanks to all who responded to my question
regarding parsing syslog files.
Thanks!
But, I was wondering about check_log. It seems that it would
work for my environment. However I see that I have run into a snag of sorts.
Im parsing out Cisco PIX logs, and was able
Mike Koponick wrote:
I wanted to say thanks to all who responded to my question regarding
parsing syslog files.
Thanks!
But, I was wondering about check_log. It seems that it would work for
my environment. However I see that I have run into a snag of sorts.
Can you post the
Hi All
I have two solaris boxen in my group eagle-servers. however, they
claims 0 pattern match and check OK under service detail
even though I edited the log file and put it Memory Error for testing
purposes..
Could someone kindly have a look at let me know what small change I need
to
30 matches
Mail list logo