alerts not been sent
Sean Dilda
agrajag at dragaera.net
Mon May 3 16:51:45 CEST 2004
On Mon, 2004-05-03 at 10:37, K Shantanu wrote:
> Hi all,
> This is the first time I have configured nagios, but the problem is
> that the alerts are not been sent to my email address mentioned in contacts.cfg
> The OS is RH Linux 7.3 and it is a tar-ball install,
>
> In fact,
> # cat status.log
> # Nagios 1.2 Status File
> [1083594508] PROGRAM;1083486163;26821;1;0;1083522600;1;1;1;1;0;0;1;0
> [1083594508] HOST;dcpl;UP;1083594423;1083483183;0;2677;0;0;0;0;1;1;1;1;0;0.00;0;1;1;PING OK - Packet loss = 0%, RTA = 10.83 ms
> [1083594508] SERVICE;dcpl;POP3;CRITICAL;1/1;HARD;1083594414;1083594534;ACTIVE;1;1;1;1083484645;0;CRITICAL;316;0;0;1518;1083592983;16;1;0;0;1;0;0.00;0;1;1;1;Connection refused
>
status.log doesn't report notifications. However, nagios does log that
to syslog, so you might want to check /var/log/messages and see if it
reports a notification.
<snip>
>
> define contact{
> contact_name dcpl
> alias Nagios Admin
> service_notification_period 24x7
> host_notification_period 24x7
> service_notification_options w,u,c,r
> host_notification_options d,u,r
> service_notification_commands notify-by-email,notify-by-epager
> host_notification_commands host-notify-by-email,host-notify-by-epager
> email shantanu-nagios at xxxxxxxxxx
> pager pagenagios-admin at localhost.localdomain
> }
>
> Can someone please tell me where exactly am I going wrong?
Nothing jumped out at me. You may want to take a look at your notify
commands. I'd also suggest checking your mail logs (/var/log/maillog)
and see what it says about the email attempt.
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
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