LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 09: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, 10:29 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Did you restart Nagios?
 
Old 01-30-2013, 12: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, 01:27 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 02: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 02:39 AM.
 
Old 01-30-2013, 08:08 AM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

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


Reply



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 03:15 PM
Nagios: send email/alert user s0tGaL Linux - Newbie 5 07-30-2010 10:25 AM
send email notifications in nagios LayTech Linux - Newbie 10 07-24-2010 06:34 AM
[SOLVED] Nagios issues command but wont send email Mistro Linux - Newbie 9 12-30-2009 04:03 PM
Nagios plugin wont send email alerts investmentbnker75 Programming 0 11-18-2008 08:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:09 PM.

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
Open Source Consulting | Domain Registration