Re: [Nagios-users] How to surpess notifications if ping fails.

2009-06-30 Thread Jon Angliss
Jeremiah Jester wrote: > Jon, > > Thanks for the reply. I've been struggling with this for some days. Can > you give me an example of what how to define this and in what file? I > would appreciate your help. Files don't really matter. Nagios loads them all, and processes. Its up to you how you w

Re: [Nagios-users] monitoring external internet connectivity

2009-06-30 Thread Johannes Dagemark
shadih rahman wrote: > All, > What is the best way to check if our network has connection to > commodity internet or not. What I am trying to achieve is to ensure > internal network has connection to Internet. One thing is to ping > google check. Is this a good idea or can someone suggest a

Re: [Nagios-users] How to surpess notifications if ping fails.

2009-06-30 Thread Jon Angliss
On Mon, 29 Jun 2009 14:57:19 -0700, Jeremiah Jester wrote: >Hello, > >I have a working nagios2 installation under Ubuntu. I would like to >configure nagios so that when a host cannot be ping'd by nagios all other >services related to this server/s are stopped so I don't get a slew of >notificati

[Nagios-users] check_smtp issue

2009-06-30 Thread Dei Bertine
I have setup check_smtp in my Nagios to possibly check smtp flow. I have manually tested initiated this command and seems to be ok: nag...@servedhcp1~/libexec# ./check_smtp -H serveip1.csaa.com -w 3 -c 5 -t 100 SMTP OK - 0.003 sec. response time|time=0.002578s;3.00;5.00;0.00 Configur

Re: [Nagios-users] Problems w/ Nagios Web Interface

2009-06-30 Thread Jon Angliss
On Tue, 30 Jun 2009 09:56:13 -0500, "Leleux, Jeremy J" wrote: >Hi all, > >I have a fresh install of nagios 3.1.2 and I'm able to login into the >web interface, but once I'm authenticated I get the following error: > > 403 Forbidden - You don't have permission to access >/nagios/ on

Re: [Nagios-users] monitoring external internet connectivity

2009-06-30 Thread Mathew Walker
do you host your website internally? if not, ping that host and or do an HTTP check of it. one thing i highly recommend is using a small little VPS ($10/mo even) to do some basic monitoring. I use one personally for testing and to monitor my websites, friends websites, our email and dns s

Re: [Nagios-users] External commands and nagios.log

2009-06-30 Thread Keller, Mark D
Ah, thank you for that point. I guess I was misinterpreting the meaning of those options. I did what you said and now the logs are looking to be way smaller. I also trimmed out the passive and external command check lines from my previous logs. The history reporting is working way faster now an

Re: [Nagios-users] monitoring external internet connectivity

2009-06-30 Thread Jayson Broughton
I gotta 2nd Marc on that. We did get permission from our ISP to ping their network, as we are usually the first to know when one of our 28+ networks go down in the country :-) I too would get permission. Because if they don't know who you are, some attentive little admin at x site might see y

Re: [Nagios-users] External commands and nagios.log

2009-06-30 Thread Marc Powell
On Jun 30, 2009, at 3:17 PM, Keller, Mark D wrote: > Just looking at yesterdays logs, I have 1,491,321 lines for external > commands and about the same for passive checks. We have do about > 5300 service checks every five minutes which comes out to around > 1,500,000. So they seem to match.

Re: [Nagios-users] Getting Nagios to "go active"

2009-06-30 Thread David Krider
On Tue, 2009-06-30 at 09:00 +0200, Andreas Ericsson wrote: > Use merlin. It was designed for setting up redundant/loadbalanced systems > and will transfer your check-results between your two nagios instances > seemlessly. I had not heard of Merlin; that's very interesting, and thanks for the link.

Re: [Nagios-users] External commands and nagios.log

2009-06-30 Thread Keller, Mark D
Just looking at yesterdays logs, I have 1,491,321 lines for external commands and about the same for passive checks. We have do about 5300 service checks every five minutes which comes out to around 1,500,000. So they seem to match. Unless I am missing something. Service checks by far dominant

Re: [Nagios-users] monitoring external internet connectivity

2009-06-30 Thread Jayson Broughton
Shadhin, I had our nagios ping google.com for awhile, but if something happens to the DNS server internally then it gave a false reading saying the internet was down when it was a DNS issue. Eventually I figured I could ping my ISP's IP address instead of hostname, and that seemed to work well.

[Nagios-users] check_ldap ... Ignore the SSL cert ?

2009-06-30 Thread Jason Frisvold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a number of internal LDAP servers that I need to monitor via Nagios. They all use self-signed certs, though, and check_ldap seems to be complaining about this. How do I go about telling check_ldap to just accept the cert and move on ? Here's

[Nagios-users] Monitor Wireless Network Bandwidth Health

