[Nagios-users] Service checks for redundant hosts

2013-07-30 Thread Ben Prew
Hey, I'm looking for some suggestions for implementing a service check on a redundant host pair that access a shared resource. Here's our setup: We have N hosts that process (via delayed_job) a shared job queue (mysql/redis). We have several checks that are host-specific (# of workers on that

Re: [Nagios-users] service checks running too often

2012-12-14 Thread Andreas Ericsson
On 12/14/2012 05:13 AM, Mark Keisler wrote: I think I found the issue. If I happen to send a reload (HUP) to nagios while a service check is in progress (fairly easy since my service check is rather long lived), the reloaded nagios doesn't seem to know about that service check and so I'll end

Re: [Nagios-users] service checks running too often

2012-12-14 Thread Mark Keisler
What you propose sounds acceptable. In the meantime I need to be careful about reloading nagios :). Once I get it in that state, I have to disable use_retained_scheduling_info and then do a full restart. On Fri, Dec 14, 2012 at 3:41 AM, Andreas Ericsson a...@op5.se wrote: On 12/14/2012

Re: [Nagios-users] service checks running too often

2012-12-14 Thread Andreas Ericsson
On 12/14/2012 04:19 PM, Mark Keisler wrote: What you propose sounds acceptable. In the meantime I need to be careful about reloading nagios :). Once I get it in that state, I have to disable use_retained_scheduling_info and then do a full restart. I've actually checked Nagios 4 now, and

[Nagios-users] service checks running too often

2012-12-13 Thread Mark Keisler
I'm running Nagios 3.4.1 on RHEL6. I have an issue where I have a poller (service check) that is running too often and I am not sure why. I have service_check_timeout=180 because I had trouble with the poller running long. Relevant settings for the service check: check_period

Re: [Nagios-users] service checks running too often

2012-12-13 Thread Mike Guthrie
Although some of those start times do seem close together, it's important to know that the check_interval in Nagios is not necessarily a hard number. Nagios is continually adjusting and recalculating the check schedule, so if you need a check to run on a hard 5mn schedule, you might be better

Re: [Nagios-users] service checks running too often

2012-12-13 Thread Mark Keisler
I understand that nagios dynamically adjusts service check times, but the puzzling thing is that there is a check that runs every 5 minutes but then an extra or two in between. And yes, the web interface shows the next service check as 5 mins out and yet another runs before that time hits. On

Re: [Nagios-users] service checks running too often

2012-12-13 Thread Mike Guthrie
On 12/13/2012 12:38 PM, Mark Keisler wrote: I understand that nagios dynamically adjusts service check times, but the puzzling thing is that there is a check that runs every 5 minutes but then an extra or two in between. And yes, the web interface shows the next service check as 5 mins out

Re: [Nagios-users] service checks running too often

2012-12-13 Thread Mark Keisler
There isn't a second nagios instance. While I was watching the pollers spawn, they all led back to the same master nagios instance. On Thu, Dec 13, 2012 at 2:37 PM, Mike Guthrie mguth...@nagios.com wrote: On 12/13/2012 12:38 PM, Mark Keisler wrote: I understand that nagios dynamically

Re: [Nagios-users] service checks running too often

2012-12-13 Thread Mark Keisler
I think I found the issue. If I happen to send a reload (HUP) to nagios while a service check is in progress (fairly easy since my service check is rather long lived), the reloaded nagios doesn't seem to know about that service check and so I'll end up with another being scheduled as well as the

Re: [Nagios-users] service checks could not be rescheduled properly.

2012-03-19 Thread Julian_Grunnell
cc julian_grunn...@tdwh.co.uk Subject Re: [Nagios-users] service checks could not be rescheduled properly. On 03/15/2012 11:31 AM, julian_grunn...@tdwh.co.uk wrote: Anyone ... thought I'd go back to this. Does anyone have any ideas why I would get the following in the Nagios logs: nagios

Re: [Nagios-users] service checks could not be rescheduled properly.

2012-03-16 Thread Andreas Ericsson
On 03/15/2012 11:31 AM, julian_grunn...@tdwh.co.uk wrote: Anyone ... thought I'd go back to this. Does anyone have any ideas why I would get the following in the Nagios logs: nagios-03-10-2012-00.log:[1331336760] Warning: Check of service 'DEAL SERVER SERVICE TCP 4099' on host 'TDUKUBS01'

