Nagios Alerts through Exchange server.
Posted: Sat Apr 07, 2012 11:54 pm
Hi,
I am trying to configure my nagios ( which works fine ) to send alerts using our companies exchange server . well, i know there are hundreds of discussions in forums on the same topic , but i couldnt find anything to help me yet , mainly because most of them refers to either having a mailserver installed in localhost, with mx records and domain and everything ( which i dont want ) or else installing an MTA and relaying it through exchange server ( which i cant , because IT policy of my company doesnt permit to relay anything thru exchange server ) , so all i have is a username and password registered with exchange server and the IP/Domain name of the exchange server ( i guess we can get it done by just that , right ??? )....
i have been trying with both sendmail and postfix (one at a time) for more than a week , but something just doesnt seem to get right.....there was all sorts of errors , then authentication failures , and finally i even got the log to say 'send for delivery' but nothing came thru.....
Right now , i dont have any perticular configuration file details or error messages to share , i kinda got impatient and deleted both postfix and sendmail , and wanted to start afresh .. i would appreciate if anyone here can give me a clear idea as to what needs to be done . also i did find couple of perl scripts in nagios exchange to work as email alerts, i did not try it out yet, would like to know if this has any advantage / disadvantage over using the typical mail server method .
btw i am using nagios 3.3 installed on fedora 15 core, and corporate mail server : MS exchange 2007
Thanks ....
I am trying to configure my nagios ( which works fine ) to send alerts using our companies exchange server . well, i know there are hundreds of discussions in forums on the same topic , but i couldnt find anything to help me yet , mainly because most of them refers to either having a mailserver installed in localhost, with mx records and domain and everything ( which i dont want ) or else installing an MTA and relaying it through exchange server ( which i cant , because IT policy of my company doesnt permit to relay anything thru exchange server ) , so all i have is a username and password registered with exchange server and the IP/Domain name of the exchange server ( i guess we can get it done by just that , right ??? )....
i have been trying with both sendmail and postfix (one at a time) for more than a week , but something just doesnt seem to get right.....there was all sorts of errors , then authentication failures , and finally i even got the log to say 'send for delivery' but nothing came thru.....
Right now , i dont have any perticular configuration file details or error messages to share , i kinda got impatient and deleted both postfix and sendmail , and wanted to start afresh .. i would appreciate if anyone here can give me a clear idea as to what needs to be done . also i did find couple of perl scripts in nagios exchange to work as email alerts, i did not try it out yet, would like to know if this has any advantage / disadvantage over using the typical mail server method .
btw i am using nagios 3.3 installed on fedora 15 core, and corporate mail server : MS exchange 2007
Thanks ....