2009-06-30 Thread Dei Bertine
Hi, I was wondering if there's a way to monitor my wireless router via Nagios? I have Cisco 520 Series Wireless LAN Controller with 3 APs attached (AIRLAP521G). Mainly want to monitor the performance of the wireless connections and if possible send alerts if the network is slow. Any advise would

Re: [Nagios-users] monitoring external internet connectivity

2009-06-30 Thread Marc Powell
On Jun 30, 2009, at 2:43 PM, shadih rahman wrote: > All, > What is the best way to check if our network has connection to > commodity internet or not. What I am trying to achieve is to ensure > internal network has connection to Internet. One thing is to ping > google check. Is this a

[Nagios-users] monitoring external internet connectivity

2009-06-30 Thread shadih rahman
All, What is the best way to check if our network has connection to commodity internet or not. What I am trying to achieve is to ensure internal network has connection to Internet. One thing is to ping google check. Is this a good idea or can someone suggest a better way to do this. Please ad

Re: [Nagios-users] External commands and nagios.log

2009-06-30 Thread Marc Powell
On Jun 30, 2009, at 12:22 PM, Keller, Mark D wrote: > Hello, > > We have a distributed Nagios environment that is working fine. > > On the frontend I am getting about 400MB of logs a day. That's very very large... > That makes any web cgi’s that need to read the logs horribly slow. I > have n

Re: [Nagios-users] Checking URL on windows-client using NSClient++

2009-06-30 Thread Frater, Greg J
Dennis, Your almost there, you need to set your vbs script to output an exit code of 0-4 according to the nagios plug in documentation (http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT) . Then setup the nsclient to run your script as a plug in check. To do that you will n

[Nagios-users] External commands and nagios.log

2009-06-30 Thread Keller, Mark D
Hello, We have a distributed Nagios environment that is working fine. On the frontend I am getting about 400MB of logs a day. That makes any web cgi's that need to read the logs horribly slow. I have noticed that about half of the log messages are for external commands. Is there any reason to k

Re: [Nagios-users] RPM for Nagios 3.1.2 Fedora 9?

2009-06-30 Thread David Rosenstrauch
Natalie Aloi wrote: > Does anyone know of a location for rpm for Nagios 3.1.2 on fedora 9? > I located http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the > latest rpm > > thanks! Natalie If you use the rpmforge repositories and install it from there, it'll give you v3.0.6. How to confi

[Nagios-users] Problems w/ Nagios Web Interface

2009-06-30 Thread Leleux, Jeremy J
Hi all, I have a fresh install of nagios 3.1.2 and I'm able to login into the web interface, but once I'm authenticated I get the following error: 403 Forbidden - You don't have permission to access /nagios/ on this server. Here is the output from my Apache error_log:

[Nagios-users] Scheduled downtime and comments

2009-06-30 Thread Marc-André Doll
Hi all, I've noticed that when a scheduled downtime is set up, we are forced to enter some comments but those seem not to be processed and saved by Nagios since the comment shown by Nagios are always like "This service has been scheduled for fixed downtime from 05-29-2009 10:46:55 to 03-29-2010 12

[Nagios-users] Compliance: Re: Monitoring Web Sites

2009-06-30 Thread Chris Beattie
On Tue, 2009-06-30 at 10:25 +0100, cr...@hooters-uk.com wrote: > I'm looking to monitor a web site that is hosted on a > server that has multiple sites, how would I go about > monitoring multiple sites on one server? The check_http command supports arguments for the host name, the host address, an

[Nagios-users] Nagios monitoring TOIP host

2009-06-30 Thread ANGE AMBEMOU
Hello all, I want to known is for Nagios is possible to monitoring to the GW ToIP or equipement ToIP lantency, jitter. there are some pluging I search but i find nothing. thanks Ange Olivier AMBEMOU -- _

Re: [Nagios-users] change service check timeout in Nagios

2009-06-30 Thread Michael W. Lucas
On Tue, Jun 30, 2009 at 10:10:40AM -0400, Michael W. Lucas wrote: > On Mon, Jun 29, 2009 at 03:44:01PM -0500, Marc Powell wrote: > > > > On Jun 29, 2009, at 2:46 PM, Michael W. Lucas wrote: > > > > > Surely there's a built-in way to tell Nagios that either a particular > > > check can take longer

Re: [Nagios-users] check_period help?

2009-06-30 Thread Andrew Noonan
Ah, yes. That would be the danger of using a GUI, I suppose. You're absolutely correct, I clicked on the wrong one when setting these up. Confusing everyone else was just a fun side-effect. That being said, I went ahead and changed those so they match up, but I'm still seeing strange behavior.

Re: [Nagios-users] change service check timeout in Nagios

2009-06-30 Thread Michael W. Lucas
On Mon, Jun 29, 2009 at 03:44:01PM -0500, Marc Powell wrote: > > On Jun 29, 2009, at 2:46 PM, Michael W. Lucas wrote: > > > Surely there's a built-in way to tell Nagios that either a particular > > check can take longer, or increase the 10-second timeout within Nagios > > itself? The service_che

