Xymon Mailing List Archive search

hobbit alerts

25 messages in this thread

list Kevin Hanrahan · Sat, 22 Jan 2005 15:22:42 -0500 ·
Hello all,

 I can't seem to get any alerts to work. I have configured a very simple
rule:

 
HOST=nemesis

        MAIL user-8539fe032c5c@xymon.invalid <mailto:user-8539fe032c5c@xymon.invalid> 

 
I purposely made something on that host go RED and I get no alerts. Please
tell me where I made my mistake?

 
Thank you.

 
KEvin
list Henrik Størner · Sat, 22 Jan 2005 23:03:41 +0100 ·
quoted from Kevin Hanrahan
On Sat, Jan 22, 2005 at 03:22:42PM -0500, Kevin Hanrahan wrote:
Hello all,

 I can't seem to get any alerts to work. I have configured a very simple
rule:
HOST=nemesis

        MAIL user-8539fe032c5c@xymon.invalid <mailto:user-8539fe032c5c@xymon.invalid>
Leave out the "<mailto...>" stuff, it doesn't belong in any
config-file.

But I have been doing some work on the alert module, so do try it out
with the new version I'll release tomorrow. I still haven't decided if
it's going to be "beta-6" or "release candidate 1".

Alerts in the current betas are rather flaky, unless you happen to 
set things up just the way I do.


Henrik
list Kimberly McKinnis · Sat, 22 Jan 2005 14:26:39 -0800 ·
The mailto was a product of html mail. In plaintext it only shows the
email.
quoted from Henrik Størner

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Saturday, January 22, 2005 2:04 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit alerts

On Sat, Jan 22, 2005 at 03:22:42PM -0500, Kevin Hanrahan wrote:
Hello all,

 I can't seem to get any alerts to work. I have configured a very 
simple
rule:
HOST=nemesis

        MAIL user-8539fe032c5c@xymon.invalid <mailto:user-8539fe032c5c@xymon.invalid>
Leave out the "<mailto...>" stuff, it doesn't belong in any config-file.

But I have been doing some work on the alert module, so do try it out
with the new version I'll release tomorrow. I still haven't decided if
it's going to be "beta-6" or "release candidate 1".

Alerts in the current betas are rather flaky, unless you happen to set
things up just the way I do.


Henrik
list Christopher T. Beers · Sat, 22 Jan 2005 18:37:28 -0500 ·
which is??  Would love to see a sanitized alerts cfg file.

Chris

--On January 22, 2005 11:03:41 PM +0100 Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> 
quoted from Kimberly McKinnis
wrote:

| Alerts in the current betas are rather flaky, unless you happen to
| set things up just the way I do.
list Henrik Størner · Sun, 23 Jan 2005 08:01:19 +0000 (UTC) ·
quoted from Christopher T. Beers
In <user-f86c683a295b@xymon.invalid> "Christopher T. Beers" <user-96213c045646@xymon.invalid> writes:

--On January 22, 2005 11:03:41 PM +0100 Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> 
wrote:
| Alerts in the current betas are rather flaky, unless you happen to
| set things up just the way I do.
which is??  Would love to see a sanitized alerts cfg file.
It's not so much a question of how to setup the hobbit-alerts.cfg
file, but more of doing things in the right sequence; since the
current betas only trigger alerts when a status changes, you need the
alert configuration to be setup and hobbitd running before the status
goes red.

But since you asked, here's the alert config I use for the sites
shown on http://www.hswn.dk/hobbit/

# Two routers I was monitoring for just ping.
HOST=router1.aab11.dk,router2.aab11.dk SERVICE=conn
        MAIL user-9cf7e6d10c2e@xymon.invalid REPEAT=60

# This is actually the most important rule to me. All hosts
# except the listed ones match this rule, and I get alerts
# for all services except "dnsinfo". red and yellow alerts
# repeat every 15 minutes, purple ones only once a day.
HOST=!pto.linuxbog.dk,!router1.aab11.dk,!router2.aab11.dk SERVICE=!dnsinfo
        MAIL user-ce4a2c883f75@xymon.invalid REPEAT=15 RECOVERED COLORS=!purple
        MAIL user-ce4a2c883f75@xymon.invalid REPEAT=1440 COLORS=purple

