Hi,
Check the ownership and permissions on the script called by notify-
service-by-email
Ciao,
Giorgio
Il giorno 06/apr/2010, alle ore 09.02,
<[email protected]> ha scritto:
Hi,
Please see the notifications in web consoleā¦..I think notification-b
y-email command is called.
File:/usr/local/nagios/var/nagios.log
Host
Service
Type
Time
Contact
Notification Command
Information
LTCPETLDBPRD01
E:\ Drive Space
CRITICAL
04-06-2010 07:46:59
stw_app_server
notify-service-by-email
(Return code of 139 is out of bounds)
lvecpp01
E:\ Drive Space
CRITICAL
04-06-2010 07:40:09
stw_app_server
notify-service-by-email
E:\ - total: 49.98 Gb - used: 46.53 Gb (93%) - free 3.46 Gb (7%)
LVMDQ1
D:\ Drive Space
WARNING
04-06-2010 07:38:39
stw_app_server
notify-service-by-email
D:\ - total: 30.00 Gb - used: 26.82 Gb (89%) - free 3.17 Gb (11%)
LTCPETLDBPRD01
E:\ Drive Space
CRITICAL
04-06-2010 07:16:59
stw_app_server
notify-service-by-email
(Return code of 139 is out of bounds)
lvecpp01
E:\ Drive Space
CRITICAL
04-06-2010 07:10:09
stw_app_server
notify-service-by-email
E:\ - total: 49.98 Gb - used: 46.52 Gb (93%) - free 3.46 Gb (7%)
LVMDQ1
D:\ Drive Space
WARNING
04-06-2010 07:08:39
stw_app_server
notify-service-by-email
D:\ - total: 30.00 Gb - used: 26.82 Gb (89%) - free 3.17 Gb (11%)
LTCPETLDBPRD01
E:\ Drive Space
CRITICAL
04-06-2010 06:46:59
stw_app_server
notify-service-by-email
(Return code of 139 is out of bounds)
lvecpp01
E:\ Drive Space
CRITICAL
04-06-2010 06:40:09
stw_app_server
notify-service-by-email
E:\ - total: 49.98 Gb - used: 46.52 Gb (93%) - free 3.46 Gb (7%)
LVMDQ1
D:\ Drive Space
WARNING
04-06-2010 06:38:39
stw_app_server
notify-service-by-email
D:\ - total: 30.00 Gb - used: 26.82 Gb (89%) - free 3.17 Gb (11%)
LTCPETLDBPRD01
E:\ Drive Space
CRITICAL
04-06-2010 06:16:59
stw_app_server
notify-service-by-email
(Return code of 139 is out of bounds)
lvecpp01
E:\ Drive Space
CRITICAL
04-06-2010 06:10:09
stw_app_server
notify-service-by-email
E:\ - total: 49.98 Gb - used: 46.53 Gb (93%) - free 3.45 Gb (7%)
LVMDQ1
D:\ Drive Space
WARNING
04-06-2010 06:08:39
stw_app_server
notify-service-by-email
D:\ - total: 30.00 Gb - used: 26.82 Gb (89%) - free 3.17
Thanks & Regards,
Ravi G
P please consider the environment - do you really need to print this
email?
From: Giorgio Zarrelli [mailto:[email protected]]
Sent: Tuesday, April 06, 2010 12:20 PM
To: Nagios Users List
Cc: <[email protected]>
Subject: Re: [Nagios-users] Not recieving email notifications??
First, check in the web interface the notifications history to see
if the notification-by-email command is called along with the
notification events.
Ciao,
Giorgio
Il giorno 06/apr/2010, alle ore 07.51, <[email protected]
> ha scritto:
Hi,
I am receiving the email when Sent using the command from cmdline.
echo "subject" | mail -s "message" [email protected]
I am not receiving the email notifications from Nagiosā¦.
Thanks & Regards,
Ravi G
From: Asrai khn [mailto:[email protected]]
Sent: Tuesday, April 06, 2010 10:47 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Not recieving email notifications??
Check if your there is any email in your mail queue
mailq?
May be your MTA some problem in sending out bound emails?
also try to su to naigios user
su - nagios
and type
$mail
may be email are bouncing back?
On Tue, Apr 6, 2010 at 5:57 AM, <[email protected]>
wrote:
Hi ,
I am using Nagios 3.0.6 on Linux with Fedora installed on it.
My Nagios suddenly stopped sending email notifications .
Here is my service template.
# Generic service definition template - This is NOT a real service,
just a template!
define service{
name generic-service ;
The 'name' of this service template
active_checks_enabled 1 ;
Active service checks are enabled
passive_checks_enabled 1 ;
Passive service checks are enabled/accepted
parallelize_check 1 ;
Active service checks should be parallelized (disabling this can
lead to major performance problems)
obsess_over_service 1 ; We
should obsess over this service (if necessary)
check_freshness 0 ;
Default is to NOT check service 'freshness'
notifications_enabled 1 ;
Service notifications are enabled
event_handler_enabled 1 ;
Service event handler is enabled
flap_detection_enabled 1 ;
Flap detection is enabled
failure_prediction_enabled 1 ;
Failure prediction is enabled
process_perf_data 1 ;
Process performance data
retain_status_information 1 ;
Retain status information across program restarts
retain_nonstatus_information 1 ;
Retain non-status information across program restarts
is_volatile 0 ;
The service is not volatile
check_period 24x7 ;
The service can be checked at any time of the day
max_check_attempts 2 ; Re-
check the service up to 3 times in order to determine its final
(hard) state
normal_check_interval 5 ;
Check the service every 10 minutes under normal conditions
retry_check_interval 1 ; Re-
check the service every two minutes until a hard state can be
determined
# contact_groups
stw_win_server,stw_network_devices,stw_app_server ;
Notifications get sent out to everyone in the 'admins' group
notification_options w,u,c ;
Send notifications about warning, unknown, critical, and recovery
events
notification_interval 30 ; Re-
notify about service problems every hour
notification_period 24x7 ;
Notifications can be sent out at any time
register 0 ;
DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A
TEMPLATE!
}
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
[email protected]
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
--
I sense much NT in you, NT leads to Blue Screen.
Blue Screen leads to downtime, downtime leads to suffering. NT is
the path to the darkside
---
---
---
---------------------------------------------------------------------
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
[email protected]
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
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of
the addressee(s) and may contain proprietary, confidential or
privileged information. If you are not the intended recipient, you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately and destroy all copies of this message
and any attachments.
WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any damage
caused by any virus transmitted by this email.
www.wipro.com
------------------------------------------------------------------------------
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
[email protected]
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