[Nagios-users] Alerts, Escalation and Alert Counts

2009-08-13 Thread cr...@hooters-uk.com
Hi Group, I wonder if you could help me out with the
following scenario I would like to set up.

I will try and explain best I can but if I'm a little
vague in places please let me know, here goes then..

I'm monitoring for example an FTP service that if
goes down flags as critical, I would like to alert in
the following way.

Alert 1 after 10 minutes: -
Email, SMS.

Alert 2 after another 10 minutes: -
Email, SMS.

Alert 3 after another 10 minutes: -
Email, SMS and then Voice alert.

Then after that no alarms at all until a recovery
notice is sent, I understand the intervals between
alerts but its getting the alerts to stop after the
3rd one that I'm hitting issues with.

SMS and voice alerts are by external companies who
just convert my mail to the appropriate service.

If this can not be set-up what is the closest I can
get to achieving this, sorry for the question but I
can not seam to get my head around escalations. 

Many thanks and hope you can help me with what is
causing me grief

Craig


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Alerts, Escalation and Alert Counts

2009-08-13 Thread Stephen Bader
This should be fairly easy. As I've recently struggled with escalations, I'll 
give you some pointers. 

You may want to set the default contact group for this host/service to be a 
null address and set the notification_interval to 10. Then, setup an escalation 
for the first two notifications you need with a first_notification of 1 and a 
last_notification of 2. Also, in your escalation, set a contact group which can 
e-mail and sms. 

To get the recovery notification, setup another escalation with a 
first_notification of 3, a final_notification of 0, and an escalation_options 
of r. Set the contact group you want which sends sms, e-mail, and voice.This 
should handle the recovery for you. 

Obviously, you'll need to setup the appropriate contact groups and commands to 
dispatch the notifications. 

There may be a better option, and I haven't tested the above, but it *should* 
work. It might need a little tweaking. 

-Steve 

- Original Message - 
From: cr...@hooters-uk.com 
To: nagios-users@lists.sourceforge.net 
Sent: Thursday, August 13, 2009 9:16:10 AM GMT -06:00 US/Canada Central 
Subject: [Nagios-users] Alerts, Escalation and Alert Counts 

Hi Group, I wonder if you could help me out with the 
following scenario I would like to set up. 

I will try and explain best I can but if I'm a little 
vague in places please let me know, here goes then.. 

I'm monitoring for example an FTP service that if 
goes down flags as critical, I would like to alert in 
the following way. 

Alert 1 after 10 minutes: - 
Email, SMS. 

Alert 2 after another 10 minutes: - 
Email, SMS. 

Alert 3 after another 10 minutes: - 
Email, SMS and then Voice alert. 

Then after that no alarms at all until a recovery 
notice is sent, I understand the intervals between 
alerts but its getting the alerts to stop after the 
3rd one that I'm hitting issues with. 

SMS and voice alerts are by external companies who 
just convert my mail to the appropriate service. 

If this can not be set-up what is the closest I can 
get to achieving this, sorry for the question but I 
can not seam to get my head around escalations. 

Many thanks and hope you can help me with what is 
causing me grief 

Craig 


-- 
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now. http://p.sf.net/sfu/bobj-july 
___ 
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 
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Alerts, Escalation and Alert Counts

2009-08-13 Thread cr...@hooters-uk.com
Fantastic Steve, this has given me a massive
understand of how escalations work, many thanks.



--- Original Message ---
From: Stephen Bader[mailto:sba...@comcast.net]
Sent: 13/08/2009 16:43:09
To  : cr...@hooters-uk.com
Cc  : nagios-users@lists.sourceforge.net
Subject : RE: Re: [Nagios-users] Alerts, Escalation
and Alert Counts

 This should be fairly easy. As I've recently
struggled with escalations, I'll give you some pointers. 

You may want to set the default contact group for
this host/service to be a null address and set the
notification_interval to 10. Then, setup an
escalation for the first two notifications you need
with a first_notification of 1 and a
last_notification of 2. Also, in your escalation, set
a contact group which can e-mail and sms.

To get the recovery notification, setup another
escalation with a first_notification of 3, a
final_notification of 0, and an escalation_options of
r. Set the contact group you want which sends sms,
e-mail, and voice.This should handle the recovery for
you.

Obviously, you'll need to setup the appropriate
contact groups and commands to dispatch the
notifications. 

There may be a better option, and I haven't tested
the above, but it *should* work. It might need a
little tweaking.

-Steve

- Original Message -
From: cr...@hooters-uk.com
To: nagios-users@lists.sourceforge.net
Sent: Thursday, August 13, 2009 9:16:10 AM GMT -06:00
US/Canada Central
Subject: [Nagios-users] Alerts, Escalation and Alert
Counts

Hi Group, I wonder if you could help me out with the
following scenario I would like to set up.

I will try and explain best I can but if I'm a little
vague in places please let me know, here goes then..

I'm monitoring for example an FTP service that if
goes down flags as critical, I would like to alert in
the following way.

Alert 1 after 10 minutes: -
Email, SMS.

Alert 2 after another 10 minutes: -
Email, SMS.

Alert 3 after another 10 minutes: -
Email, SMS and then Voice alert.

Then after that no alarms at all until a recovery
notice is sent, I understand the intervals between
alerts but its getting the alerts to stop after the
3rd one that I'm hitting issues with.

SMS and voice alerts are by external companies who
just convert my mail to the appropriate service.

If this can not be set-up what is the closest I can
get to achieving this, sorry for the question but I
can not seam to get my head around escalations. 

Many thanks and hope you can help me with what is
causing me grief

Craig


--
Let Crystal Reports handle the reporting - Free
Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and
deployment - and focus on 
what you do best, core application coding. Discover
what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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