Re: [Nagios-users] service checks could not be rescheduled properly.

2012-03-15 Thread Julian_Grunnell
To nagios-users@lists.sourceforge.net cc Subject Re: [Nagios-users] service checks could not be rescheduled properly. Hi - thanks, should have said this is one of the first posts I read. Lots of mentions of NTPD and it should be fixed / still doesn't work. And in my case whether I enable

Re: [Nagios-users] service checks could not be rescheduled properly.

2011-11-14 Thread Julian_Grunnell
: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527 Brandon Phelps bphe...@gls.com 11/11/2011 16:03 Please respond to Nagios Users List nagios-users@lists.sourceforge.net To nagios-users@lists.sourceforge.net cc Subject Re: [Nagios-users] service checks could not be rescheduled properly. Check

[Nagios-users] service checks could not be rescheduled properly.

2011-11-11 Thread Julian_Grunnell
Hi - does anyone know the answer to the following errors I'm getting in the nagios.log for a handful of hosts that have a specific timeperiod for checks set. [Wed Nov 9 23:46:00 2011] Warning: Check of service 'DEAL SERVER SERVICE TCP 4099' on host 'TDUKUBS02' could not be rescheduled

Re: [Nagios-users] service checks could not be rescheduled properly.

2011-11-11 Thread Brandon Phelps
Check out this bug report on the nagios.org bug tracker: http://tracker.nagios.org/view.php?id=31 On 11/11/2011 10:39 AM, julian_grunn...@tdwh.co.uk wrote: Hi - does anyone know the answer to the following errors I'm getting in the nagios.log for a handful of hosts that have a specific

[Nagios-users] Service Checks scheduled to next year. Service State Information mangled?

2011-07-26 Thread Jindrich Nemec
Hi all, I'm running Nagios Core Version 3.2.3 on CentOS 5.5. rpm install (RPMforge repo). The problem: some service checks wont execute, they are scheduled to next year...?! I'm running also Version 3.2.1 of Nagios Core installations and I've not encourtered this problem. I've the same

Re: [Nagios-users] Service Checks scheduled to next year. Service State Information mangled?

2011-07-26 Thread Jindrich Nemec
I've found a similar thread, linked below. It seems the problem it is still unsolved. - http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg24816.html For example a check that runs today will have a next scheduled check date of 05/03/2010 instead of 05/03/2009. There is no

Re: [Nagios-users] Service Checks scheduled to next year. Service State Information mangled?

2011-07-26 Thread Yueh-Hung Liu
do you enable retention? On Tue, Jul 26, 2011 at 8:33 PM, Jindrich Nemec jindrich.ne...@fsit.cz wrote: I've found a similar thread, linked below. It seems the problem it is still unsolved. - http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg24816.html For example a

Re: [Nagios-users] Service Checks scheduled to next year. Service State Information mangled?

2011-07-26 Thread Jindrich Nemec
# grep -r retain_state_information * nagios.cfg:retain_state_information=1 if i got it... if the retain_state_information will be set to 0 then nagios process will not keep the states and reschedule checks on restart, but i've to schedule nagios service restarts every several hours then

Re: [Nagios-users] Service Checks scheduled to next year. Service State Information mangled?

2011-07-26 Thread Jindrich Nemec
: Tuesday, July 26, 2011 6:50:18 PM Subject: Re: [Nagios-users] Service Checks scheduled to next year. Service State Information mangled? # grep -r retain_state_information * nagios.cfg:retain_state_information=1 if i got it... if the retain_state_information will be set to 0 then nagios process

Re: [Nagios-users] Service Checks

2009-02-23 Thread Jim Avery
2009/2/20 Alex Dehaini alexdeha...@gmail.com: Hi Guys, I have about 200 hosts and 400 services. My sys spec is about P4 2.4 Ghz and 2Gb of RAM. I want to check each service every 20 seconds and update the CGI interface. Any clues how I can achieve this? See

[Nagios-users] Service Checks

2009-02-20 Thread Alex Dehaini
Hi Guys, I have about 200 hosts and 400 services. My sys spec is about P4 2.4 Ghz and 2Gb of RAM. I want to check each service every 20 seconds and update the CGI interface. Any clues how I can achieve this? Regards, -- Alex Dehaini Developer Site - www.alexdehaini.com Email -

