Changing the emails alerts interval????
Jatin Davey
jashokda at cisco.com
Tue Mar 23 06:36:50 CET 2010
Notification interval is different for hosts and services. You need to
set it for both so that you get the notifications as you want. If you
want notifications for the host then modify only the host template. By
doing so you will receive host related notifications once in 4 hours (or
whatever you configured) , If you want your services to notify you every
4 hours (or whatever you configured in the notification interval) then
you must add this information in the services template for the
notification interval parameter.
Thanks
Jatin
On 3/23/2010 4:10 AM, ravishankar.gundlapali at wipro.com wrote:
>
> 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
> <mailto:ravishankar.gundlapali at wipro.com>*
> <ravishankar.gundlapali at wipro.com
> <mailto: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
> <mailto: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
>
>
> ------------------------------------------------------------------------------
> 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/00442fc3/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