Xymon Mailing List Archive search

Alert function wont work!

10 messages in this thread

list Adam Tetz · Wed, 20 Feb 2008 10:30:09 +0100 ·
I would like to set up a hobbit alert,so I wrote in the hobbit-alerts.cfg:

HOST=WS004:81
MAIL user-46580519995f@xymon.invalid SERVICE=http
MAIL user-c423191234b5@xymon.invalid SERVICE=http

I know the http is down from that host so i gave it a shot, i saved and
rebooted but it doesn't seem to work.

Any ideas what might be wrong?


-- 
Regards,

Adam Tetz
list Rob MacGregor · Wed, 20 Feb 2008 10:54:44 +0000 ·
quoted from Adam Tetz
On Feb 20, 2008 9:30 AM, Adam Tetz <user-46580519995f@xymon.invalid> wrote:
I would like to set up a hobbit alert,so I wrote in the hobbit-alerts.cfg:

HOST=WS004:81
MAIL user-46580519995f@xymon.invalid SERVICE=http
MAIL user-c423191234b5@xymon.invalid SERVICE=http

I know the http is down from that host so i gave it a shot, i saved and
rebooted but it doesn't seem to work.

Any ideas what might be wrong?
Have you checked your mail log, and your local SMTP server
configuration, to see if you can actually send email?

-- 
                 Please keep list traffic on the list.

Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche
list Adam Tetz · Wed, 20 Feb 2008 12:00:27 +0100 ·
how do i do that in debian?

2008/2/20, Rob MacGregor <user-07c9d92ae079@xymon.invalid>:
quoted from Adam Tetz
On Feb 20, 2008 9:30 AM, Adam Tetz <user-46580519995f@xymon.invalid> wrote:
I would like to set up a hobbit alert,so I wrote in the
hobbit-alerts.cfg:

HOST=WS004:81
MAIL user-46580519995f@xymon.invalid SERVICE=http
MAIL user-c423191234b5@xymon.invalid SERVICE=http

I know the http is down from that host so i gave it a shot, i saved and
rebooted but it doesn't seem to work.

Any ideas what might be wrong?
Have you checked your mail log, and your local SMTP server
configuration, to see if you can actually send email?

--
                Please keep list traffic on the list.

Rob MacGregor
     Whoever fights monsters should see to it that in the process he
       doesn't become a monster.                  Friedrich Nietzsche

-- 

Groetjes,

Adam Tetz
list Rob MacGregor · Wed, 20 Feb 2008 11:24:45 +0000 ·
On Feb 20, 2008 11:00 AM, Adam Tetz <user-46580519995f@xymon.invalid> wrote:
how do i do that in debian?
Note, I don't use Debian.

1) The mail log will almost certainly be under /var/log and will be
titled something starting with "mail".  There may be multiple files
(mail.info, mail.err etc).

2) Checking the mail server depends on what you have installed,
Sendmail, Postfix, Exim (or something else).  You'll probably find
that "mailq" will work, but may not.

3) Try sending a mail from the command line - see what happens.

Of course, that you're asking suggests that you may not even have a
local SMTP server, never mind have it correctly configured.  I suggest
you take a trip to the Debian mailing lists/forums/whatever and get
help there in getting your SMTP server installed and configured.
quoted from Adam Tetz

-- 
                 Please keep list traffic on the list.

Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche
list Adam Tetz · Wed, 20 Feb 2008 13:48:22 +0100 ·
Hi ,
quoted from Rob MacGregor

1) The mail log will almost certainly be under /var/log and will be
titled something starting with "mail".  There may be multiple files
(mail.info, mail.err etc).

These are empty!
quoted from Rob MacGregor


2) Checking the mail server depends on what you have installed,
Sendmail, Postfix, Exim (or something else).  You'll probably find
that "mailq" will work, but may not.

I can see a folder Exim4 so i presume i have exim.


Is there a manual for setting up e-mail?


-- 
Regards,

