Re: [Nagios-users] check frequency

2009-05-18 Thread Anirudh Srinivasan
Also one more question : How was nagios managing that retry_interval earlier when this parameter was not even set ?? Is it because of SMART calculation thats set in nagios.cfg ??? If not please can i know how that worked ??? 2009/5/18 Anirudh Srinivasan > Hi > > Thanks for the reply , will try

Re: [Nagios-users] check frequency

2009-05-18 Thread Anirudh Srinivasan
Hi Thanks for the reply , will try this out. But is there some centralized Parameter in nagios.cfg that could solve this issue. Thanks in Adv On Mon, May 18, 2009 at 11:01 PM, Dongsheng Song wrote: > In service definition, set: > >check_interval 1 >retry_interva

Re: [Nagios-users] check frequency

2009-05-18 Thread Mathieu Gagné
Hi, Anirudh Srinivasan wrote: > > Below is the Alert history for the the host , and the max_check_attemps > is = 5 > > If you could notice the check frequency is approx= 3 min . > > Is it possible to reduce this parameter, if yes then what is the > parameter that i have to look for. > I do

Re: [Nagios-users] check frequency

2009-05-18 Thread Dongsheng Song
In service definition, set: check_interval 1 retry_interval 1 max_check_attempts 5 In host definition, set: check_interval 1 retry_interval 1 max_check_attempts

[Nagios-users] check frequency

