LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 12-20-2019, 02:15 AM   #1
yosi1232
LQ Newbie
 
Registered: Aug 2017
Posts: 7

Rep: Reputation: Disabled
Nagio on docker not send notification


Hi

I installed nasiog server on docker
I can send mail from the docker which mean post fix working, but nagios does not send notificatio.
Any idea?
Thanks.
 
Old 12-20-2019, 06:26 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
While I have no experience with Nagios and little with Docker, I would start by checking the following:
  • How are notifications and mail interfaces configured on Nagios
  • Is there a way to send notifications to a different destination than mail, and does this work
  • Does Nagios write log files, and do they contain messages about incorrect mail and notification configuration
  • Does the mail log, perhaps /var/log/maillog (?), contain anything relevant.
 
Old 12-20-2019, 08:56 AM   #3
yosi1232
LQ Newbie
 
Registered: Aug 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Problem solved by change at /usr/local/nagios/etc/command.cfg /bin/mail to /usr/bin/mail

Enjoy
 
  


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
Ask for nagio 3.2.0 hendotkoplak Linux - Newbie 4 09-06-2015 08:13 AM
LXer: Ubuntu LXD: Not a Docker replacement, a Docker enhancement LXer Syndicated Linux News 0 11-05-2014 08:40 PM
LXer: Docker Founder Explains What Docker is all About LXer Syndicated Linux News 0 08-21-2014 09:20 PM
Few questions about Nagios - reboot notification, value=x notification. marccmile Linux - Software 5 06-04-2009 06:44 PM
E-Mail notification to users via SMS (gateway script ok, but notification script?!?) Riku2015 Linux - Networking 10 03-08-2002 10:16 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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