SV: SV: [hobbit] hobbitd_alert command is not working ( maybe )

Michael A. Price mprice at hst.nasa.gov
Thu Oct 26 15:26:37 CEST 2006


1 Step Closer, thanx guys...

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.

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???

-----------------------------

[hobbit at chickeen hobbit]$ bbcmd hobbitd_alert --test v43mgt conn
2006-10-26 09:24:01 Using default environment file 
/home/hobbit/server/etc/hobbitserver.cfg
00024942 2006-10-26 09:24:01 send_alert v43mgt:conn state Paging
00024942 2006-10-26 09:24:01 Matching host:service:page 'v43mgt:conn:' 
against rule line 129
00024942 2006-10-26 09:24:01 *** Match with 'HOST=*' ***
00024942 2006-10-26 09:24:01 Matching host:service:page 'v43mgt:conn:' 
against rule line 129
00024942 2006-10-26 09:24:01 *** Match with 'HOST=*' ***
00024942 2006-10-26 09:24:01 Mail alert with command 'mail -s "Hobbit 
[12345] v43mgt:conn CRITICAL (RED)" mprice at hst.nasa.gov'
00024942 2006-10-26 09:24:01 Matching host:service:page 'v43mgt:conn:' 
against rule line 131
00024942 2006-10-26 09:24:01 Failed 'HOST=maina' (hostname not in 
include list)

----------------------------------

thanx, michael



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: mprice at hst.nasa.gov
----------------------------------------------




Henrik Stoerner wrote:
> On Mon, Oct 23, 2006 at 07:02:07PM +0200, Lars Ebeling wrote:
>   
>> When I run hobbitd_alert I get this:
>>
>> $ ./hobbitd_alert --test leopg9 msgs
>>     
>
> 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
> hobbit-unsubscribe at hswn.dk
>
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20061026/7d007c94/attachment.html>


More information about the Xymon mailing list