LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2013, 10:56 PM   #1
mirei
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Rep: Reputation: Disabled
Question Nagios is unable to send email to the new contact


I have nagios running on Ubuntu. Due to organization changes we need to add another email address that can receive email notifications. Contact A and B receive messages without problems but the new contact C is not. here is what I have done so far:
1. Add contact C on Contacts
2. Generate nagios config > no issues
3. check postfix > the settings are correct because contact a&b can receive emails.


I am not sure what else to check. Please help as I am a novice user. Thank you.
 
Old 01-29-2013, 11:29 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Did you restart Nagios?
 
Old 01-30-2013, 01:22 AM   #3
mirei
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi,

Thanks for the reply. As per your suggestion, I tried to restart but this is what I got:

user@server:/omd/sites/pj/etc/init.d$ nagios restart
No command 'nagios' found, did you mean:
Command 'nagios3' from package 'nagios3-core' (main)
nagios: command not found
 
Old 01-30-2013, 02:27 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
I don't know Ubuntu, but on RHEL derived systems its
Code:
service nagios restart
I'm sure Ubuntu has a similar system.
 
Old 01-30-2013, 03:36 AM   #5
mirei
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi chrism01,

Sorry about that. I forgot to be in sudo. I have manage to restart it but the issue still persists. Please help me

Last edited by mirei; 01-30-2013 at 03:39 AM.
 
Old 01-30-2013, 09:08 AM   #6
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,182
Blog Entries: 10

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
http://www.linuxquestions.org/questi...4/#post4800584
 
  


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
Can't get Nagios 3.3.1 to send email Notifications but smtp port works fine in shell Kahndale Linux - General 1 12-16-2011 04:15 PM
Nagios: send email/alert user s0tGaL Linux - Newbie 5 07-30-2010 11:25 AM
send email notifications in nagios LayTech Linux - Newbie 10 07-24-2010 07:34 AM
[SOLVED] Nagios issues command but wont send email Mistro Linux - Newbie 9 12-30-2009 05:03 PM
Nagios plugin wont send email alerts investmentbnker75 Programming 0 11-18-2008 09:49 AM


All times are GMT -5. The time now is 04:20 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