Not able to get mail notification , Guidance requested

Marc Powell marc at ena.com
Wed Sep 7 17:11:45 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of John Joseph
> Sent: Wednesday, September 07, 2005 12:36 AM
> To: Nagios User
> Subject: [Nagios-users] Not able to get mail notification , Guidance
> requested
> 
> Hi team
> I have RHEL4 , nagios 1.2 , postfix , in which MTA is
> working fine
> I had made contact , contact group , on contact
> details , I had given "host-notify-by-email and
> notify-by-email " for host_notification_ command and
> service_notification_command
> and for that host
> 
> 
> I have defined host " joseph" as
> 
> Host 			"joseph"
> Name : 			joseph
> Alias : 		Joseph-TEST
> Address : 		192.168.20.99
> # Parents : 		Router-HO
> # Host Groups : 	HO-Server
> Check_command :
> Max_check_attempts : 	3
> Checks_enabled : 	Yes
> Event_handler_enabled :	Nothing
> Event_handler :
> Low_flap_threshold : 	0 %
> High_flap_threshold : 	0 %
> Flap_detection_enabled :	Nothing
> Process_perf_data : 		Nothing
> Retain_status_information : 	Yes
> Retain_nonstatus_information : 	Yes
> Notification_interval : 	3 * 60 sec
> Notification_period : 		24x7
> Notification_options : 		d,u,r
> Notifications_enabled : 	Yes
> Stalking_options : 		o,d,u
> Status :		 	Enabled
> 
> For Services
> I have defined  FTP as
> 
> Host name : joseph
> Description : FTP Check
> Is Volatile : Nothing
> # Service Groups : ForServieGroup
> Check_command : check_ftp
> Check_command_arguments :
> Max_check_attempts : 3
> Normal_check_interval : 3 * 60 sec
> Retry_check_interval : 3 * 60 sec
> Active_checks_enabled : Nothing
> Passive_checks_enabled : Nothing
> Check_period : 24x7
> Parallelize_check : Nothing
> Obsess_over_service : Nothing
> Check_freshness : Nothing
> Freshness treshold : 0 sec
> Event_handler :
> Event_handler_arguments :
> Event_handler enabled : Nothing
> Low flap treshold : 0 %
> High flap treshold : 0 %
> Flap_detection_enabled : Nothing
> Process_perf_data : Nothing
> Retain_status_information : Nothing
> Retain_nonstatus_information : Nothing
> Notification_interval : 3 * 60 sec
> Notification_period : 24x7
> Notification_options : w,u,c,r
> Notification_enabled : Yes
> # Contact Groups : IT-Support
> Stalking_options : o,w,u,c
> Status : Enabled
> 
> 
> I am not able to get the mail notification , when
> there is change for the ftp ie when FTP is  stopped or
> start

The above information indicates that you don't have active or passive
checks enabled for the service. Is that the case? If so, you're not
checking the service so no notifications will ever go out. If you are
checking the service and the information above is incorrect, check
nagios.log for a notification attempt. Check your postfix logs. Verify
that you can send a notification by issuing your notification commands
exactly as they are defined as the nagios user (not root!) - post the
test here. If you still have problems, please post the exact host and
service definitions as well as your notification commands to this list -
the information above is not them. Nagios.log entries around the time
that the notification should happen would be useful as well.

--
Marc


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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