Mail response time
scott_yem at agilent.com
scott_yem at agilent.com
Tue Dec 7 18:30:53 CET 2004
The way you have stated the issue, you have the configuration setup to
check 3 times before notification with retry interval of 1 minute. That
would equate to at minimum 2 minutes before notification. As Jan has
mentioned, your mail system may be slow, but you can check the
notification time in your nagios logs. If you need this to notify after
1 minute, you will have to set this up to max_check_attempts=2.
As for the notification_interval, I have several set to shorter times,
like 60 minutes and all are working well. I have even tested this with
as little as 2 minutes and all still works. Sometimes notification
takes some time, depending on the load of the system doing the
notification. All timing is pretty consistent for the most part. Your
problem may be related to the message of duplicate content as I have
seen in the past with other systems. You can put the $DATETIME$ macro
into the script that is essentially putting a serial number into the
message. It also tells you how long the message takes to deliver. This
may actually be a test for your earlier question.
I have been using Nagios for about 2 months now and all this information
is in the manual. Take some time and go through it. I have had to read
it several times and each time get some more information. Don't assume
that the information is all in one place though. I have found several
topics that are in 3 to 4 places in the manual with different
information, some are more complete than others.
Scott Yem
Research Computing Services
Agilent Laboratories
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jamie
Roughan
Sent: Monday, December 06, 2004 10:44 PM
To: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Mail response time
Jan said,
...RTFM?
And then repetitively ...read the fu**** manual
Jan, thankyou for the intelligent reply. Very helpful.
As you may imagine, I have already read the documentation, several
times.
The parameteres in services.cfg that you referenced
max_check_attempts
normal_check_interval
retry_check_interval
notification_interval
Seem not to decrease the 5 min wait for an email notification.
Currently my max normal & retry are set to 3,5,& 1; although I have
tested
other settings with results that differ minimally. The notification
interval
is set at 120 on some services & 100 on others, less than 3 digits Seems
to
cause errors. Differences between 120 & 100 are not noticeable; thus my
inquiry. Kindly share your settings, and take some deep breathes. ; /
Go nagios!
-----Original Message-----
From: Jan Scholten [mailto:Jan.Scholten at iconz.net]
Sent: Tuesday, December 07, 2004 10:34 AM
To: jamie.roughan at mizuho-sc.com
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Mail response time
Jamie Roughan schrieb:
> Currently it takes about 5 minutes to receive mail notificatin from
> nagios. I would like to receive mail after 1 minute .
>
> Is the parameter for accomplishing this located in the main nagios.cfg
> ? Is it the command_check_interval ? If not which parameter controls
> email notification response?
>
> -merci beaucoup
RTFM?
Normally a mail is send out, when a notification is triggered. Check
max_check_attempts
normal_check_interval
retry_check_interval
notification_interval
in services.cfg
check time_units in nagios.cfg
read the fu**** manual.
If your mails notification is triggered (check logs) but you receive the
mails too late check the
mail-server queues, load on mailserver, your mailclient.
Jan
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
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
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
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