[Nagios-users] Monitor MSSQL & MySQL on Windows

2009-09-03 Thread chethan.mnc
Dear All, I am Installed Nagios 3 on Rhel 5. I need to monitor Database(MSSQL & MySQL) health which are hosted on Windows Machine. The Windows machines are monitored by nagios via NSClient++. Any Help is highly Appreciated. Regards, Chethan M N -

Re: [Nagios-users] Monitor for memory bottleneck on Windows?

2009-09-03 Thread Tore Lønøy
Have i missed your response, Michael? Cant seem to find your respond in the archive. On Wednesday, August 5, 2009, Tore Lønøy wrote: > Hey again Michael, > > Yeah I think av avg value of Pages Output/sec for the last X min would > be the best, much like the CPU check in current build. > > Been aw

Re: [Nagios-users] using OCP daemon

2009-09-03 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/09/09 05:38 PM, Yungwei Chen wrote: > HI, > > I am evaluting OCP daemon in order to improve performance of sending > check results from one nagios machine A to another. The nagios on > machine A is also using pnp4nagios to show graphical results

Re: [Nagios-users] can nagios take some pro-active actions?

2009-09-03 Thread Allan Clark
On Sep 3, 2009, at 13:18, Leandro Quibem Magnabosco > wrote: "Olá" Leonardo, Please note that Nagios uses mostly scripts to check services/disk/ etc. and that those scripts that 'tell' nagios the status of the service/daemon/disk/etc. That said, I think you should not focus on Nagios to be

[Nagios-users] using OCP daemon

2009-09-03 Thread Yungwei Chen
HI, I am evaluting OCP daemon in order to improve performance of sending check results from one nagios machine A to another. The nagios on machine A is also using pnp4nagios to show graphical results. I noticed the following in http://wiki.nagios.org/index.php/OCP_Daemon. Does that mean machine

Re: [Nagios-users] NRPE gives wrong exit codes

2009-09-03 Thread Ciro Iriarte
2009/9/3 Ciro Iriarte : > 2009/9/3 Morris, Patrick : >> On Thu, 03 Sep 2009, Ciro Iriarte wrote: >> >>> Hi, i'm trying to monitor a Solaris box using NRPE. The thing is >>> nagios sees always an EXIT_CODE=0. >>> >>> Running the check by hand on the Solaris host works as expected: >>> >>> --

Re: [Nagios-users] nagios scheduling and Hard/soft state question

2009-09-03 Thread Marc Powell
On Sep 3, 2009, at 3:38 PM, shadih rahman wrote: > I don't have is_volatile enabled. Below I am pasting my log > entries and service definition. Thanks Weren't you asking about HOST B;batteryliebert? > log entries > [1251914190] SERVICE ALERT: HOST A;batteryliebert;WARNING;SOFT; > 1;Stat

Re: [Nagios-users] nagios scheduling and Hard/soft state question

2009-09-03 Thread shadih rahman
I don't have is_volatile enabled. Below I am pasting my log entries and service definition. Thanks *log entries* [1251777600] CURRENT HOST STATE: HOST A;UP;HARD;1;FPING OK - HOST A (loss=0%, rta=0.85 ms) [1251777600] CURRENT SERVICE STATE: HOST A;batteryliebert;OK;HARD;1;Status is OK - GX

Re: [Nagios-users] NRPE: Unable to read output

2009-09-03 Thread Matthew Litwin
Please disregard. I see the typo in the NRPE command path. So sorry! On 9/3/09 12:48 PM, "Matthew Litwin" wrote: > I wrote a perl plugin that seems to work fine when I run it locally on the > remote host as the nagios user, however when I try to execute it via NRPE I > get the old familiar nebu

Re: [Nagios-users] NRPE: Unable to read output

2009-09-03 Thread Matthew Litwin
I guess I should include the plugin script: #!/usr/bin/perl -w #check for item count in ListingCatlogue URL use POSIX; use strict; use File::Basename; use Getopt::Long; use vars qw( $opt_critical $opt_warning $opt_username $opt_password

[Nagios-users] NRPE: Unable to read output

