Alert function wont work!
list Adam Tetz
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
▸
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
how do i do that in debian? 2008/2/20, Rob MacGregor <user-07c9d92ae079@xymon.invalid>:
▸
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
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.
▸
--
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
Hi ,
▸
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!
▸
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
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
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
▸
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
▸
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
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
list Greg L Hubbard
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".
▸
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