Changing the emails alerts interval????

ravishankar.gundlapali at wipro.com ravishankar.gundlapali at wipro.com
Mon Mar 22 23:40:09 CET 2010


Hi,

 

If I change the time in service definition will this get affected to all
the devices in Nagios?

 

Please let me know if I want to change for a particular host group??

 

Thanks & Regards,

Ravi G

 

From: Jorge Gil [mailto:georgyboy at gmail.com] 
Sent: Tuesday, March 23, 2010 4:06 AM
To: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES)
Subject: Re: [Nagios-users] Changing the emails alerts interval????

 

Hi,

just a quick idea.. did you try to set that time on the service
definition? till tomorrow in the office i can't have a look at my cfg
files..

jorge

On 3/22/10, ravishankar.gundlapali at wipro.com
<ravishankar.gundlapali at wipro.com> wrote:

Hi,

 

I am using Nagios 3.2.4 with Nagios plugins 1.4.14 on Linux with Fedora

10.1.

 

I want nagios to send the notification email every 4 hours.

 

Currently it is sending the emails every 30 minutes.

 

I tried to edit the Templates.cfg file by changing notification_interval
to 240.But still I am receiving the emails every 30 minutes.

 

 

 

define host{

        name                    stw_app_server  ; The name of this host
template

#        use                     generic-host    ; Inherit default
values from the generic-host template

        check_period            24x7            ; By default, Windows
servers are monitored round the clock

        check_interval          5               ; Actively check the
server every 5 minutes

        retry_interval          1               ; Schedule host check
retries at 1 minute intervals

        max_check_attempts      2              ; Check each server 10
times (max)

        check_command           check-host-alive        ; Default
command to check if servers are "alive"

        notification_period     24x7            ; Send notification out
at any time - day or night

        notification_interval   240              ; Resend notifications
every 30 minutes

        notification_options    d,r             ; Only send
notifications for specific host states

#        contact_groups          stw_app_server         ; Notifications
get sent to the admins by default

        hostgroups              stw_app_server ; Host groups that
Windows servers should be a member of

        register                0               ; DONT REGISTER THIS -
ITS JUST A TEMPLATE

        }

 

Please someone help me to resolve this.

 

Thanks a lot in advance.

 

 

 

Thanks & Regards,

Ravi G


------------------------------------------------------------------------
------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100323/60dcbbee/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list