Re: [Nagios-users] Service event handler script not activating

2008-11-14 Thread Dennis Hünseler
Hi Darren, did you check the commands on command line as root or as nagios user? Because i think your problem is the user which runs the commands. Regards, Dennis On Fri, 14 Nov 2008 18:22:59 -0700, "Darren Spruell" <[EMAIL PROTECTED]> wrote: > I had success with the first service eventhandler

[Nagios-users] Service event handler script not activating

2008-11-14 Thread Darren Spruell
I had success with the first service eventhandler we implemented and am now trying to duplicate it for a second service (with a slightly modified eventhandler script) and failing. The eventhandler that is failing is for the "Argus Daemon" service on host quagmire, and the failure is that although t

Re: [Nagios-users] snmp check for network interface errors

2008-11-14 Thread Matt Nelson
Found one that works just like I was looking for. Thanks: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1540.html;d=1 On Fri, Nov 14, 2008 at 11:49 AM, Marc Powell <[EMAIL PROTECTED]> wrote: > > On Nov 14, 2008, at 12:39 PM, Matt Nelson wrote: > > > First, is there an existing ch

Re: [Nagios-users] How do I monitor a specific log message?

2008-11-14 Thread Gerhard Lausser
Hi Estevao, on this page http://www.consol.com/opensource/nagios/check-logfiles you will a lot of documentation and a download link for check_logfiles.exe. This plugin was written to search patterns in files. It will run on your Windows server, so you don't have to export a share with the logfile

Re: [Nagios-users] How do I monitor a specific log message?

2008-11-14 Thread Estevao Soares
Thanks a lot. @James Pratt: Yeap, I'm kind a new to this and I'll take some time to analize your script, but this I'll be a valuable asset to me. @Marc Powell: I'll look deep into check_log doc to see what I can do then. Thanks! If anyone else has another solution, please, fell free to contribu

Re: [Nagios-users] snmp check for network interface errors

2008-11-14 Thread Marc Powell
On Nov 14, 2008, at 12:39 PM, Matt Nelson wrote: > First, is there an existing check script that will look at a network > interface and check for errors or collisions? There are several at http://www.nagiosexchange.org. -- Marc ---

Re: [Nagios-users] How do I monitor a specific log message?

2008-11-14 Thread Marc Powell
On Nov 14, 2008, at 12:28 PM, Estevao Soares wrote: > No, That didn't occur to me till now. > > Ok, Lets suppose I mount my path on samba and cat the result with > cat and grep. How do I put this onto nagios? > > And there is a problem here... This should return and OK or NOT OK > for example

Re: [Nagios-users] How do I monitor a specific log message?

2008-11-14 Thread James Pratt
From: Estevao Soares [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2008 1:28 PM To: Guilherme Drago Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] How do I monitor a specific log message? No, That didn't occur to me till now. Ok, Lets suppose I mount my path on samb

[Nagios-users] snmp check for network interface errors

2008-11-14 Thread Matt Nelson
First, is there an existing check script that will look at a network interface and check for errors or collisions? Some of the problems that I can see with writting one is if there are errors or collisions then it will be in an error state until it is reset to 0. I have ran into this in the past

[Nagios-users] RES: How do I monitor a specific log message?

2008-11-14 Thread Guilherme Drago
You’ll put on your plugin the exit codes of nagios. ConStat ::: Comprometimento Gerando resultados desde 1991 Guilherme Drago - Vistor (51) 30256681 http://www.constat.com.br/> www.constat.com.br / http://www.qualitor.com.br/> www.qualitor.com.br Dúvidas, sugestões, reclamações: mailto:[EMAIL

Re: [Nagios-users] How do I monitor a specific log message?

2008-11-14 Thread Estevao Soares
No, That didn't occur to me till now. Ok, Lets suppose I mount my path on samba and cat the result with cat and grep. How do I put this onto nagios? And there is a problem here... This should return and OK or NOT OK for example. I'm still clueless about how to do that. Thanks for you info anyway

[Nagios-users] RES: How do I monitor a specific log message?

2008-11-14 Thread Guilherme Drago
Hi Estavam, did you tried mount the directory of the log archive via SAMBA and read then whit cat and grep? ConStat ::: Comprometimento Gerando resultados desde 1991 Guilherme Drago - Vistor (51) 30256681 http://www.constat.com.br/> www.constat.com.br / http://www.qualitor.com.br/> www.qualito

[Nagios-users] How do I monitor a specific log message?

2008-11-14 Thread Estevao Soares
Hi there folks, I'm having a hard time trying to figure out how to solve this. I have nagio 3.01 running ok on a debian etch install. I have a Windows Server 2k who runs an important software for my company and it has a routine to run a .bat file an log the progress on a .txt file on my windows

Re: [Nagios-users] Service Return Code 255 Problem

2008-11-14 Thread Fernando Rocha
Hi, The Nagios plugins should return codes based on the POSIX. Probably your plugin is returning a code out of this range. Take a look: http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN78 Fernando Rocha OpServices Tecnologia da Informação - Original Message - From: "Mark

Re: [Nagios-users] Service Return Code 255 Problem

2008-11-14 Thread Marc Powell
On Nov 14, 2008, at 10:40 AM, Novak, Mark wrote: > on the web front end. Strangely, those are just two of about 10 > different checks that all use the same "check_sap_ccms" check with the > same argument for hostname and only these two are having errors. Even > stranger, I can execute those two

[Nagios-users] Service Return Code 255 Problem

2008-11-14 Thread Novak, Mark
Hello Everyone, I have searched the archives and also googled for my scenario, but have not found any answers that relate. I am running Nagios 3.0.5 stable to monitor a few servers and services. For one particular SAP server, I am using the check_sap_ccms service to check some SAP services. Se

Re: [Nagios-users] Nagios retention problem.

2008-11-14 Thread Andreas Ericsson
[EMAIL PROTECTED] wrote: > Does anybody know if Nagios _always_ write the retention file when > reloading/restarting? > It writes the retention file with rather frequent intervals, such as when it has done "enough" checks (where "enough" is determined sort of intelligently on a per-installation

Re: [Nagios-users] Nagios retention problem.

2008-11-14 Thread Markus.Almroth
Does anybody know if Nagios _always_ write the retention file when reloading/restarting? /Markus Almroth - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based application

Re: [Nagios-users] Oddities after restart

2008-11-14 Thread Andreas Ericsson
Steven Schwartz wrote: > Due to a site-wide power failure, I recently had to restart a Nagios > v2.5 server, with 150+ hosts and 300+ services. After restart, only > some of the machines were checked, and upon going back to do forced > service checks, I discovered a bunch of machines had "next che