[Nagios-users] Service Checks while Host down

2008-05-21 Thread Axel Schmalowsky
Hi list, is there a way to temporarily disable service checks on hosts while they're down? That's is, how can I configure nagios to not conducting service checks for any hosts it recognizes in a DOWN-state? I'm running nagios in a distributed environment with 15 distributed servers and one

[Nagios-users] Service checks scheduled far in future

2008-02-17 Thread Dale J. Chatham
Service checks scheduled I stopped nagios I deleted /var/log/nagios/* I started nagios output from date command: Sun Feb 17 09:46:30 CST 2008 From nagios service detail page: Service check scheduled for Mon Feb 18 07:00:00 CST 2008 If I force the check, it will run OK, but the next check will

Re: [Nagios-users] Service checks scheduled far in future

2008-02-17 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Dale J. Chatham Sent: Sunday, February 17, 2008 9:49 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Service checks scheduled far in future Service checks scheduled

Re: [Nagios-users] Service checks scheduled far in future

2008-02-17 Thread Dale J. Chatham
: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED]] On Behalf Of Dale J. Chatham Sent: Sunday, February 17, 2008 9:49 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Service checks scheduled far in future Service checks

Re: [Nagios-users] Service checks scheduled far in future

2008-02-17 Thread Marc Powell
On Feb 17, 2008, at 11:33 AM, Dale J. Chatham wrote: The output of the command is below. I included the objects.cache file. As I understand it, this is created at run time from what nagios reads from the config files and saves. Therefore, if I left something out, it should be more

Re: [Nagios-users] Service checks on hosts which are not up 24x7

2008-01-26 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick Morris wrote: | On Sat, 26 Jan 2008, Jan Kohnert wrote: | | Hello all, | | I'm monitoring my small private net using nagios and it works well. But I have | a (hopefully simply to answer) question: | | Some of the hosts are workstations which

Re: [Nagios-users] Service checks on hosts which are not up 24x7

2008-01-26 Thread Jan Kohnert
Hugo van der Kooij schrieb: If you setup dependencies correctly you should get close to the requested results. Say you ping them every minute and make sure that the ping service goes into hard state at the third failure it will just fail that service. Make all other service dependent on that

[Nagios-users] Service checks on hosts which are not up 24x7

2008-01-25 Thread Jan Kohnert
Hello all, I'm monitoring my small private net using nagios and it works well. But I have a (hopefully simply to answer) question: Some of the hosts are workstations which may go down at some time due to energy saving reasons. I want the services, which I monitor on those hosts to change

Re: [Nagios-users] Service checks on hosts which are not up 24x7

2008-01-25 Thread Patrick Morris
On Sat, 26 Jan 2008, Jan Kohnert wrote: Hello all, I'm monitoring my small private net using nagios and it works well. But I have a (hopefully simply to answer) question: Some of the hosts are workstations which may go down at some time due to energy saving reasons. I want the services,

[Nagios-users] Service checks stop when using epn

2008-01-17 Thread Yost, Karl
My current nagios installation has outgrown it's current server, so I built a new server from scratch and due to the number of perl plugins I am using thought it would be in my best interested to embed perl when I compiled my binary. The compile and install went fine, I fired nagios up and it was

Re: [Nagios-users] Service checks stop when using epn

2008-01-17 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Yost, Karl Sent: Thursday, January 17, 2008 8:29 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Service checks stop when using epn My current nagios installation

Re: [Nagios-users] Service checks

2007-11-05 Thread Hari Sekhon
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hari Sekhon Sent: Friday, November 02, 2007 11:01 AM To: Jerad Riggin Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Service checks I've just tried this, using the standard check_http plugin you are using

Re: [Nagios-users] Service checks

2007-11-02 Thread Hari Sekhon
yes you have to use a separate one for each site, how else would you be able to use a separate check? Unless you expect the word Home on each site and that is your string check. Another option is using Macros but I suspect this may not do what you want... -h Hari Sekhon Jerad Riggin wrote:

Re: [Nagios-users] Service checks

2007-11-02 Thread Jerad Riggin
In that case, is there a way to specify more than one possible string, so that for example if it can't find Home, but it can find Checkout, it considers the host up? On 11/2/07, Hari Sekhon [EMAIL PROTECTED] wrote: yes you have to use a separate one for each site, how else would you be able

Re: [Nagios-users] Service checks

2007-11-02 Thread Jerad Riggin
I've read the help docs, like I said I have a working installation checking about 15 servers. I have a PING service that pings a host group. I can't do that with this because I'm checking a different string on each site, so i'm guessing it has to be separated out. Does this make sense? On

Re: [Nagios-users] Service checks

2007-11-02 Thread Hari Sekhon
You need to reread the docs, this is the most basic of questions. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service Hint: You are missing a service_description in the last block for one. You should not have name in that last block either, you need host_name. Read docs pls. -h

[Nagios-users] Service checks

2007-11-02 Thread Jerad Riggin
I have a functioning nagios setup but I have a quick question. I am going through and adding website string checks so we can keep track of availability on one of our webservers. So in services.cfg I have define service{ namegeneric-service ; Generic service

Re: [Nagios-users] Service checks

2007-11-02 Thread Jerad Riggin
I think we're losing something in translation of me trying to tell you what i'm doing. Here is what i've been doing. define service{ use basic-service namecheck-site4 notification_optionsw,u,c,r

Re: [Nagios-users] Service checks

2007-11-02 Thread Hari Sekhon
Yes I know what you've been doing, double or triple templating, and what I am saying is that you do not need to template for every service. Only template the common bits and put the unique bits in the service definition block with the hostname. You will need less blocks and have less

Re: [Nagios-users] Service checks

2007-11-02 Thread Jerad Riggin
I wish I could, but I'm not a programmer and have limited experience with Linux. I usually just manage Windows servers. Thanks for your help though. I condensed the string check into one instead of double/triple templating. Thanks. On 11/2/07, Hari Sekhon [EMAIL PROTECTED] wrote: I've just

Re: [Nagios-users] Service checks

2007-11-02 Thread Jeff Chapin
Subject: Re: [Nagios-users] Service checks I've just tried this, using the standard check_http plugin you are using. It appears not. As soon as one string is not found it goes critical. You could always write a custom plugin to test your websites, or much more easily a shell wrapper plugin to call

Re: [Nagios-users] Service checks in hosts.cfg?

2007-02-24 Thread Hugo van der Kooij
On Sat, 24 Feb 2007, chiel wrote: I have been working with Nagios for a couple of days now and I'm just beginning to understand the principle of the config (.cfg) files. I understand that you create a service (let say Ping) and put all your hosts (or hostgroups) in there that you want to

Re: [Nagios-users] Service checks in hosts.cfg?

2007-02-24 Thread MANUEL CANSECO GARCIA
Mensaje Automatico *** Este usuario no se encuentra operativo, para cualquier asunto le ruego se pongan en contacto con Leandro Gayango [EMAIL PROTECTED] *** nagios-users 02/24/07 15:06 On Sat, 24 Feb

Re: [Nagios-users] Service checks in hosts.cfg?

2007-02-24 Thread chiel
Hi Hugo, Thank you for your comments. I understand this way. But what I'm trying to say is that - Original Message - From: MANUEL CANSECO GARCIA [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net Sent: Saturday, February 24, 2007 3:07 PM Subject: Re: [Nagios-users] Service

Re: [Nagios-users] Service checks in hosts.cfg?

2007-02-24 Thread Thomas Guyot-Sionnest
On 24/02/07 08:21 AM, chiel wrote: Hello, I have been working with Nagios for a couple of days now and I'm just beginning to understand the principle of the config (.cfg) files. I understand that you create a service (let say Ping) and put all your hosts (or hostgroups) in there that you

Re: [Nagios-users] Service checks in hosts.cfg?

2007-02-24 Thread chiel
mailinglist nagios-users@lists.sourceforge.net Sent: Saturday, February 24, 2007 3:06 PM Subject: Re: [Nagios-users] Service checks in hosts.cfg? On Sat, 24 Feb 2007, chiel wrote: I have been working with Nagios for a couple of days now and I'm just beginning to understand the principle of the config

Re: [Nagios-users] Service checks in hosts.cfg?

2007-02-24 Thread Hugo van der Kooij
On Sat, 24 Feb 2007, chiel wrote: Thank you for your comments. I understand this way nagios must be configured. define service{ use mydyndns-template host_name ns2.mydyndns.org,ns3.mydyndns.org,ns4.mydyndns.org,ns5.mydyndns.org

Re: [Nagios-users] Service checks when host is down

2006-10-16 Thread Andreas Ericsson
Az wrote: Hari Sekhon wrote: Indeed, that would be ok too, since then you can disable the host check and rely entirely on service checks so you get all the service checks. Almost as good. Of course it won't say host down, but it will say ping failed so you can tell from that. Another

Re: [Nagios-users] Service checks when host is down

2006-10-13 Thread Hari Sekhon
good question, it's sometimes more important to know what services are down, since you may not remember what that hostname actually does (or it could have loads of services on it that you may not be able to remember everything that isn't working). I would also like to consider doing this

Re: [Nagios-users] Service checks when host is down

2006-10-13 Thread Hari Sekhon
I agree that it is a very good to have both, so if anyone has any good ideas on this then please send them this way -h Hari Sekhon vex wrote: On 10/13/06, Hari Sekhon [EMAIL PROTECTED] wrote: good question, it's sometimes more important to know what services are down, since you may

Re: [Nagios-users] Service checks when host is down

2006-10-13 Thread Morris, Patrick
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hari Sekhon Sent: Friday, October 13, 2006 8:36 AM To: vex Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Service checks when host is down I agree that it is a very good

Re: [Nagios-users] Service checks when host is down

2006-10-13 Thread Hari Sekhon
PROTECTED]] On Behalf Of Hari Sekhon Sent: Friday, October 13, 2006 8:36 AM To: vex Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Service checks when host is down I agree that it is a very good to have both, so if anyone has any good ideas on this then please send them

Re: [Nagios-users] Service checks when host is down

2006-10-13 Thread Morris, Patrick
well, think about it, if you have service down alerts you may think that the service is broken or crashed or switched off. If you see both service and host alerts then you know which services are broken and you can also immediately see that it is due to the machine being down, so you

Re: [Nagios-users] Service checks when host is down

2006-10-13 Thread Hari Sekhon
Indeed, that would be ok too, since then you can disable the host check and rely entirely on service checks so you get all the service checks. Almost as good. Of course it won't say host down, but it will say ping failed so you can tell from that. Another down side is that it will pollute

Re: [Nagios-users] Service checks when host is down

2006-10-13 Thread Az
Hari Sekhon wrote: Indeed, that would be ok too, since then you can disable the host check and rely entirely on service checks so you get all the service checks. Almost as good. Of course it won't say host down, but it will say ping failed so you can tell from that. Another down side

[Nagios-users] Service Checks in Distributed mode

2006-08-21 Thread Ian Marks
I have 2 nagios 2.5 servers running; both are doing active checks, but one acts as the central server and receives passive checks from the other. I have it set up this way so our analysts will only have to monitor one server. I am seeing major delays with service checks on the central

Re: [Nagios-users] Service Checks in Distributed mode

2006-08-21 Thread Demetri Mouratis
On Mon, 21 Aug 2006, Ian Marks wrote: I have 2 nagios 2.5 servers running; both are doing active checks, but one acts as the central server and receives passive checks from the other. I have it set up this way so our analysts will only have to monitor one server. I am seeing major delays

Re: [Nagios-users] Service Checks in Distributed mode

2006-08-21 Thread Ian Marks
My 2 current nagios servers are running on Dell 1750's. Each has a 2.4GHz Xeon Processor and 2 Gigs of Ram. What type of specs would be needed if I were to add a central server that only deals with passive checks? I am pretty sure I could come up with a smaller server; would it be better to

Re: [Nagios-users] Service Checks in Distributed mode

2006-08-21 Thread Demetri Mouratis
On Mon, 21 Aug 2006, Ian Marks wrote: My 2 current nagios servers are running on Dell 1750's. Each has a 2.4GHz Xeon Processor and 2 Gigs of Ram. What type of specs would be needed if I were to add a central server that only deals with passive checks? I am pretty sure I could come up with a

Re: [Nagios-users] Service Checks in Distributed mode

2006-08-21 Thread Steve Shipway
My 2 current nagios servers are running on Dell 1750's. Each has a 2.4GHz Xeon Processor and 2 Gigs of Ram. What type of specs would be needed if I were to add a central server that only deals with passive checks? I am pretty sure I could come up with a smaller server; would it be better