2009-05-18 Thread Anirudh Srinivasan
Hi Nagios experts: Below is the Alert history for the the host , and the max_check_attemps is = 5 [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL - (loss=100% ) [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL - (loss=100% ) [05-11-2009 16:40:30] HOST AL

Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When Running check_ifstatus

2009-05-18 Thread James Pratt
I absolutely agree with Frank - you can *really* mess up an RPM-based distro by using CPAN if you are not VERY careful what you do, so do so at your own risk! :\ (if you *must* use packages required by CPAN - instead, try and figure out how to add 3rd party repos such as rpmforge etc, as there is

Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When Running check_ifstatus

2009-05-18 Thread frank
# yum install perl-Net-SNMP CPAN can sometimes be useful, but if you're on an RPM system and there's an RPM available for the perl package you want I would highly recommend going the RPM route. It's too bad cpan isn't easier to turn into an rpm (besides cpan2rpm which I often find to be less u

[Nagios-users] Question about Check Command field

2009-05-18 Thread Kaplan, Andrew H.
Hi there -- I completed the installation of Ignoramus 0.2.3, and I was going through the list within the Check Command. The list of services does not include all of the plugins that are available within Nagios. One example would be the check_disk plugin. Can I modify the services.php file to inc

[Nagios-users] Unable to open MRTG log file

2009-05-18 Thread Dei Bertine
Hi folks, I've been getting these messages from my nagios page under mrtg: "check_mrtgtraf: Unable to open MRTG log file" in which Im unable to figure it out why? here's my config file: # Monitor Port 1 Bandwidth Usage define service{ use mrtg-service host

Re: [Nagios-users] socket timeout after 20 sec

2009-05-18 Thread Anirudh Srinivasan
Sorry for the delayed reply Actuall that was a typo error. Its actually ./check_nt -H -v FREEDISKSPACE -l C -w 80 -c 90 -p 12489 -t 50 CRITICAL - socket timeout after 50 sec Any suggetions... I also re installed the NC_NET on the windows and then tested with the usual port but still no

Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When Running check_ifstatus

2009-05-18 Thread Andrew Davis
As root, try "perl -MCPAN -e shell" then "install Net::SNMP". You may want to first do "install Bundle::CPAN", then "install Net::SNMP". Also open up the test script (assuming its not a compiled binary) and check for all the "use" lines and make sure they're installed. For example, from another

Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When Running check_ifstatus

2009-05-18 Thread Martin Fontanez
From: Martin Fontanez Subject: Can't locate Net/SNMP.pm in @INC When Running check_ifstatus To: Nagios-users@lists.sourceforge.net Date: Monday, May 18, 2009, 3:46 PM I am getting this error and not certain what gives.  Tried various solutions including creating a link to ../net dir but st

Re: [Nagios-users] Odd check_http error

2009-05-18 Thread Andrew Davis
You were correct. My check command showed: # 'check_http' command definition define command{ command_namecheck_http command_line$USER1$/check_http -I $HOSTADDRESS$ $ARG1$ } But my test was passing two arguments (-p and -u). Once I updated the test to use $HOSTADDRES

[Nagios-users] OID's missing for check_snmp_cpfw.pl

2009-05-18 Thread Andrew Davis
I'm trying to make use of check_snmp_cpfw.pl against a pair of redundant CP firewalls. For any test I try, I see: cannot find oids / CPFW Status : CRITICAL I've verified all the perl stuff including Net::SNMP and Getopt::Long ./check_snmp_cpfw.pl -H 10.1.1.250 -C obfuscated -swm FW :

Re: [Nagios-users] Host vs Service reachability

2009-05-18 Thread Jason Frisvold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jon Angliss wrote: > You're actually "inviting a world of hurt" doing it the other way > around (service ping over host check). Host checks will help surpress > service notifications, as well as help manage network reachability if > you use parents (s

Re: [Nagios-users] Generating availability report in Nagios 3.0.6

2009-05-18 Thread Marc Powell
> -Original Message- > From: Paul Corcoran [mailto:paul.corcoran.ml...@gmail.com] > Sent: Monday, May 18, 2009 3:54 AM > To: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Generating availability report in Nagios 3.0.6 > > Thanks for the replies. > > Looking through na

Re: [Nagios-users] Both hostgroup_name and host_name in services.cfg

2009-05-18 Thread Marc Powell
> -Original Message- > From: Andrew Davis [mailto:ncc...@gmail.com] > Sent: Monday, May 18, 2009 11:13 AM > To: Nagios Users > Subject: Re: [Nagios-users] Both hostgroup_name and host_name in services.cfg > > That's a good idea. Thanks. I hadn't really thought of defining a group, then >

Re: [Nagios-users] Both hostgroup_name and host_name in services.cfg

2009-05-18 Thread Andrew Davis
That's a good idea. Thanks. I hadn't really thought of defining a group, then excluding certain hosts. A. Davis Email: ncc...@gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Marc Powell wrote: On May 18, 2009, at 9:

Re: [Nagios-users] Both hostgroup_name and host_name in services.cfg

2009-05-18 Thread Max
On Mon, May 18, 2009 at 10:51 AM, Andrew Davis wrote: > Well, yes and no. The checks of the config files didn't show any errors, but > that doesn't mean the developers accounted for the situation and that I > won't see any anomalies as a result. I was hoping that another user might've > had some e

Re: [Nagios-users] Both hostgroup_name and host_name in services.cfg

2009-05-18 Thread Marc Powell
On May 18, 2009, at 9:51 AM, Andrew Davis wrote: > Well, yes and no. The checks of the config files didn't show any > errors, but that doesn't mean the developers accounted for the > situation and that I won't see any anomalies as a result. You'd be able to see the services assigned to the h

Re: [Nagios-users] RE [spam?] memory on windows

2009-05-18 Thread James Pratt
http://nagios.manubulon.com/ -Original Message- From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk] Sent: Monday, May 18, 2009 11:15 AM To: frank.bourd...@dga.defense.gouv.fr Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] RE [spam?] memory on windows maybe I w

Re: [Nagios-users] RE [spam?] memory on windows

2009-05-18 Thread Andrew Davis
That's not the NSClient++ URL. In fact, you can't put a "+" in a URL. :) The URL is http://nsclient.org/nscp/, though the OP5 guys have it as well and with a few modifications... http://www.op5.com/support/downloads/agents/op5-nsclientpp A. Davis Email: ncc...@gmail.com "There is no li

Re: [Nagios-users] RE [spam?] memory on windows

2009-05-18 Thread Melanie Pfefer
maybe I was not clear enough I need to use snmp thanks --- On Mon, 18/5/09, frank.bourd...@dga.defense.gouv.fr wrote: > From: frank.bourd...@dga.defense.gouv.fr > Subject: RE [spam?] [Nagios-users] memory on windows > To: "Melanie Pfefer" > Cc: nagios-users@lists.sourceforge.net > Date: Mo

[Nagios-users] RE [spam?] memory on windows

2009-05-18 Thread frank . bourdeau
Hi Melanie, NSCLIENT++ is the Nagios client for Windows 2003, 2000, 2008. You can download it at http://nsclient++.org/nscp/. Follow the documentation on the web site. [ENVOYE PAR INTERNET] frank.bourd...@dga.defense.gouv.fr Melanie Pfefer 18/05/2009 16:51 A nagiosplug-h...@lists.sourc

Re: [Nagios-users] Both hostgroup_name and host_name in services.cfg

2009-05-18 Thread Andrew Davis
Well, yes and no. The checks of the config files didn't show any errors, but that doesn't mean the developers accounted for the situation and that I won't see any anomalies as a result. I was hoping that another user might've had some experience with it... something like "hey I tried this and i

[Nagios-users] memory on windows

2009-05-18 Thread Melanie Pfefer
hi I have a windows 2003 and want to monitor its memory usage can you please pass me the plugin that can notify me if memory usage reached X GB? thank you -- Crystal Reports - New Free Runtime and 30 Day Tria

[Nagios-users] random nrpe socket timeout

2009-05-18 Thread mariog
hello i have troubles in our infrastructure with nrpe giving critical alerts when the nrpe socket timeout. this happens randomly from time to time in several servers. i really have no clue what is the cause, the service is up between two minutes, but the alerts causes sms to be sent for 'falses

Re: [Nagios-users] Both hostgroup_name and host_name in services.cfg

2009-05-18 Thread Andreas Ericsson
Andrew Davis wrote: > If I want to use the same test(s) for a hostgroup and an individual > host, am I able to define both in the same entry? > This falls into the "try-and-find-out" category of questions. It would have been faster for you to do that than it was sending an email and awaiting the

[Nagios-users] Both hostgroup_name and host_name in services.cfg

2009-05-18 Thread Andrew Davis
If I want to use the same test(s) for a hostgroup and an individual host, am I able to define both in the same entry? Example: define service { *hostgroup_name building-mgmt-servers host_name other_server* service_description

Re: [Nagios-users] Generating availability report in Nagios 3.0.6

2009-05-18 Thread Paul Corcoran
Thanks for the replies. Looking through nagios.cfg it seems that Nagios is logging ALL passive checks. Will setting this value to 0 still allow us to get meaningful availability reports? Thanks, Paul 2009/5/15 Marc Powell > > On May 15, 2009, at 4:46 AM, Paul Corcoran wrote: > > > Hi, > > >