LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2012, 08:22 AM   #1
kwaslee
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Rep: Reputation: 0
Nagios and email Sound notification


Greetings..!!

I have installed nagios on centos,its running but unfortunately itís not sending notification email (from the contacts.cfg I have changed to my email but still am unable to receive emails)and sound alert is not functioning as well,

Someone please assist.
 
Old 05-27-2012, 09:18 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,710

Rep: Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520
Have you run
Code:
# sanity check cfgs
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

# restart service
service nagios restart
Also check /var/log/maillog, /var/log/messages; see also mailq cmd.

Basically, ensure nagios is really working properly and see if its even trying to send emails.

Check email system with eg
Code:
(uname -n)|mailx -s "Test email" you@yourcorp.com.au

Last edited by chrism01; 05-28-2012 at 07:17 PM.
 
Old 05-28-2012, 02:26 AM   #3
kwaslee
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Original Poster
Rep: Reputation: 0
hi


Running pre-flight check on configuration data...

Checking services...
Checked 98 services.
Checking hosts...
Checked 19 hosts.
Checking host groups...
Checked 19 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 24 commands.
Checking time periods...
Checked 5 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check

but still i cant hear sound when the host is down.
 
Old 05-28-2012, 07:17 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,710

Rep: Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520
... and the rest of my points ??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Nagios email notification failure NewtoUbuntu8.1 Linux - Newbie 2 03-05-2012 11:45 AM
Nagios - email notification - How to receive alert email? kumaran1983 Linux - Newbie 4 10-20-2011 07:12 AM
Nagios Email Notification zoomzatag Linux - Newbie 4 07-20-2011 05:23 AM
HELP! Nagios email notification using Postfix tagzfernando Linux - Newbie 14 02-16-2011 09:08 PM
HELP! Nagios email notification using Postfix tagzfernando Linux - Networking 2 02-15-2011 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration