<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
1 Step Closer, thanx guys...<br>
<br>
I am still not getting emails alerts when I run  hobbitd_alert by hand.
Although I do get alerts from the hobbit server when things break.<br>
<br>
here is the output below, I think it is because the alert is not
creating text in the body so the 'mail ' command is hanging. Any work
arounds for this??? <br>
<br>
-----------------------------<br>
<br>
[hobbit@chickeen hobbit]$ bbcmd hobbitd_alert --test v43mgt conn<br>
2006-10-26 09:24:01 Using default environment file
/home/hobbit/server/etc/hobbitserver.cfg<br>
00024942 2006-10-26 09:24:01 send_alert v43mgt:conn state Paging<br>
00024942 2006-10-26 09:24:01 Matching host:service:page 'v43mgt:conn:'
against rule line 129<br>
00024942 2006-10-26 09:24:01 *** Match with 'HOST=*' ***<br>
00024942 2006-10-26 09:24:01 Matching host:service:page 'v43mgt:conn:'
against rule line 129<br>
00024942 2006-10-26 09:24:01 *** Match with 'HOST=*' ***<br>
00024942 2006-10-26 09:24:01 Mail alert with command 'mail -s "Hobbit
[12345] v43mgt:conn CRITICAL (RED)" <a class="moz-txt-link-abbreviated" href="mailto:mprice@hst.nasa.gov">mprice@hst.nasa.gov</a>'<br>
00024942 2006-10-26 09:24:01 Matching host:service:page 'v43mgt:conn:'
against rule line 131<br>
00024942 2006-10-26 09:24:01 Failed 'HOST=maina' (hostname not in
include list)<br>
<br>
----------------------------------<br>
<br>
thanx, michael<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">Michael A. Price
Performance Network Engineering
NASA/GSFC Code 440.8/LMB
Greenbelt, Maryland 20770
            Phone:  240-684-1356
            Cell:   410-507-7476
            e-mail: <a class="moz-txt-link-abbreviated" href="mailto:mprice@hst.nasa.gov">mprice@hst.nasa.gov</a>
----------------------------------------------

</pre>
<br>
<br>
Henrik Stoerner wrote:
<blockquote cite="mid20061023204707.GA31851@hswn.dk" type="cite">
  <pre wrap="">On Mon, Oct 23, 2006 at 07:02:07PM +0200, Lars Ebeling wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">When I run hobbitd_alert I get this:

$ ./hobbitd_alert --test leopg9 msgs
    </pre>
  </blockquote>
  <pre wrap=""><!---->
When running hobbit commands by hand, ALWAYS run them through the
"bbcmd" utility. This makes sure all of the settings from
hobbitserver.cfg are loaded. So:

$ bbcmd hobbitd_alert --test ......

If you don't do that, then hobbitd_alert will pick up whatever value
your MAIL environment has, instead of the one from hobbitserver.cfg.


Regards,
Henrik


To unsubscribe from the hobbit list, send an e-mail to
<a class="moz-txt-link-abbreviated" href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a>


  </pre>
</blockquote>
</body>
</html>