Re: [Nagios-users] check_period help?

2009-06-30 Thread Andrew Noonan
Ah... I just needed to wait a while longer... when the lateindex services triggered, it then rescheduled them for 1:00am. I did force checks on the index services and they were rescheduled correctly as well. Thanks for your help! Andrew On Tue, Jun 30, 2009 at 8:46 AM, Andrew Noonan wrote: > Ah,

Re: [Nagios-users] check_period help?

2009-06-30 Thread Andreas Ericsson
Andrew Noonan wrote: > No one has any ideas on this, or am I just not posting the right info? > > On Mon, Jun 29, 2009 at 12:19 PM, Andrew Noonan wrote: >> Hi all, >> >> I've got a service that I'm trying to monitor with different >> thresholds at different times of day. To do this, I created two

Re: [Nagios-users] Monitoring Web Sites

2009-06-30 Thread Giorgio Zarrelli
Hi, always check for a string at the end of the web page. Time by time the wweb server answers whith a 200 error code even if it dowsn't serve a valid page. Giorgio > check_http -H www.website.com > is a good way to start > > and those parameters may help more > > -s, --string=STRING > Str

Re: [Nagios-users] How to monitor Windows Scheduled Tasks?

2009-06-30 Thread Natxo Asenjo
hi, ok, but I do not have any time to support the script, it is supplied 'as is' without license or obligations on my part. I will not answer any questions about why it is not working for you (in case it does not work for you). #!perl use strict; use warnings; use diagnostics; # first run schta

Re: [Nagios-users] Checking URL on windows-client using NSClient++

2009-06-30 Thread Natxo Asenjo
hi, if you use internet explorer you could check if that process is running. You can do it in a number of ways, either with check_nt or with nrpe with a custom batch file with commands like tasklist, for instance. -- Groeten, J.Asenjo -

Re: [Nagios-users] check_period help?

2009-06-30 Thread Andrew Noonan
No one has any ideas on this, or am I just not posting the right info? On Mon, Jun 29, 2009 at 12:19 PM, Andrew Noonan wrote: > Hi all, > > I've got a service that I'm trying to monitor with different > thresholds at different times of day.  To do this, I created two > timeperiods, covering 1:00am

Re: [Nagios-users] Monitoring Web Sites

2009-06-30 Thread Assaf Flatto
check_http -H www.website.com is a good way to start and those parameters may help more -s, --string=STRING String to expect in the content -u, --url=PATH URL to GET or POST (default: /) for more option read the check_http --help Assaf On Tuesday 30 June 2009 09:25:10 cr...@hoo

[Nagios-users] Checking URL on windows-client using NSClient++

2009-06-30 Thread jvc_dvl557
Hi, I would like to check if a certain website is available on some of my windows xp clients. These clients are public self-service computers to make bookings for a railway organisation. Every now and then, some of these self-service computers show a blank screen without the default start-page.

[Nagios-users] Checking URL on windows-client using NSClient++

2009-06-30 Thread jvc_dvl557
Hi, I would like to check if a certain website is available on some of my windows xp clients. These clients are public self-service computers to make bookings for a railway organisation. Every now and then, some of these self-service computers show a blank screen without the default start-page.

[Nagios-users] Monitoring Web Sites

2009-06-30 Thread cr...@hooters-uk.com
I feel this may be a stupid question but I feel I need to ask because I can not find the answer.. I'm looking to monitor a web site that is hosted on a server that has multiple sites, how would I go about monitoring multiple sites on one server? Sorry if this is a dumb question. Craig

Re: [Nagios-users] How to monitor Windows Scheduled Tasks?

2009-06-30 Thread M. Sébastien LELIEVRE
Natxo Asenjo a écrit : > hi, > > at work I have written a very simple perl script that parses the > output of the windows command schtasks /query. I let it execute thru > nrpe in the windows servers (win2k3 std) that have scheduled jobs. > > It is a very simple script and it works for us. It requ

Re: [Nagios-users] View all unhandled services and all unhandled hosts

2009-06-30 Thread Klaus Umbach
On 24/06/09 13:30, Christoph Kluenter wrote: > Hi, > > I want to see all unhandled service problems and all unhandled host problems > on one page. > I thought, this URL would do it: > status.cgi?host=all&servicestatustypes=28&serviceprops=42&hoststatustypes=12&hostprops=42 I use status

Re: [Nagios-users] Getting Nagios to "go active"

2009-06-30 Thread Andreas Ericsson
David Krider wrote: > I've gotten a second Nagios server setup to work as a failover for a > primary server. I think I've been thorough. The secondary server is > successfully receiving and processing both passive host and passive > service checks. Notifications and both kinds of active checks are