# And a simple rule for testing alerts via a script.
SERVICE=test
        SCRIPT /home/henrik/bbalert.sh user-ce4a2c883f75@xymon.invalid RECOVERED


Henrik
list Ryan Jay B. Lapuz · Tue, 17 Jul 2007 12:57:42 +0800 ·
Good day!

I can't make the hobbit alerts work.. Hobbit server is installed in a computer w/o dns settings, and we have our own email server. how can I make the hobbit server to send email notifications to our email server on which my email resides?
Please help!
Thanks in advance

Ryan
list Ryan Jay B. Lapuz · Tue, 17 Jul 2007 14:31:14 +0800 ·
Good day!

I can't make the hobbit alerts work.. Hobbit server is installed in a computer w/o dns settings, and we have our own email server. how can I make the hobbit server to send email notifications to our email server on which my email resides?
Please help!
Thanks in advance

Ryan
list Sello Tlabela SD · Tue, 17 Jul 2007 10:30:24 +0200 ·
On what machine is Hobbit install, windows or Linux

 
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-68d80b7df288@xymon.invalid <mailto:user-68d80b7df288@xymon.invalid>  |
Office: +XX XX XXX XXXX | Fax: +XX XX XXX XXXX | Cell: +XX XX XXX XXXX
quoted from Ryan Jay B. Lapuz


From: Ryan Jay B. Lapuz [mailto:user-945139049f37@xymon.invalid] 
Sent: 17 July 2007 06:58
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] hobbit alerts

 
Good day!

 
I can't make the hobbit alerts work.. Hobbit server is installed in a
computer w/o dns settings, and we have our own email server. how can I
make the hobbit server to send email notifications to our email server
on which my email resides?

Please help!

Thanks in advance

 
Ryan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at 
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
list Ryan Jay B. Lapuz · Tue, 17 Jul 2007 16:38:10 +0800 ·
It is installed in Fedora Core 6. sendmail is already running but i am not sure of its configuration.
when i check the /var/log/hobbit/notifications.log, i can see all the alerts but i was not able to receive them though my email.
thanks!
quoted from Sello Tlabela SD

  ----- Original Message ----- 
  From: Sello Tlabela (SD) 
  To: user-ae9b8668bcde@xymon.invalid 
  Sent: Tuesday, July 17, 2007 4:30 PM
  Subject: RE: [hobbit] hobbit alerts


  On what machine is Hobbit install, windows or Linux

   
  Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
  E-Mail:  user-68d80b7df288@xymon.invalid | Office: +XX XX XXX XXXX | Fax: +XX XX XXX XXXX | Cell: +XX XX XXX XXXX


  From: Ryan Jay B. Lapuz [mailto:user-945139049f37@xymon.invalid] 
  Sent: 17 July 2007 06:58
  To: user-ae9b8668bcde@xymon.invalid
  Subject: [hobbit] hobbit alerts

   
  Good day!

   
  I can't make the hobbit alerts work.. Hobbit server is installed in a computer w/o dns settings, and we have our own email server. how can I make the hobbit server to send email notifications to our email server on which my email resides?

  Please help!

  Thanks in advance

   
  Ryan

        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        This e-mail and its contents are subject to the Telkom SA Limited
        e-mail legal notice available at 
        http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
list Sello Tlabela SD · Tue, 17 Jul 2007 10:55:16 +0200 ·
Do echo test | mail -s test youremailaddress and then tail -f
/var/log/maillog and check the relay server it should show something
similar to below

 
Message accepted for delivery 

 
The red is your mail relay server you don't have to set it, 

 
The other problem could be that in your /etc/hosts file you don't have
FQDN

 
127.0.0.1               localhost.localdomain localhost

162.168.2.3          logserver.domain.co.za logserver

 
Regards,
signature

Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-68d80b7df288@xymon.invalid <mailto:user-68d80b7df288@xymon.invalid>  |
Office: +XX XX XXX XXXX | Fax: +XX XX XXX XXXX | Cell: +XX XX XXX XXXX


quoted from Ryan Jay B. Lapuz
From: Ryan Jay B. Lapuz [mailto:user-945139049f37@xymon.invalid] 
Sent: 17 July 2007 10:38
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit alerts

 
It is installed in Fedora Core 6. sendmail is already running but i am
not sure of its configuration.

