Re: [Nagios-users] Alert Precedence

2013-04-25 Thread Net Warrior
Hi
I reviewed my alerts and increased the service check interval as this:

this is the service

notifications_enabled   1
notification_optionsw,c
notification_period 24x7
check_period24x7
check_interval  10
max_check_attempts  3
first_notification_delay0
notification_interval   15

This is the host:

check_interval  1
check_period24x7
notification_period 24x7
max_check_attempts  3
notification_interval   10
flap_detection_enabled  0
first_notification_delay0


So, the host is checked every one minute and on the third failure the alert
gets fired, for the service I increased it to check every 10 minutes, so in
theory the hosts check happens firts withing 3 minutes, as the service is
checked every 10 I should not get any alert on them, but I still get the
service notifications after the hosts is down.

Any help appreciated.
Thanks for your time and support.


2013/4/8 Claudio Kuenzler c...@claudiokuenzler.com

 This is a basic dependency in Nagios. When the host is down (hard) then
 you won't receive any alerts for the services defined in this host.
 What is likely in your case, is that you have scheduled the service checks
 more often or faster to alert before the host check. This will result in
 some alerts of services before the actual host down alert comes.
 You should check out the event log to determine which checks happened
 faster to become a hard critical state.


 On Mon, Apr 8, 2013 at 5:43 PM, Net Warrior netwarrior...@gmail.comwrote:

 Hi guys.

 I've got a doubt regarding the alerts definitions, I have defined several
 alerts for a host, for example one of them is to check if the host is up or
 down, when the host is down I get the alert as usual ans so on, but the
 other alerts get fired as well, service alerts, my question is, if is there
 a way to tell nagios,  if the server is down, do  not tigger the other
 alerts cuz of course are gonna fail?

 Thanks for your time and support
 Best Regards


 --
 Minimize network downtime and maximize team effectiveness.
 Reduce network management and security costs.Learn how to hire
 the most talented Cisco Certified professionals. Visit the
 Employer Resources Portal
 http://www.cisco.com/web/learning/employer_resources/index.html
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




 --
 Minimize network downtime and maximize team effectiveness.
 Reduce network management and security costs.Learn how to hire
 the most talented Cisco Certified professionals. Visit the
 Employer Resources Portal
 http://www.cisco.com/web/learning/employer_resources/index.html
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Configuration changes not taking effect after restart of Nagios

2013-04-25 Thread Andreas Ericsson
On 04/24/2013 12:38 PM, Deborah Martin wrote:
 Hi,

 I'm using Nagios 3.4.4 on SLES 11 SP2. This has been running for
 around two months.

 Recently I needed to change the configuration for a service
 escalation to remove a contact group that would get sms alerts. I
 restarted Nagios and everything ran fine.

 However, it's been reported that recently, the team that shouldn't be
 getting the sms alerts are still getting them. When I look at the
 Configuration for service escalations, I can now see two entries for
 the same escalation, one which is the new , with the sms contact
 group removed and one with the old config which has the sms contact
 group included. But when I look at the actual .cfg file for the
 service escalation definition, there is not mention of the sms group
 anymore. I've checked, and re-checked and still I can't see why this
 has happened.


There are three separate sensible explanations for that.

You have, at some time in the past, created an objects.precache file and
Nagios is restarted with being asked to use the precached file.

Something regenerates the configuration behind your back, overwriting
your changes.

A separate Nagios process is running, triggering alerts for the faulty
team while the restarted Nagios ticks on just fine.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null