How was the Nagios xi Virtual Machine mail service installed

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
nagiosadmin42
Posts: 96
Joined: Sat Feb 11, 2012 2:16 pm

How was the Nagios xi Virtual Machine mail service installed

Post by nagiosadmin42 »

I've downloaded the Nagios xi virtual machine (nagiosxi-2011r1.9-virtualpc.zip), and gotten it set up to monitor a couple of hosts.

I also did a manual install on a fresh CentOS 6.2 server, following the instructions in http://assets.nagios.com/downloads/nagi ... ctions.pdf.

However, step 7-sendmail of the fullinstall is a stub which has a comment: "REMEMBER TO CONFIGURE SENDMAIL TO ALLOW OUTBOUND EMAIL!"

The VM's working for us, so whatever it is using for sending mail is fine.

I'm wondering how the mail infrastructure was set up for the virtual machine. Are the steps documented anywhere?

Was it simply:

Code: Select all

sudo yum install postfix
I'm going to give that a try. Also found this site: http://wiki.centos.org/HowTos/postfix
nagiosadmin42
Posts: 96
Joined: Sat Feb 11, 2012 2:16 pm

Re: How was the Nagios xi Virtual Machine mail service insta

Post by nagiosadmin42 »

Ok, so that wasn't so bad. A simple yum install and start of the service, and Send Test Email worked!

Code: Select all

$ sudo yum install postfix

Note: config files are written to /etc/postfix/ but I didn't change anything there.

$ sudo /etc/rc.d/init.d/postfix status
master is stopped
$ sudo /etc/rc.d/init.d/postfix start
Starting postfix:                                          [  OK  ]
And, one thing to note for newbies like me... when you're looking at the list of services to see which mailer is running, the Postfix process is named master !

Code: Select all

$ sudo service --status-all
...
master (pid  22549) is running...
...

$ ps -ef | grep postfix
root     22549     1  0 11:42 ?        00:00:00 /usr/libexec/postfix/master
postfix  22551 22549  0 11:42 ?        00:00:00 pickup -l -t fifo -u
postfix  22552 22549  0 11:42 ?        00:00:00 qmgr -l -t fifo -u
postfix  25990 22549  0 11:52 ?        00:00:00 cleanup -z -t unix -u
postfix  25993 22549  0 11:52 ?        00:00:00 smtp -t unix -u
500      28313  3106  0 11:57 pts/0    00:00:00 grep --color=auto postfix
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: How was the Nagios xi Virtual Machine mail service insta

Post by scottwilkerson »

Looks good.

Different administrators like to use different MTA for mail.

It's a preference thing...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart