Hello all,
Please bear with me, i am sooooo new to Linux (as of 5 hours ago)
Newer to Nagios (as of 3 hours ago)
The company systems admin had started last week to install nagios on an Ubuntu box (desktop version i believe)
However he decided that over the weekend he wasnt coming back to work!
So now i have been tasked with continuing the nagios install.
It appears nagios is installed and a wireless router is being monitored.
My question is this - i dont know a fat lot about Microsoft Exchange Server but my boss tells me i ultimately need to get our switches monitored and email alerts sent from nagios through the exchange server to my email address.
I have installed postfix and mailx and set up a satellite option.
Now i need to edit the main.cf but im not sure what i put in it.
A bit of info for you:
My network is a 192.168.1.x network and uses a 255.255.255.0 subnet
My domain name is MYTOWN.MYCOMPANY.CO.UK
My linux box is called BFCNAGIOS
My Exchange Server is called BFCMAIL and has an IP of 192.168.1.60
My Exchnage Server Full Computer Name is BFCMAIL.MYTOWN.MYCOMPANY.CO.UK
My email address doesnt have the MYTOWN in though and is just
MYEMAIL@MYCOMPANY.CO.UK
I have created a recieve connector for the Nagios machines IP address on my Exchange Server to allow mail from it to relay thorugh.
So should my main.cf file look like this?
myhostname = BFCNAGIOS
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = MYCOMPANY.CO.UK, MYTOWN.MYCOMPANY.CO.UK
relayhost = 192.168.1.60
mynetworks = 192.168.1.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
All i want is for Nagios to send the alerts to the local Exchange server and then the Exchnage server to send them to me!
Will this do the job or have i configured incorrectly?
Thankyou so much in advance for any help given.