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 h
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, an
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 wrote:
> On 12/14/2012 05:13 AM, Mark
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
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 o
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 wrote:
>
> On 12/13/2012 12:38 PM, Mark Keisler wrote:
>
> I understand that nagios dynamically adjusts service chec
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 an
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 Th
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 o
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
Julian Grunnell | Unix Analyst, Infrastructure | TD Direct Investing
T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527
Andreas Ericsson
16/03/2012 10:14
Please respond to
Nagios Users List
To
Nagios Users List
cc
julian_grunn...@tdwh.co.uk
Subject
Re: [Nagios-users] service checks could
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
Please respond to
Nagios Users List
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
use
T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527
Brandon Phelps
11/11/2011 16:03
Please respond to
Nagios Users List
To
nagios-users@lists.sourceforge.net
cc
Subject
Re: [Nagios-users] service checks could not be rescheduled properly.
Check out this bug report on the nagios.org bug tr
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 tim
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 properly
uesday, 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 wi
# 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
> Yue
do you enable retention?
On Tue, Jul 26, 2011 at 8:33 PM, Jindrich Nemec 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 check that runs
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 r
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
2009/2/20 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?
See http://nagios.sourceforge.net/docs/3_0/tuning.html
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 - alexdeha...@gmail
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 cen
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 mo
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
I stopped nagios
I deleted /var/log/nagios/*
I started nagios
output from
> -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
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
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
-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 wh
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 serv
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 their
I am running nagios 3.0rc1 on solaris. I have several services being
monitored on 2 hosts. I have a regular outage on a service group that I have
configured by specifying the timeperiod
define timeperiod{
timeperiod_name myapp-prod-uptime
alias MyApp Produc
> -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 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 r
and then please
> delete it. Thank you.
>
> -Original Message-
> From: [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
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
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 redundancy
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 ju
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
ch
If you had read the docs like I said, I can't see how you could miss the
fact that you have a service definition without a host_name or
hostgroup_name!
Where is this service check going to run against if you haven't told it
which host you want to test?
I even gave you the anchored link to the
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 the first, if it fails, call
the secon
also, you are making it more trouble than it needs to be, instead of
trying to do register 0 and making the last block a template block, just
put the host name in there and the service description as I hinted and
that is all you need, you will then have the first 2 blocks plus one for
each serv
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
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
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 11/2/
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
Ha
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
na
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
> se
TED]>
To: "Nagios Users mailinglist"
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 t
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
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:
Sent: Saturday, February 24, 2007 3:07 PM
Subject: Re: [Nagios-users] Servic
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 Fe
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
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 want to check with ping.
But is it also
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.
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
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 you
> 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
[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 to have both, so if anyone has
any good ideas on this then please
> -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 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
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 actua
> I need that Nagios checks the service status and sends
> service notifications even if the host status is DOWN. Is it
> possible? Does Nagios already do that?
No. If you need this, you probably don't want a host check.
-
Hi
I need that Nagios checks the service status and sends service notifications
even if the host status is DOWN. Is it possible? Does Nagios already do that?
Thank you very much in advance.
--
GPG Key ID: 0x54F0EC40 - Available on: http://pgp.mit.edu
FPrint: BE76 A8B3 D5DF 6A50 63DC 3AA5 89C1 D0
> 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 be
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 wit
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 us
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 de
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 ser
70 matches
Mail list logo