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: fatal: th e Postfix mail system is not running
2013-11-11T11:46:02.494250-05:00 linux postfix/postfix-script: fatal: th e Postfix mail system is not running
2013-11-12T12:45:22.439301-05:00 ahgmonitor postfix/master: warning: ser vice smtp: ignoring inet_interfaces change
2013-11-12T12:45:22.440538-05:00 ahgmonitor postfix/master: warning: to change inet_interfaces, stop and start Postfix
2013-11-12T12:46:58.462265-05:00 ahgmonitor postfix/master: warning: ser vice smtp: ignoring inet_interfaces change
2013-11-12T12:46:58.465127-05:00 ahgmonitor postfix/master: warning: to change inet_interfaces, stop and start Postfix
2013-11-12T12:47:06.567065-05:00 ahgmonitor postfix/master: warning: ser vice smtp: ignoring inet_interfaces change
2013-11-12T12:47:06.567073-05:00 ahgmonitor postfix/master: warning: to change inet_interfaces, stop and start Postfix
2013-11-12T12:49:15.649486-05:00 ahgmonitor postfix/master: warning: ser vice smtp: ignoring inet_interfaces change
2013-11-12T12:49:15.649523-05:00 ahgmonitor postfix/master: warning: to change inet_interfaces, stop and start Postfix
2013-11-12T12:50:37.486743-05:00 ahgmonitor postfix/master: warning: ser vice smtp: ignoring inet_interfaces change
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.
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
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-AUTH NTLM LOGIN
250 2.1.0 Sender OK
250 2.1.5 Recipient OK
354 Start mail input; end with <CRLF>.<CRLF>
testing the email system.
250 2.6.0 <email@example.com> 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.