changing behavior of check times etc
Matej
weselkorula at gmail.com
Fri Jul 24 09:33:02 CEST 2009
Im new to Nagios. But I might be able to help you out. Its best you change
these values in the service template, witch is defined in templates.cfg in
the sample configuration.
There you need to look for these parameters,
check_interval 2 ; This one is in minutes. just
set it to 30, for your case.
retry_interval 1 ; This defines the check
time for the checks after the first negative. (minutes :)
max_check_attempts 3 ; And this is your notification
limit. After 3 the check will go to a hard state and you recieve a
notification.
notification_interval 0 ; This defines if the
notifications should be resent. 0 means no resends.
service_notification_options w,u,c,r,f,s ; This will be useful to you
to.. It defines what kind of messages you recieve. Check what those letters
mean, so you find the right on for you. I recieve only warning and recovery.
Hope this helps out.
later
Matej
On Fri, Jul 24, 2009 at 7:25 AM, Thomas Kinghorn - MWEB
<TKinghorn at mweb.com>wrote:
> Good morning List
>
> Apologies for posting such a dumb question but I cannot seem to find a
> definitve answer:
>
> I am monitoring sip connections from a session border controller to our
> various providers.
>
> The normal check times are too short and causing us to receive an excessive
> amounts of “critical” alerts.
>
> I would like to change the following but am unsure as to wether or not the
> times are seconds or minutes.
>
>
> - The time between checks should be 30 minutes
> - State should change to critical after the 3rd failed check
> - Notifications should be only sent after the 3rd failed check (as
> above)
> -
>
> Apologies once again but I am a newbie to nagios.
>
> Many thanks.
>
> Tom
>
>
> This electronic communication and the attached file(s) are subject to a
> disclaimer which can be accessed on the following link: Disclaimer<http://www.mweb.co.za/disclaimer>- or copy the following URL into your browser -
> http://www.mweb.co.za/disclaimer. If you are unable to view the
> disclaimer, please contact abuse at mweb.com for a copy
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> 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
>
--
lp
Matej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090724/0aa8eb5b/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- 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