Adam Tetz
list Rob MacGregor · Wed, 20 Feb 2008 13:44:21 +0000 ·
On Wed, Feb 20, 2008 at 12:48 PM, Adam Tetz <user-46580519995f@xymon.invalid> wrote:
I can see a folder Exim4 so i presume i have exim.


Is there a manual for setting up e-mail?
http://www.exim.org/docs.html
http://www.debian.org/support

-- 
 Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the process he
 doesn't become a monster. Friedrich Nietzsche
list Adam Tetz · Wed, 20 Feb 2008 15:48:25 +0100 ·
I think there is a e-mail account installed because with "mailq" shows :

48h        6.8k    1jrcnm-0000l3-3h <> *** frozen ***
                  user-09dcc036b3a8@xymon.invalid

How can i install an other e-mail account?
-- 
Regards,

Adam Tetz
list Charles Jones · Wed, 20 Feb 2008 09:18:39 -0700 ·
quoted from Adam Tetz
Adam Tetz wrote:
I would like to set up a hobbit alert,so I wrote in the hobbit-alerts.cfg:
 HOST=WS004:81

MAIL user-46580519995f@xymon.invalid <mailto:user-46580519995f@xymon.invalid> SERVICE=http
MAIL user-c423191234b5@xymon.invalid <mailto:user-c423191234b5@xymon.invalid> SERVICE=http
quoted from Adam Tetz
 I know the http is down from that host so i gave it a shot, i saved and rebooted but it doesn't seem to work.
 Any ideas what might be wrong?
Unless the ":81" is part of the actual hostname, it shouldn't be there, and instead should just be:
HOST=WS004

Be sure the hostname matches the same name you are using in your bb-hosts file.

-Charles
list Adam Tetz · Wed, 20 Feb 2008 18:41:44 +0100 ·
nah it's a part of the name :D

2008/2/20, Charles Jones <user-e86b4aeade4e@xymon.invalid>:
quoted from Adam Tetz
 Adam Tetz wrote:

I would like to set up a hobbit alert,so I wrote in the hobbit-alerts.cfg:

HOST=WS004:81
MAIL user-46580519995f@xymon.invalid SERVICE=http
MAIL user-c423191234b5@xymon.invalid SERVICE=http

I know the http is down from that host so i gave it a shot, i saved and
rebooted but it doesn't seem to work.

Any ideas what might be wrong?

Unless the ":81" is part of the actual hostname, it shouldn't be there,
and instead should just be:
HOST=WS004

Be sure the hostname matches the same name you are using in your bb-hosts
file.

-Charles
-- 

Groetjes,

Adam Tetz
list Greg L Hubbard · Wed, 20 Feb 2008 12:06:36 -0600 ·
Well, well.  If your host names are allowed to include colons, I bet
lots of software gets confused, including DNS!
 
But you might need to change to the regular expression form of matching
-- stick a % in front and see if that helps.  But since colons are not
allowed in DNS names, and they indicate ports, you may be "up the
creek".
quoted from Adam Tetz


	From: Adam Tetz [mailto:user-46580519995f@xymon.invalid] 
	Sent: Wednesday, February 20, 2008 11:42 AM
	To: user-ae9b8668bcde@xymon.invalid
	Subject: Re: [hobbit] Alert function wont work!
	
	
	nah it's a part of the name :D
	
	
	2008/2/20, Charles Jones <user-e86b4aeade4e@xymon.invalid>: 

		Adam Tetz wrote: 

			I would like to set up a hobbit alert,so I wrote
in the hobbit-alerts.cfg:
			 
			HOST=WS004:81
			MAIL user-46580519995f@xymon.invalid SERVICE=http
			MAIL user-c423191234b5@xymon.invalid SERVICE=http
			 
			I know the http is down from that host so i gave
it a shot, i saved and rebooted but it doesn't seem to work.
			 
			Any ideas what might be wrong?

		Unless the ":81" is part of the actual hostname, it
shouldn't be there, and instead should just be:
		HOST=WS004
		
		Be sure the hostname matches the same name you are using
in your bb-hosts file.
		
		-Charles
		

	-- 
	Groetjes,
	
	Adam Tetz