2009-09-03 Thread Matthew Litwin
I wrote a perl plugin that seems to work fine when I run it locally on the remote host as the nagios user, however when I try to execute it via NRPE I get the old familiar nebulous ³NRPE: Unable to read output². I have debugging on for NRPE logging and it doesn¹t tell much more. (Note this is in re

Re: [Nagios-users] nagios scheduling and Hard/soft state question

2009-09-03 Thread Marc Powell
On Sep 3, 2009, at 2:29 PM, shadih rahman wrote: > All, >according to the definition hard state is reached upon completing > the max_check_attempt . This particular service status information > is stating otherwise. This particular service check has > max_check_attempt set to 3. Howe

Re: [Nagios-users] any solution which will allow me to forward Nagios alerts to Netcool?

2009-09-03 Thread Marc Powell
On Sep 3, 2009, at 1:54 PM, Scott Xiao wrote: > > Hi Max > Thanks for your help! > I am now ok to use the snmptrap to send out alert. But it seems the > nagios doesn't involk the send_trap script to do the job. > # 'send_trap' command definition > define command{ >command_name send_trap

[Nagios-users] nagios scheduling and Hard/soft state question

2009-09-03 Thread shadih rahman
All, according to the definition hard state is reached upon completing the max_check_attempt . This particular service status information is stating otherwise. This particular service check has max_check_attempt set to 3. However it looks like soft state changed into Hard with checking for 3 t

Re: [Nagios-users] NRPE gives wrong exit codes

2009-09-03 Thread Ciro Iriarte
2009/9/3 Morris, Patrick : > On Thu, 03 Sep 2009, Ciro Iriarte wrote: > >> Hi, i'm trying to monitor a Solaris box using NRPE. The thing is >> nagios sees always an EXIT_CODE=0. >> >> Running the check by hand on the Solaris host works as expected: >> >> -- >> [solaris ~]$ /usr/local/na

Re: [Nagios-users] any solution which will allow me to forward Nagios alerts to Netcool?

2009-09-03 Thread Scott Xiao
Hi Max Thanks for your help! I am now ok to use the snmptrap to send out alert. But it seems the nagios doesn't involk the send_trap script to do the job. I setup same on a vm with nagios and use my laptop with wireshark to monitor incoming snmp traffic. In localhost.cfg, I changed to 1 and 2 for

Re: [Nagios-users] NRPE gives wrong exit codes

2009-09-03 Thread Morris, Patrick
On Thu, 03 Sep 2009, Ciro Iriarte wrote: > Hi, i'm trying to monitor a Solaris box using NRPE. The thing is > nagios sees always an EXIT_CODE=0. > > Running the check by hand on the Solaris host works as expected: > > -- > [solaris ~]$ /usr/local/nagios/libexec/check_disk -w 50% -c 1

[Nagios-users] service dependency problem - config check hangs

2009-09-03 Thread Terry
Hello, When I try to check my config, it hangs on "Checking for circular host and service dependencies...". I have this service dependency: define servicedependency{ hostgroup_name windows service_description nrpe dependent_host

[Nagios-users] NRPE gives wrong exit codes

2009-09-03 Thread Ciro Iriarte
Hi, i'm trying to monitor a Solaris box using NRPE. The thing is nagios sees always an EXIT_CODE=0. Running the check by hand on the Solaris host works as expected: -- [solaris ~]$ /usr/local/nagios/libexec/check_disk -w 50% -c 10% -p /kml_ DISK WARNING - free space: /kml_inst2 101125

Re: [Nagios-users] nsclient++ check_nt USEDDISKSPACE Segmentation fault

2009-09-03 Thread Massimo Balestra
Hi Thank you for the answer. I don't think the problem is the windows update. I think that there is a problem that showed up only after the windows update. And the problem is: accessing the drive C from a service I get this error: Could not get free space for: c: c: reason: 32: The

Re: [Nagios-users] can nagios take some pro-active actions?

2009-09-03 Thread Menard, Chris
Using nagios event_handlers provided a couple benefits. First, you can configure when to restart or correct the service. You can wait for the 2nd or 3rd SOFT non-OK status to perform the corrective action. This takes into account false-positives (as described in another thread today) and will

Re: [Nagios-users] can nagios take some pro-active actions?

2009-09-03 Thread Menard, Chris
We use event_handlers EXACTLY as you describe. Let nagios restart service immediately and THEN figure out why it stopped. We all agree that root cause analysis is importantbut often secondary to restoring service. -Original Message- From: Leonardo Carneiro [mailto:lscarne...@veltra

Re: [Nagios-users] can nagios take some pro-active actions?

2009-09-03 Thread Leandro Quibem Magnabosco
Title: Untitled Document "Olá" Leonardo, Please note that Nagios uses mostly scripts to check services/disk/etc. and that those scripts that 'tell' nagios the status of the service/daemon/disk/etc. That said, I think you should not focus on Nagios to be proactive hence that it's scripts could

[Nagios-users] AIX 6.1 Binaries for nsca, nrpe, nagios-plugins available

2009-09-03 Thread Kyle O'Donnell
I've compiled the binaries and uploaded to the nagios^H^H^H^H^H^Hmonitoringexchange: http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F3192.html;d=1 Compiled binaries for AIX 6.1 NRPE 2.12 ./configure --prefix=/opt/nagios --enable-command-args --without-ssl NSCA 2.7.2 ./configure

Re: [Nagios-users] Control false-positives alarms

2009-09-03 Thread Marc Powell
On Sep 3, 2009, at 8:09 AM, Lincoln Zuljewic Silva wrote: > For example: the CPU load may vary during a time period (30 minutes) > and I would like to receive an alarm message only when the > “max_check_attempts” is reached, or only if the CPU load is greater > than the critical parameter for X m

Re: [Nagios-users] Control false-positives alarms

2009-09-03 Thread Morris, Patrick
Lincoln Zuljewic Silva wrote: > Good morning to all, > > I was reading the Nagios documentation about service and contact > definition and didn’t find any parameter that could be used to control > false-positives alarms. > > For example: the CPU load may vary during a time period (30 minutes) > and

Re: [Nagios-users] can nagios take some pro-active actions?

2009-09-03 Thread Leonardo Carneiro
Yeah, i understand that exists some situations that a event handler can't effectively fix something, but reading the documention link you guys send me, it turns out that this is EXACTLY what i'm looking for. check some times, restart, check again, if still down, notify the admin somehow. Thank

Re: [Nagios-users] can nagios take some pro-active actions?

2009-09-03 Thread Leonardo Carneiro
Tks to everyone. Let me explain the situation. The service in question is a software developed by my own company. This service "consumes" files in a defined directory, generated by other program. This is the metric i use to monitor. Like any software in constant development, it will eventualy c

Re: [Nagios-users] can nagios take some pro-active actions?

2009-09-03 Thread dave stern - e-mail.pluribus.unum
Ok, everyone agrees event handler can take action to fix a problem but bear in mind that this comes with caveats. Affectively, nagios event handler is treating a symptom; the disease goes merely on its way. If a service stops, WHY did it stop in the first place? Most good sysadmins would tackle the

[Nagios-users] Control false-positives alarms

2009-09-03 Thread Lincoln Zuljewic Silva
Good morning to all, I was reading the Nagios documentation about service and contact definition and didn’t find any parameter that could be used to control false-positives alarms. For example: the CPU load may vary during a time period (30 minutes) and I would like to receive an alarm message on

Re: [Nagios-users] can nagios take some pro-active actions?

2009-09-03 Thread Marc Powell
On Sep 3, 2009, at 6:44 AM, Leonardo Carneiro wrote: > I know Nagios can send sms, email and other things to warn > administrators about problems, but can Nagios take any action to fix > the > problem, like restart the service if reach critical state, or restart > the service if the service sta

Re: [Nagios-users] can nagios take some pro-active actions?

2009-09-03 Thread mail
Hi And welcome to the wonderful world of Nagios. I think what you want are "event_handlers" (have a look in the Nagios Doc's http://nagios.sourceforge.net/docs/3_0/eventhandlers.html ) Ritchie On Thu, Sep 3, 2009 at 12:44 PM, Leonardo Carneiro < lscarne...@veltrac.com.br> wrote: > hello everyone

Re: [Nagios-users] www.ranjithkumar.com

2009-09-03 Thread Kevin Davison
Nope! Apparently just spam. -Original Message- From: James Pratt [mailto:jpr...@norwich.edu] Sent: Wednesday, September 02, 2009 11:53 AM To: ranjith kumar; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] www.ranjithkumar.com >> -Original Message- >> From: ranji

Re: [Nagios-users] can nagios take some pro-active actions?

2009-09-03 Thread Menard, Chris
Yes...look for event_handler -Original Message- From: Leonardo Carneiro [mailto:lscarne...@veltrac.com.br] Sent: Thursday, September 03, 2009 7:44 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] can nagios take some pro-active actions? hello everyone. Started to play

[Nagios-users] can nagios take some pro-active actions?

2009-09-03 Thread Leonardo Carneiro
hello everyone. Started to play with Nagios a few days ago and i'm very excited with it. I have a very small setup (2 linux server being monitored via npre by a third linux server) and i'd wrote some bash scripts to monitor some of the services that we run on those services (proprietary service

Re: [Nagios-users] nsclient++ check_nt USEDDISKSPACE Segmentation fault

2009-09-03 Thread Natxo Asenjo
On Mon, Aug 31, 2009 at 5:48 PM, Massimo Balestra < massimobales...@hotmail.com> wrote: > I have a problem monitoring the USEDDISKSPACE on one drive of one of the > windows servers. > > > > It is a Windows Server 2003 R2 Standard edition (Service pack 2). > > The problem occurs after I did the l

Re: [Nagios-users] Monitoring a router

2009-09-03 Thread Jim Avery
2009/9/2 David Dyer-Bennet : > I'm just looking to use it to filter out failure > reports from services beyond failed network links. If that's the case I'd recommend maybe implementing your checks solely (and somewhat pedantically) from the perspective of what is useful for Nagios reachability che

Re: [Nagios-users] Nagio + SMS

2009-09-03 Thread Martyn
Hi Craig, looks like I was wrong after doing some research -Original Message- From: Martyn [mailto:mar...@chetnet.co.uk] Sent: 02 September 2009 10:21 To: cr...@hooters-uk.com; christian.masop...@siemens.com; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Nagio + SMS Crai