A new year and I still can't get Xymon to send emails
Hello:
I have limited experience with Linux but I am trying.
I have set up Xymon on both a Debian system and on a server running Ubuntu. The main part of the program works great. The information I am getting on the webpage is working fine. I am having trouble with sending alerts.
I have setup a false alarm in Xymon so one server always appears down. In /var/log/hobbit/notifcations.log it appears the alert emails are being sent.
In my domain I have a separate Windows server running Exchange. When I use the mail or mailx on the Linux servers emails are sent to addresses in my domain and to the gmail account specified in hobbits-alerts.cfg.
Yet no alerts or emails from Xymon. Any suggestions?
Sincerely, G Filter Indianapolis, IN
Is sendmail running on the box?
Mine is on a RHEL3 box. Simply tell sendmail that emails for your domain go to your exchange server in the milertable and it should work.
Add a line like below to the mailertable. (/etc/mail/mailertable on RHEL) mydomain.com smtp:exchange.mydomain.com
Then you can restart sendmail and test.
Can you send from the command line?
do this...(substituting for your email address)
echo "test" | mail -s "Test email" email at mydomain.com
check sendmails log to see what is happening.
Stew
On Thu, Jan 8, 2009 at 4:20 PM, Greg Filter <mr.greg.filter at gmail.com>wrote:
Hello:
I have limited experience with Linux but I am trying.
I have set up Xymon on both a Debian system and on a server running Ubuntu. The main part of the program works great. The information I am getting on the webpage is working fine. I am having trouble with sending alerts.
I have setup a false alarm in Xymon so one server always appears down. In /var/log/hobbit/notifcations.log it appears the alert emails are being sent.
In my domain I have a separate Windows server running Exchange. When I use the mail or mailx on the Linux servers emails are sent to addresses in my domain and to the gmail account specified in hobbits-alerts.cfg.
Yet no alerts or emails from Xymon. Any suggestions?
Sincerely, G Filter Indianapolis, IN
-- Stewart
If you see yourself in others, then whom can you harm?
participants (2)
-
mr.greg.filter@gmail.com
-
stewartl42@gmail.com