Re: [Nagios-users] problem state with check_multi

2011-07-04 Thread Matthias Flacke
Hi Stanislas, the RC UNKNOWN and the message '[timeout encountered after 10s]' is not from check_icmp, but from the check_multi child check timeout, which also encountered after 10s. :) To get sure which timeout actually is working, either specify another timeout for check_icmp, or for check_mul

Re: [Nagios-users] Difference between check_multi output on host and output received by chech_by_ssh

2010-10-27 Thread Matthias . Flacke
Hi Tim, > However when I run it from the nagios server I don't see the output from > our sendmail mailqueue check, which is the last check listed in our > /usr/local/nagios/checks/systemhealth.cmd file: The report option -r 11 (1+2+8) is not a good idea, because you left out -r 4 to show errors

Re: [Nagios-users] Alleviating Nagios i/o contention problem

2010-09-27 Thread Matthias . Flacke
> - The ramdisk idea is also interesting. I'm curious though, about why one > would want to rsync it back to the local disk periodically. It's just a > run-time status file, right? Unless I misread the docs, it goes away when > Nagios is shut down. What would having a local disk copy of status

Re: [Nagios-users] Alleviating Nagios i/o contention problem

2010-09-25 Thread Matthias Flacke
On 9/25/10 2:30 PM, Frost, Mark {PBC} wrote: > Greetings, listers, > > > > We've got an on-going issue with i/o contention. There's the obvious > problem that we've got a whole lot of things all writing to the same > partition. In this case, there's just one big chunk of RAID 5 disk on a > si

Re: [Nagios-users] Override interval_length for specific service only

2010-01-07 Thread Matthias . Flacke
> I was wondering if there was any way with nagios 3.2 to override the global > interval_length > for a specific service? I have one service that I would like to check every > 30 seconds, but > interval_length in 60. I could change the interval_length definition, of > course, but then I > wou

Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?

2009-10-26 Thread Matthias Flacke
Ton Voon wrote: > Hi! > > On 26 Oct 2009, at 10:18, Mattias Ryrlén wrote: > >> This can be solved with issue the following error. >> >> service nagios stop; now=$(date +%s); sed -i >> "s/^next_check=.*/next_check=$now/" /usr/local/nagios/var/status.sav; >> service nagios start >> >> this will o

Re: [Nagios-users] problem with check_yum

2009-04-15 Thread Matthias Flacke
Seth Simmons wrote: > I think I found the problem. When I ran check_yum locally I forgot it was > running as root which explains why it worked. Running locally as nagios > caused the error. Apparently it isn't the plugin. If, as nagios, I run yum > check-update it tells me I need to be roo

Re: [Nagios-users] Dependent service checks don't fail when depended-on service check fails

2009-03-30 Thread Matthias Flacke
Jarrod Moore wrote: > On Fri, Mar 27, 2009 at 5:43 PM, Matthias Flacke > wrote: >> Jarrod Moore wrote: >>> On Thu, Mar 26, 2009 at 7:57 PM, Andreas Ericsson wrote: >>>> Jarrod Moore wrote: >>>>> Hello everyone, >>>>> >>>&

Re: [Nagios-users] Dependent service checks don't fail when depended-on service check fails

