Xymon notification.log shows alerts been genereate but not send on mail or sms ( mail and sms service are working fin)
Hello
We are running a Centos 5.11 final with Xymon 4.3.21.
The problem we have is that SMS and mail alerts are not getting forward when generated. We have investigated logs in the location: /var/log/xymon/
Alerts are been generate and registered in: notifications.log
Ex. : (server name and mail addresses has been changed in below example)
Mon Jun 1 09:08:04 2015 servername.domain.local.disk (10.2.64.95) xx at xx.dk[262] 1433142484 100 Mon Jun 1 09:08:04 2015 servername.domain.local.disk (10.2.64.95) xx at xx.dk[263] 1433142484 100 Mon Jun 1 09:19:19 2015 servername.domain.local.msgs (10.2.64.71) xx at xx.dk[262] 1433143159 400
We can see in the log: /var/log/xymon/alerts.log an error we have not seen before:
Bad address Bad address Bad address Bad address Bad address - anyone seen this before?
So we went through the /home/xymon/server/etc/hosts.cfg & alerts.cfg, looking for any syntax error, bad mail addresses :) and did also out comment most of the lines in hosts.cfg file but still getting this error and no mail alerts are send from the server?
I looked in the Xymon man pages for making a dump trace and debug with ./xymoncmd xymond_alerts but is not giving me any clues where this is going wrong?
Postfix mail server, sendmail and SMS service are working fin on the box. Any input would be appreciated.
Thank in advance
/Jesper Jensen
Hello Jesper,
Could you give us more detail about your alerts.cfg ?
Did you use scripts or variables in this file ? Maybe you made a syntaxe error.
Thanks,
Cordialement, psMz
2015-06-01 12:45 GMT+02:00 Jesper Jensen <jje at fynbus.dk>:
Hello
We are running a Centos 5.11 final with Xymon 4.3.21.
The problem we have is that SMS and mail alerts are not getting forward when generated.
We have investigated logs in the location: /var/log/xymon/
Alerts are been generate and registered in: notifications.log
Ex. : (server name and mail addresses has been changed in below example)
Mon Jun 1 09:08:04 2015 servername.domain.local.disk (10.2.64.95) xx at xx.dk[262] 1433142484 100
Mon Jun 1 09:08:04 2015 servername.domain.local.disk (10.2.64.95) xx at xx.dk[263] 1433142484 100
Mon Jun 1 09:19:19 2015 servername.domain.local.msgs (10.2.64.71) xx at xx.dk[262] 1433143159 400
We can see in the log: /var/log/xymon/alerts.log an error we have not seen before:
Bad address
Bad address
Bad address
Bad address
Bad address – anyone seen this before?
So we went through the /home/xymon/server/etc/hosts.cfg & alerts.cfg, looking for any syntax error, bad mail addresses J and did also out comment most of the lines in hosts.cfg file but still getting this error and no mail alerts are send from the server?
I looked in the Xymon man pages for making a dump trace and debug with ./xymoncmd xymond_alerts but is not giving me any clues where this is going wrong?
Postfix mail server, sendmail and SMS service are working fin on the box. Any input would be appreciated.
Thank in advance
/Jesper Jensen
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Jesper,
You can also try this command :
- xymoncmd xymond_alert --test SERVERNAMED conn*
*mail -s "test" yourmail at mail.com <yourmail at mail.com>* *.*
SERVERNAMED need to be define in the hosts.cfg aswell.
Let me know about your result.
Regards,
psMz
2015-06-01 17:19 GMT+02:00 psMz <psmzkk at gmail.com>:
Hello Jesper,
Could you give us more detail about your alerts.cfg ?
Did you use scripts or variables in this file ? Maybe you made a syntaxe error.
Thanks,
Cordialement, psMz
2015-06-01 12:45 GMT+02:00 Jesper Jensen <jje at fynbus.dk>:
Hello
We are running a Centos 5.11 final with Xymon 4.3.21.
The problem we have is that SMS and mail alerts are not getting forward when generated.
We have investigated logs in the location: /var/log/xymon/
Alerts are been generate and registered in: notifications.log
Ex. : (server name and mail addresses has been changed in below example)
Mon Jun 1 09:08:04 2015 servername.domain.local.disk (10.2.64.95) xx at xx.dk[262] 1433142484 100
Mon Jun 1 09:08:04 2015 servername.domain.local.disk (10.2.64.95) xx at xx.dk[263] 1433142484 100
Mon Jun 1 09:19:19 2015 servername.domain.local.msgs (10.2.64.71) xx at xx.dk[262] 1433143159 400
We can see in the log: /var/log/xymon/alerts.log an error we have not seen before:
Bad address
Bad address
Bad address
Bad address
Bad address – anyone seen this before?
So we went through the /home/xymon/server/etc/hosts.cfg & alerts.cfg, looking for any syntax error, bad mail addresses J and did also out comment most of the lines in hosts.cfg file but still getting this error and no mail alerts are send from the server?
I looked in the Xymon man pages for making a dump trace and debug with ./xymoncmd xymond_alerts but is not giving me any clues where this is going wrong?
Postfix mail server, sendmail and SMS service are working fin on the box. Any input would be appreciated.
Thank in advance
/Jesper Jensen
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
On 1 June 2015 at 20:45, Jesper Jensen <jje at fynbus.dk> wrote:
We can see in the log: /var/log/xymon/alerts.log an error we have not seen before:
Bad address
Bad address
Bad address
Bad address
Bad address – anyone seen this before?
The source code doesn't have this string anywhere. Perhaps it's an ext script that is causing this? A quick google suggests that SQL_feed.pl might be a candidate.
Cheers Jeremy
I would guess it is the mail agent that is complaining about a bad email address.
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Jeremy Laidman Sent: Monday, June 01, 2015 10:15 PM To: Jesper Jensen Cc: xymon at xymon.com Subject: Re: [Xymon] Xymon notification.log shows alerts been genereate but not send on mail or sms ( mail and sms service are working fin)
On 1 June 2015 at 20:45, Jesper Jensen <jje at fynbus.dk<mailto:jje at fynbus.dk>> wrote: We can see in the log: /var/log/xymon/alerts.log an error we have not seen before:
Bad address Bad address Bad address Bad address Bad address – anyone seen this before?
The source code doesn't have this string anywhere. Perhaps it's an ext script that is causing this? A quick google suggests that SQL_feed.pl might be a candidate. Cheers Jeremy This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
participants (4)
-
jje@fynbus.dk
-
jlaidman@rebel-it.com.au
-
Paul.Root@CenturyLink.com
-
psmzkk@gmail.com