when i check the /var/log/hobbit/notifications.log, i can see all the
alerts but i was not able to receive them though my email.

thanks!

 
	----- Original Message ----- 

	From: Sello Tlabela (SD) <mailto:user-68d80b7df288@xymon.invalid>  

	To: user-ae9b8668bcde@xymon.invalid 

	Sent: Tuesday, July 17, 2007 4:30 PM

	Subject: RE: [hobbit] hobbit alerts

	 
	On what machine is Hobbit install, windows or Linux

	 
	Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
	E-Mail:  user-68d80b7df288@xymon.invalid <mailto:user-68d80b7df288@xymon.invalid>
| Office: +XX XX XXX XXXX | Fax: +XX XX XXX XXXX | Cell: +XX XX XXX

5706
quoted from Ryan Jay B. Lapuz

	
	From: Ryan Jay B. Lapuz [mailto:user-945139049f37@xymon.invalid] 
	Sent: 17 July 2007 06:58
	To: user-ae9b8668bcde@xymon.invalid
	Subject: [hobbit] hobbit alerts

	 
	Good day!

	 
	I can't make the hobbit alerts work.. Hobbit server is
installed in a computer w/o dns settings, and we have our own email
server. how can I make the hobbit server to send email notifications
to our email server on which my email resides?

	Please help!

	Thanks in advance

	 
	Ryan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at 
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

	 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at 
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
list Ryan Jay B. Lapuz · Tue, 17 Jul 2007 19:19:45 +0800 ·
this is the output of tail /var/log/maillog:

Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: from=root, size=48, class=0, nrcpts=1, msgid=<2007
user-ed2ac349f776@xymon.invalid>, relay=root at localhost
Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: to=user-945139049f37@xymon.invalid, delay=00:00:00, mailer
=esmtp, pri=30048, dsn=4.4.3, stat=queued

the status says it is queued by i never receive them.. any ideas?
I already edited /etc/hosts file
quoted from Sello Tlabela SD
  ----- Original Message ----- 
  From: Sello Tlabela (SD) 
  To: user-ae9b8668bcde@xymon.invalid 
  Sent: Tuesday, July 17, 2007 4:55 PM
  Subject: RE: [hobbit] hobbit alerts


  Do echo test | mail -s test youremailaddress and then tail -f /var/log/maillog and check the relay server it should show something similar to below

   
  Message accepted for delivery 

   
  The red is your mail relay server you don't have to set it, 

   
  The other problem could be that in your /etc/hosts file you don't have FQDN

   
  127.0.0.1               localhost.localdomain localhost

  162.168.2.3          logserver.domain.co.za logserver

   
  Regards,

  Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
  E-Mail:  user-68d80b7df288@xymon.invalid | Office: +XX XX XXX XXXX | Fax: +XX XX XXX XXXX | Cell: +XX XX XXX XXXX


  From: Ryan Jay B. Lapuz [mailto:user-945139049f37@xymon.invalid] 
  Sent: 17 July 2007 10:38
  To: user-ae9b8668bcde@xymon.invalid
  Subject: Re: [hobbit] hobbit alerts

   
  It is installed in Fedora Core 6. sendmail is already running but i am not sure of its configuration.

  when i check the /var/log/hobbit/notifications.log, i can see all the alerts but i was not able to receive them though my email.

  thanks!

   
    ----- Original Message ----- 

    From: Sello Tlabela (SD) 

    To: user-ae9b8668bcde@xymon.invalid 

    Sent: Tuesday, July 17, 2007 4:30 PM

    Subject: RE: [hobbit] hobbit alerts

     
    On what machine is Hobbit install, windows or Linux

     
    Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
    E-Mail:  user-68d80b7df288@xymon.invalid | Office: +XX XX XXX XXXX | Fax: +XX XX XXX XXXX | Cell: +XX XX XXX XXXX


    From: Ryan Jay B. Lapuz [mailto:user-945139049f37@xymon.invalid] 
    Sent: 17 July 2007 06:58
    To: user-ae9b8668bcde@xymon.invalid
    Subject: [hobbit] hobbit alerts

     
    Good day!

     
    I can't make the hobbit alerts work.. Hobbit server is installed in a computer w/o dns settings, and we have our own email server. how can I make the hobbit server to send email notifications to our email server on which my email resides?

    Please help!

    Thanks in advance

     
    Ryan

          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          This e-mail and its contents are subject to the Telkom SA Limited
          e-mail legal notice available at 
          http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         

        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        This e-mail and its contents are subject to the Telkom SA Limited
        e-mail legal notice available at 
        http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