2009-03-27 Thread Matthias Flacke
Jarrod Moore wrote: > On Thu, Mar 26, 2009 at 7:57 PM, Andreas Ericsson wrote: >> Jarrod Moore wrote: >>> Hello everyone, >>> >>> I have a couple of related questions regarding service dependencies in >>> Nagios and their limitations. I have two service checks (let's call >>> them A and B) and se

Re: [Nagios-users] Nagios configuration for SAN monitoring

2009-02-23 Thread Matthias Flacke
Jim Avery wrote: > The book I used to recommend (Nagios by Wolfgang Barth > published by No Starch Press) gives an excellent introduction but > unless it's been updated it won't include a lot of useful stuff new in > version 3. Just as a side note: it is up2date. In October 2008 the 2nd edition w

Re: [Nagios-users] check_ping and dual ip addresses

2009-01-26 Thread Matthias Flacke
Christian Schneemann wrote: > On Monday January 26 2009 09:39:56 am Kevin Zellar wrote: >> how to use check_ping if there are 2 ip addresses per host? [snip some definitions for check_ping] > I hope there is an easier way to do this. > Maybe with check_multi? Although you can do it with check_

Re: [Nagios-users] Hysteresis anyone?

2008-11-05 Thread Matthias Flacke
Maybe a check_multi solution is something for you (http://my-plugin.de/check_multi): - 8< -- # hysteresis.cmd # call: check_multi -f hysteresis.cmd \ #-s LASTSERVICESTATEID=$LASTSERVICESTATEID$ \ #-s UPPER= -s LOWER= # # 1. get tempe

Re: [Nagios-users] Checking multiple different procs in one service check

2008-07-05 Thread Matthias Flacke
Hi Hari, please have a look at http://my-plugin.de/check_multi. It wraps arbitrary calls of plugins, commands, whatever you need and is not limited to process checks. Just as a more generic approach, while the basic idea is very similar ;-) -Matthias Hari Sekhon wrote: > Hi, > >I have

Re: [Nagios-users] check_users: list the users?

2008-04-17 Thread Matthias Flacke
users USERS CRITICAL - 3 users currently logged in [ 2] who_q mflacke mflacke mflacke Greetz, Matthias Flacke -- http://my-plugin.de/check_multi - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don'

Re: [Nagios-users] Cluster services dependencies

2008-03-13 Thread Matthias Flacke
Hi, Riccardo Cupardo wrote: > Ty for your reply Marc, > > I configured check_service_cluster and working very well, but requied > two stand-alone Mssql-Check services... because is a Mssql cluster, the > normal scenario is: one started and one stopped > And i have a critical report on the

Re: [Nagios-users] State Stalking and notifications

2008-02-20 Thread Matthias Flacke
[EMAIL PROTECTED] wrote: > > I had thought about writing a custom check for each line > > of output that this command generates, but that seems needlessly > > painful. [...] > > I'm guessing the answer here is "Nagios can't do that", but I thought > > I'd ask anyway. > > Technically Nagios c

Re: [Nagios-users] Nagios 3.0 rc1 urlize nsca embeded links fail

2008-01-21 Thread Matthias Flacke
[EMAIL PROTECTED] wrote: > I just upgraded from 2.X line to 3.0 rc1, and I notice that the Status > Information field no longer supports embedded URLs.. > Previously I could send a passive check result via nsca like: > Some alarm text http://somelink.com";> click me > Now this no longer renders a

Re: [Nagios-users] check_cluster for hosts and warning state not yellow.

2008-01-07 Thread Matthias Flacke
js wrote: > I'm using Nagios 3.0RC1. > I'm using the latest check_cluster plugin in order to implement cluster > logic into Nagios. > I'm monitoring clustered hosts and NOT services. > The whole thing seems to work correct but when the clusterhost is in a > warning state, it is still displayed in

Re: [Nagios-users] best solution for configuration changes

2008-01-03 Thread Matthias Flacke
I'd like to suggest a completely different approach - again with the plugin check_multi (http://my-plugin.de/check_multi) which I yesterday introduced in another context. ;-) Take the following scenario: you have a parent check_multi service for each region (user/admin/organisational) you want

Re: [Nagios-users] Propagating Service Changes

2008-01-02 Thread Matthias . Flacke
iews) HTH - Matthias Flacke - original message Subject: [Nagios-users] Propagating Service Changes Sent: Wed, 02 Jan 2008 From: Mohr James<[EMAIL PROTECTED]> > Hi All! > > First off my apologies. Apparently I forget to stop the subscription > while I was on vacation,