Xymon Mailing List Archive search

Xymon notification.log shows alerts been genereate but not send on mail or sms ( mail and sms service are working fin)

5 messages in this thread

list Jesper Jensen · Mon, 1 Jun 2015 10:45:13 +0000 ·
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) user-cbfa4c238ccd@xymon.invalid[262] 1433142484 100
Mon Jun  1 09:08:04 2015 servername.domain.local.disk (10.2.64.95) user-cbfa4c238ccd@xymon.invalid[263] 1433142484 100
Mon Jun  1 09:19:19 2015 servername.domain.local.msgs (10.2.64.71) user-cbfa4c238ccd@xymon.invalid[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
list psMz · Mon, 1 Jun 2015 17:19:27 +0200 ·
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 <user-7e14625fd8b5@xymon.invalid>:
quoted from Jesper Jensen
 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)
user-cbfa4c238ccd@xymon.invalid[262] 1433142484 100

Mon Jun  1 09:08:04 2015 servername.domain.local.disk (10.2.64.95)
user-cbfa4c238ccd@xymon.invalid[263] 1433142484 100

Mon Jun  1 09:19:19 2015 servername.domain.local.msgs (10.2.64.71)
user-cbfa4c238ccd@xymon.invalid[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
quoted from Jesper Jensen
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

list psMz · Mon, 1 Jun 2015 17:30:55 +0200 ·
Jesper,

You can also try this command :

* xymoncmd xymond_alert --test SERVERNAMED conn*

*mail -s "test" user-5fff77838ef2@xymon.invalid <user-5fff77838ef2@xymon.invalid>*
*.*


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 <user-7e88b3b85c08@xymon.invalid>:
quoted from psMz
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 <user-7e14625fd8b5@xymon.invalid>:
 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)
user-cbfa4c238ccd@xymon.invalid[262] 1433142484 100

Mon Jun  1 09:08:04 2015 servername.domain.local.disk (10.2.64.95)
user-cbfa4c238ccd@xymon.invalid[263] 1433142484 100

Mon Jun  1 09:19:19 2015 servername.domain.local.msgs (10.2.64.71)
user-cbfa4c238ccd@xymon.invalid[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

list Jeremy Laidman · Tue, 2 Jun 2015 13:14:43 +1000 ·
quoted from Jesper Jensen
On 1 June 2015 at 20:45, Jesper Jensen <user-7e14625fd8b5@xymon.invalid> 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
list Paul Root · Tue, 2 Jun 2015 14:09:50 +0000 ·
I would guess it is the mail agent that is complaining about a bad email address.
quoted from Jeremy Laidman

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 <user-7e14625fd8b5@xymon.invalid<mailto:user-7e14625fd8b5@xymon.invalid>> 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.