I don’t know postfix well and my mxlogic filter is refusing the connection to nagios\postfix system.
I have no idea where to begin troubleshooting this.
2013-11-11T11:45:55.437026-05:00 linux postfix/postfix-script[2554]: fatal: th e Postfix mail system is not running
2013-11-11T11:46:02.494250-05:00 linux postfix/postfix-script[4140]: fatal: th e Postfix mail system is not running
2013-11-12T12:45:22.439301-05:00 ahgmonitor postfix/master[5499]: warning: ser vice smtp: ignoring inet_interfaces change
2013-11-12T12:45:22.440538-05:00 ahgmonitor postfix/master[5499]: warning: to change inet_interfaces, stop and start Postfix
2013-11-12T12:46:58.462265-05:00 ahgmonitor postfix/master[5499]: warning: ser vice smtp: ignoring inet_interfaces change
2013-11-12T12:46:58.465127-05:00 ahgmonitor postfix/master[5499]: warning: to change inet_interfaces, stop and start Postfix
2013-11-12T12:47:06.567065-05:00 ahgmonitor postfix/master[5499]: warning: ser vice smtp: ignoring inet_interfaces change
2013-11-12T12:47:06.567073-05:00 ahgmonitor postfix/master[5499]: warning: to change inet_interfaces, stop and start Postfix
2013-11-12T12:49:15.649486-05:00 ahgmonitor postfix/master[5499]: warning: ser vice smtp: ignoring inet_interfaces change
2013-11-12T12:49:15.649523-05:00 ahgmonitor postfix/master[5499]: warning: to change inet_interfaces, stop and start Postfix
2013-11-12T12:50:37.486743-05:00 ahgmonitor postfix/master[5499]: warning: ser vice smtp: ignoring inet_interfaces change
Well,
I don’t know which system your log is coming from so I can’t hazard any guess not knowing which SMTP(postfix) server generated the errors. Could be routing, firewall blocking, wrong ports, etc, etc.
But, in general if you didn’t see my recent response to another nagios-related post, the advice is the same. When you do a default setup of any of the products I listed you are running with a known working configuration so can work from there.
Ok but that post says to use nagios xI or other nagios related app instead of Nagios.
I found the original password and have managed to get it started and monitoring.
I even figured out how to easilly add and remove hosts.
But I just discovered that postfix is broken which is ruining the fact that I now have everything running.
is nagios core 5.0 upgradable to nagios XI? And is there anyone who can just help me fix postfix because the only
thing screwing me up right now is that I can’t receive email alerts.
I can post configuration files if someone could help me fix it.
I’ve found in the past that upgrading is YMMV.
More sure is export/import but that then touches on <why> you should be building from scratch using one of the apps I suggest instead…
When you install a bare Nagios, there is no guidance on what should actually go into each config file. I’ve seen all sorts of original variations people have created that more or less fill their immediate perceived needs, but in no way are any based on any understanding of what <should> go into each config file.
To truly setup correctly and utilize the full versatility and power of a properly configured system, unless you’re already a real expert (so you know how to write the config files properly), it’s generally better to just manually set up again. But, in most cases it’s not nearly as onerous a job as you might think. Even starting from scratch and re-entering information manually you’ll likely accomplish it in less than a quarter of the time (maybe far less) than it took to build the configs you’re already using and that’s because you’ll be re-using common configs and clicking through UI. For a typical 10-20 node network, I can usually setup all of them in an afternoon (less than half a day). Depending on how many <different types> of machines, a far larger network might be configurable in only an hour or so longer (in my experience once you setup 10-20 machines, there aren’t many other <types> of machines in the network). Skimming the documentation when learning the new software before starting is a bit more.
Build on a solid foundation and you’ll reap the benefits into the future.
If you’re really set on just fixing Postfix, I guess a starting point is whether you have established
Postfix is working on its own. Do you know how to troubleshoot mail, eg connect to an SMTP server and send a message from the console?
After you’ve established Postfix is working on its own, have you verified you’ve setup the User account properly in Nagios, followed by reviewing the notification configuration?
Admittedly, I haven’t run Nagios core in a long while (I follow my own recommendations), but there are some things I still remember about it…
I sent an email to myself straight from postfix to my corporate exchange account.
Why can’t Nagios
testing postfix worked
telnet 10.1.0.11 25
Trying 10.1.0.11…
Connected to 10.1.0.11.
Escape character is ‘^]’.
220 mail.cronow.com Microsoft ESMTP MAIL Service ready at Thu, 6 Mar 2014 16:21:11 -0500
EHLO 250-mail.cronow.com Hello [10.1.0.16]
250-SIZE 10485760
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-AUTH NTLM LOGIN
250-8BITMIME
250-BINARYMIME
250 CHUNKING
Mail From:billperrotta@gmail.com
250 2.1.0 Sender OK
RCPT TO:bperrotta@finance36.com
250 2.1.5 Recipient OK
DATA
354 Start mail input; end with <CRLF>.<CRLF>
testing the email system.
.
250 2.6.0 <f2a0daa0-005f-4f7f-a6a9-39e7192e8e54@mail-ahgserver.ahghotels.local> Queued mail for delivery
It sent email to my company account on exchange.
Please put on your thinking cap. There must be some way other than creating an internal mx record to get nagios to send through postfix.