Fixing Nagios “error: Could not stat() command file”

One common configuration issue with Nagios 3 running on Ubuntu is getting the Service Commands menu to work correctly in the web portal. By default, it is visible in the UI, but disabled on the server backend. In Ubuntu, you will recieve the cryptic error Could not stat() command file pointing to /var/lib/nagios3/rw/nagios.cmd. This can…

Continue reading

Postfix masquerading or changing outgoing SMTP email or mail address

Address rewriting allows changing outgoing email ID or domain name itself. This is good for hiding internal user names. For example:SMTP user: user-01EMAIL ID: [email protected] name: server.domain.com However when user-01 send an email from shell prompt or using php it looks like it was send from [email protected] Postfix MTA offers smtp_generic_maps parameter….

Continue reading