list Henrik Størner · Tue, 17 Jul 2007 13:51:21 +0200 ·
quoted from Ryan Jay B. Lapuz
On Tue, Jul 17, 2007 at 07:19:45PM +0800, Ryan Jay B. Lapuz wrote:
this is the output of tail /var/log/maillog:

Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: from=root, size=48, class=0, nrcpts=1, msgid=<2007
user-ed2ac349f776@xymon.invalid>, relay=root at localhost
Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: to=user-945139049f37@xymon.invalid, delay=00:00:00, mailer
=esmtp, pri=30048, dsn=4.4.3, stat=queued
Personally, I try to avoid sendmail like the plague ...

You need to edit your sendmail config and setup a "smarthost" that
handles your outgoing mail. It's the "DS" setting in sendmail.cf, but
I don't know if there are special config tools for your OS distro - it
might use the M4-based configuration files to build a sendmail.cf.

It may also be necessary to setup the "DM" (masquerade as) setting to
give your outbound mail a sensible domain as part of the sender-address.


Regards,
Henrik
list Rob MacGregor · Tue, 17 Jul 2007 12:54:57 +0100 ·
quoted from Ryan Jay B. Lapuz
On 7/17/07, Ryan Jay B. Lapuz <user-945139049f37@xymon.invalid> wrote:

this is the output of tail  /var/log/maillog:

Jul 17 18:59:39 kaidemitsui sendmail[5428]:  l6HAxdVN005428: from=root, size=48, class=0, nrcpts=1,  msgid=<2007
user-ed2ac349f776@xymon.invalid>, relay=root at localhost
Jul 17 18:59:39  kaidemitsui sendmail[5428]: l6HAxdVN005428: to=user-945139049f37@xymon.invalid, delay=00:00:00,  mailer
=esmtp, pri=30048, dsn=4.4.3, stat=queued

the status says it is queued by i never receive  them.. any ideas?
I already edited /etc/hosts file
You need to tell Sendmail what to do with the email.  By default it
looks up the MX record for the relevant domain, obviously with no DNS
that won't work :)

So, what you need to do is configure a "Smart Host" and put that value
in square brackets to tell Sendmail not to do any DNS lookups.  Put
the following in your sendmail.mc file (replacing the word
"mailserver" with the name of the server in /etc/hosts), rebuild
sendmail.cf and then restart sendmail:

define(`SMART_HOST', `[mailserver]')

Note that you'll want to copy and paste - the quotes used are
significant.  The sendmail documentation details more:

http://www.sendmail.org/doc/sendmail-current/cf/README

-- 
                 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 Sello Tlabela SD · Tue, 17 Jul 2007 14:17:32 +0200 ·
What is the output of hostname command
signature

 
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-68d80b7df288@xymon.invalid <mailto:user-68d80b7df288@xymon.invalid>  |
Office: +XX XX XXX XXXX | Fax: +XX XX XXX XXXX | Cell: +XX XX XXX XXXX


quoted from Ryan Jay B. Lapuz
From: Ryan Jay B. Lapuz [mailto:user-945139049f37@xymon.invalid] 
Sent: 17 July 2007 13:20
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit alerts

 
this is the output of tail /var/log/maillog:

 
Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428: from=root,
size=48, class=0, nrcpts=1, msgid=<2007
user-ed2ac349f776@xymon.invalid

<mailto:user-ed2ac349f776@xymon.invalid> >,
relay=root at localhost <mailto:relay=root at localhost> 
Jul 17 18:59:39 kaidemitsui sendmail[5428]: l6HAxdVN005428:
to=user-945139049f37@xymon.invalid <mailto:to=user-945139049f37@xymon.invalid> ,
quoted from Ryan Jay B. Lapuz
delay=00:00:00, mailer
=esmtp, pri=30048, dsn=4.4.3, stat=queued

 
the status says it is queued by i never receive them.. any ideas?

I already edited /etc/hosts file

	----- Original Message ----- 

	From: Sello Tlabela (SD) <mailto:user-68d80b7df288@xymon.invalid>  

	To: user-ae9b8668bcde@xymon.invalid 

	Sent: Tuesday, July 17, 2007 4:55 PM

	Subject: RE: [hobbit] hobbit alerts

	 
	Do echo test | mail -s test youremailaddress and then tail -f
/var/log/maillog and check the relay server it should show something
similar to below

	 
	Message accepted for delivery 

	 
	The red is your mail relay server you don't have to set it, 

	 
	The other problem could be that in your /etc/hosts file you
don't have FQDN

	 
	127.0.0.1               localhost.localdomain localhost

	162.168.2.3          logserver.domain.co.za logserver

	 
	Regards,

	Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
	E-Mail:  user-68d80b7df288@xymon.invalid <mailto:user-68d80b7df288@xymon.invalid>
| Office: +XX XX XXX XXXX | Fax: +XX XX XXX XXXX | Cell: +XX XX XXX
5706

	
	From: Ryan Jay B. Lapuz [mailto:user-945139049f37@xymon.invalid] 
	Sent: 17 July 2007 10:38
	To: user-ae9b8668bcde@xymon.invalid
	Subject: Re: [hobbit] hobbit alerts

	 
	It is installed in Fedora Core 6. sendmail is already running
but i am not sure of its configuration.

	when i check the /var/log/hobbit/notifications.log, i can see
all the alerts but i was not able to receive them though my email.

	thanks!

	 
		----- Original Message ----- 

		From: Sello Tlabela (SD)

		To: user-ae9b8668bcde@xymon.invalid 

		Sent: Tuesday, July 17, 2007 4:30 PM

		Subject: RE: [hobbit] hobbit alerts

		 
		On what machine is Hobbit install, windows or Linux

		 
		Sello Tlabela | Ops Specialist | ISS Infrastructure |
Telkom
		E-Mail:  user-68d80b7df288@xymon.invalid

<mailto:user-68d80b7df288@xymon.invalid>  | Office: +XX XX XXX XXXX | Fax: +27
12 680 3299 | Cell: +XX XX XXX XXXX
quoted from Ryan Jay B. Lapuz

		
		From: Ryan Jay B. Lapuz
[mailto:user-945139049f37@xymon.invalid] 
		Sent: 17 July 2007 06:58
		To: user-ae9b8668bcde@xymon.invalid
		Subject: [hobbit] hobbit alerts

		 
		Good day!

		 
		I can't make the hobbit alerts work.. Hobbit server is
installed in a computer w/o dns settings, and we have our own email
server. how can I make the hobbit server to send email notifications
to our email server on which my email resides?

		Please help!

		Thanks in advance

		 
		Ryan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at 
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

		 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at 
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

	 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at 
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
list Ryan Jay B. Lapuz · Tue, 17 Jul 2007 20:29:15 +0800 ·
[root at kaidemitsui local]# hostname
kaidemitsui
  ----- Original Message -----   From: Sello Tlabela (SD)   To: user-ae9b8668bcde@xymon.invalid   Sent: Tuesday, July 17, 2007 8:17 PM
quoted from Sello Tlabela SD
  Subject: RE: [hobbit] hobbit alerts


  What is the output of hostname command
list Sello Tlabela SD · Tue, 17 Jul 2007 14:41:45 +0200 ·
Edit your /etc/sysconfig/network file and append .domain.com to your
hostname eg make it kaidemitsui.yourdomainname.com 
signature

 
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-68d80b7df288@xymon.invalid <mailto:user-68d80b7df288@xymon.invalid>  |
Office: +XX XX XXX XXXX | Fax: +XX XX XXX XXXX | Cell: +XX XX XXX XXXX


quoted from Ryan Jay B. Lapuz
From: Ryan Jay B. Lapuz [mailto:user-945139049f37@xymon.invalid] 
Sent: 17 July 2007 14:29
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit alerts

 
[root at kaidemitsui local]# hostname
kaidemitsui

	----- Original Message ----- 

	From: Sello Tlabela (SD) <mailto:user-68d80b7df288@xymon.invalid>  

	To: user-ae9b8668bcde@xymon.invalid 

	Sent: Tuesday, July 17, 2007 8:17 PM

	Subject: RE: [hobbit] hobbit alerts

	 
	What is the output of hostname command

	 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at 
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
list Ryan Jay B. Lapuz · Wed, 18 Jul 2007 10:38:48 +0800 ·
thanks to all of you.. alerts on my hobbit server is now operational..
quoted from Rob MacGregor

----- Original Message ----- 
From: "Rob MacGregor" <user-07c9d92ae079@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Tuesday, July 17, 2007 7:54 PM
Subject: Re: [hobbit] hobbit alerts

On 7/17/07, Ryan Jay B. Lapuz <user-945139049f37@xymon.invalid> wrote:

this is the output of tail  /var/log/maillog:

Jul 17 18:59:39 kaidemitsui sendmail[5428]:  l6HAxdVN005428: from=root, 
size=48, class=0, nrcpts=1,  msgid=<2007
user-ed2ac349f776@xymon.invalid>, relay=root at localhost
Jul 17 18:59:39  kaidemitsui sendmail[5428]: l6HAxdVN005428: 
to=user-945139049f37@xymon.invalid, delay=00:00:00,  mailer
=esmtp, pri=30048, dsn=4.4.3, stat=queued

the status says it is queued by i never receive  them.. any ideas?
I already edited /etc/hosts file
You need to tell Sendmail what to do with the email.  By default it
looks up the MX record for the relevant domain, obviously with no DNS
that won't work :)

So, what you need to do is configure a "Smart Host" and put that value
in square brackets to tell Sendmail not to do any DNS lookups.  Put
the following in your sendmail.mc file (replacing the word
"mailserver" with the name of the server in /etc/hosts), rebuild
sendmail.cf and then restart sendmail:

define(`SMART_HOST', `[mailserver]')

Note that you'll want to copy and paste - the quotes used are
significant.  The sendmail documentation details more:

http://www.sendmail.org/doc/sendmail-current/cf/README

-- 
                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 Ryan Jay B. Lapuz · Sat, 21 Jul 2007 09:13:49 +0800 ·
Good day!

Is this possible?

I want to see the log messages in red in the hobbit display if there is a critical alert, but i don't want to receive them in my email.

thanks!
      RYAN JAY B. LAPUZ       Client-Server Group
      Information System Support       Management Information System       Fujitsu Comp. Prod. Corp. of the Phil.       Email: user-945139049f37@xymon.invalid       +63 2 843 2002 / +63 49 549 1501
      Local No.: 2724/2723
list Stewart Larsen · Sat, 21 Jul 2007 03:25:30 +0000 ·
Sure.  Simply don't set up email alerts.  
--
Stewart
quoted from Ryan Jay B. Lapuz

-----Original Message-----
From: "Ryan Jay B. Lapuz" <user-945139049f37@xymon.invalid>

Date: Sat, 21 Jul 2007 09:13:49 To:<user-ae9b8668bcde@xymon.invalid>
Subject: [hobbit] hobbit alerts


Good day!   Is this possible?   I want to see the log messages in red in the hobbit display if there is a critical alert, but i don't want to receive them in my email.   thanks!   -----------------------------------------------
RYAN JAY B. LAPUZ Client-Server Group

 <http://system.fcpp.fujitsu.com/>; Information System Support Management Information System Fujitsu Comp. Prod. Corp. of the Phil. Email:  <mailto:user-945139049f37@xymon.invalid > user-945139049f37@xymon.invalid +63 2 843 2002 / +63 49 549 1501
Local No.: 2724/2723
list Ryan Jay B. Lapuz · Sat, 21 Jul 2007 16:24:44 +0800 ·
I mean only for log messages/event viewer...
quoted from Stewart Larsen

----- Original Message ----- 
From: "Stewart Larsen" <user-4bb0ef2a7550@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Saturday, July 21, 2007 11:25 AM
Subject: Re: [hobbit] hobbit alerts

Sure.  Simply don't set up email alerts.

--
Stewart

-----Original Message-----
From: "Ryan Jay B. Lapuz" <user-945139049f37@xymon.invalid>

Date: Sat, 21 Jul 2007 09:13:49
To:<user-ae9b8668bcde@xymon.invalid>
Subject: [hobbit] hobbit alerts


Good day!

Is this possible?

I want to see the log messages in red in the hobbit display if there is a 
critical alert, but i don't want to receive them in my email.

thanks!

list Henrik Størner · Sat, 21 Jul 2007 16:12:50 +0200 ·
quoted from Ryan Jay B. Lapuz
On Sat, Jul 21, 2007 at 04:24:44PM +0800, Ryan Jay B. Lapuz wrote:
I mean only for log messages/event viewer...
Your alert configuration can include/exclude hosts and tests.
Since you're getting e-mails, there must be some sort of alert
config already setup in hobbit-alerts.cfg - just change that to
exclude the "msgs" service. E.g.

HOST=*
	MAIL user-ad1585633857@xymon.invalid EXSERVICE=msgs

See the hobbit-alerts.cfg man-page for more details.


Regards,
Henrik
list Ryan Jay B. Lapuz · Wed, 25 Jul 2007 07:39:36 +0800 ·
Good day!

HOST=* COLOR=yellow SERVICE=* EXSERVICE=msgs,cpu,memory REPEAT=5h RECOVERED
    MAIL user-d636aa00e822@xymon.invalid

Referring to the above syntax, it means that i'll be receiving alerts for color red and yellow right?
What if the service is already in yellow alert for an hour then I received the email notification, and then it becomes a red alert sooner than the specified REPEAT time, Is it normal that I will no longer receive an email notification for the red alert? Co'z I didn't receive one for the red alert.

Thanks!

Ryan
list Ryan Jay B. Lapuz · Wed, 25 Jul 2007 08:19:56 +0800 ·
Good day!

HOST=* COLOR=yellow,red SERVICE=* EXSERVICE=msgs,cpu,memory REPEAT=5h RECOVERED
quoted from Ryan Jay B. Lapuz
    MAIL user-d636aa00e822@xymon.invalid

Referring to the above syntax, it means that i'll be receiving alerts for color red and yellow right?
What if the service is already in yellow alert for an hour then I received the email notification, and then it becomes a red alert sooner than the specified REPEAT time, Is it normal that I will no longer receive an email notification for the red alert? Co'z I didn't receive one for the red alert.

Thanks!

Ryan
list Henrik Størner · Wed, 25 Jul 2007 07:28:55 +0200 ·
quoted from Ryan Jay B. Lapuz
On Wed, Jul 25, 2007 at 08:19:56AM +0800, Ryan Jay B. Lapuz wrote:
Good day!

HOST=* COLOR=yellow,red SERVICE=* EXSERVICE=msgs,cpu,memory REPEAT=5h RECOVERED
    MAIL user-d636aa00e822@xymon.invalid

Referring to the above syntax, it means that i'll be receiving alerts for color red and yellow right?
Yes
What if the service is already in yellow alert for an hour then I received the email notification, and then it becomes a red alert sooner than the specified REPEAT time, Is it normal that I will no longer receive an email notification for the red alert? Co'z I didn't receive one for the red alert.
Yes, that is how it works.


Regards,
Henrik
list Ryan Jay B. Lapuz · Wed, 25 Jul 2007 13:47:41 +0800 ·
Thanks Henrik!

----- Original Message ----- 
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, July 25, 2007 1:28 PM
Subject: Re: [hobbit] Hobbit Alerts

On Wed, Jul 25, 2007 at 08:19:56AM +0800, Ryan Jay B. Lapuz wrote:
Good day!

HOST=* COLOR=yellow,red SERVICE=* EXSERVICE=msgs,cpu,memory REPEAT=5h 
RECOVERED
    MAIL user-d636aa00e822@xymon.invalid

Referring to the above syntax, it means that i'll be receiving
alerts for color red and yellow right?
Yes
What if the service is already in yellow alert for an hour then I
received the email notification, and then it becomes a red alert
sooner than the specified REPEAT time, Is it normal that I will no
longer receive an email notification for the red alert? Co'z I didn't
receive one for the red alert.
Yes, that is how it works.


Regards,
Henrik