Hobbit sending HTML emails?

Charles Jones (charljon) charljon at cisco.com
Fri Oct 28 21:46:58 CEST 2005


 
I've setup a Hobbit 4.1.2 instance and have been getting emails from it
that have HTML tags in them, but aren't recognized by either MS Outlook
or Mozilla Thunderbird as an HTML-email. So, either hobbit isn't
properly setting the header on the mails it sends, or something about
the alert output is causing the problem. 

The alert below is an example of how the emails I'm getting look, with
bare HTML tags in the message. The alert text itself is from the
"bb-roracle.ksh" script which checks the health of an Oracle database.
I have sanitized the alert text to remove any private information but
otherwise is the same text that I received.


-----Original Message-----
From: hobbit at mydomain.com [mailto:hobbit at mydomain.com] 
Sent: Friday, October 28, 2005 1:11 PM
To: jonescr at cisco.com
Subject: Hobbit [70835] oradb5.mydomain.com:oradb CRITICAL (RED)

red Fri Oct 28 12:03:27 MST 2005
</pre>


<br><br><FONT SIZE=+2><b>Process Check</b></FONT> (MYDB)<hr>
<br>   &green Database MYDB UP processes:  ckpt dbw0 lgwr pmon reco smon
<br>

<br><br><FONT SIZE=+2><b>Database Checks</b></FONT> (MYDB)<hr>
   &green Database check: MYDB is up

<br><br><FONT SIZE=+2><b>User Count Check</b></FONT> (MYDB)<hr>
    Oracle Users in MYDB:        6


<br><br><FONT SIZE=+2><b>User Check</b></FONT> (MREDW)<hr>
<pre>
username             osuser               machine              term

		     oracle		  	oradb5	       UNKNOWN
		     oracle		  	oradb5	       UNKNOWN
		     oracle		  	oradb5	       UNKNOWN
		     oracle		  	oradb5	       UNKNOWN
		     oracle		  	oradb5	       UNKNOWN
		     oracle		  	oradb5	       UNKNOWN
DB1			     oracle		  oradb5.mydomain
unknown
DB1			     oracle		  oradb5.mydomain
unknown
BB			     bb 		  oradb5
DB1			     oracle		  oradb5.mydomain
unknown
DB1			     oracle		  oradb5.mydomain
unknown
11 rows selected.
</pre>

<br><br><FONT SIZE=+2><b>Tablespace Check</b></FONT> (MYDB)<hr>
<br>   &green Tablespace MYDB:TEST totals 3000.0Mb and is <B>26%</B>
used.
<br>   &green Tablespace MYDB:UNDO totals 1000.0Mb and is <B>52%</B>
used.
<br>   &green Tablespace MYDB:TABLE1 totals 5000.0Mb and is <B>44%</B>
used.
<br>   &green Tablespace MYDB:TEMP totals 13000.0Mb and is <B>0%</B>
used.
<br>   &green Tablespace MYDB:SYSTEM totals 1000.0Mb and is <B>14%</B>
used.
<br>   &green Tablespace MYDB:TABLE2 totals 2000.0Mb and is <B>9%</B>
used.
<br>   &green Tablespace MYDB:TABLE3 totals 11218.0Mb and is <B>81%</B>
used.
<br>   &green Tablespace MYDB:TABLE4 totals 4000.0Mb and is <B>29%</B>
used.
<br>   &green Tablespace MYDB:TABLE5 totals 1000.0Mb and is <B>39%</B>
used.
<br>   &green Tablespace MYDB:TABLE6 totals 10000.0Mb and is <B>0%</B>
used.
<br>   &green Tablespace MYDB:TABLE7 totals 12825.0Mb and is <B>89%</B>
used.
<br>   &green Tablespace MYDB:TABLE8 totals 5230.0Mb and is <B>72%</B>
used.
<br><I>   &green Total Tablespace including Temp:   <B>69273</B>Mb</I>

<br><br><FONT SIZE=+2><b>Extent Check</b></FONT> (MYDB)<hr>
<br>   &green No objects are exceeding 60%. Extent test ok.
<br>   &clear Shadow check: Disabled
<br>   &clear Pin Hit Ratio check: Disabled
<br>   &clear Sql Area Hit Ratio check: Disabled
<br>   &clear Block Buffer Hit Ratio check: Disabled

<br><br><FONT SIZE=+2><b>Shared Memory Check</b></FONT> (MYDB)<hr>
<br>   &green Database MYDB: No Request Failures.
<br><br>      Free Space is 1311K, AVG Free Space is 328K, Used Space is
0K, AVG Used Space is 0K.
<br>   &clear RollBack check: Disabled
<br>   &clear Invalid Object check: Disabled

<br><br><FONT SIZE=+2><b>Deadlock Check</b></FONT> (MYDB)<hr>
<br>   &red <B><U><FONT COLOR=RED>SID 0</FONT></U></B> Blocker 1
Requester 2.
<br>   &red <B><U><FONT COLOR=RED>SID 3</FONT></U></B> Blocker 4
Requester 5.


<br><br><FONT SIZE=+2><b>Process Check</b></FONT> (MYDB2)<hr>
<br>   &green Database MYDB2 UP processes:  ckpt dbw0 lgwr pmon reco
smon
<br>

<br><br><FONT SIZE=+2><b>Database Checks</b></FONT> (MYDB2)<hr>
   &green Database check: MYDB2 is up

<br><br><FONT SIZE=+2><b>User Count Check</b></FONT> (MYDB2)<hr>
    Oracle Users in MYDB2:        0


<br><br><FONT SIZE=+2><b>User Check</b></FONT> (MYDB2)<hr>
<pre>
username             osuser               machine              term

		     oracle		  	oradb5	       UNKNOWN
		     oracle		  	oradb5	       UNKNOWN
		     oracle		  	oradb5	       UNKNOWN
		     oracle		  	oradb5	       UNKNOWN
		     oracle		  	oradb5	       UNKNOWN
		     oracle		  	oradb5	       UNKNOWN
BB		     bb 		  	oradb5
7 rows selected.
</pre>
<br>   &clear Tablespace check: Disabled

<br><br><FONT SIZE=+2><b>Extent Check</b></FONT> (MYDB2)<hr>
<br>   &green No objects are exceeding 60%. Extent test ok.
<br>   &clear Shadow check: Disabled
<br>   &clear Pin Hit Ratio check: Disabled
<br>   &clear Sql Area Hit Ratio check: Disabled
<br>   &clear Block Buffer Hit Ratio check: Disabled

<br><br><FONT SIZE=+2><b>Shared Memory Check</b></FONT> (MYDB2)<hr>
<br>   &green Database MYDB2: No Request Failures.
<br><br>      Free Space is 1054K, AVG Free Space is 88K, Used Space is
0K, AVG Used Space is 0K.
<br>   &clear RollBack check: Disabled
<br>   &clear Invalid Object check: Disabled

<br><br><FONT SIZE=+2><b>Deadlock Check</b></FONT> (MYDB2)<hr>
<br>   &green Database MYDB2: No deadlocks detected.


<br><br><FONT SIZE=+2><b>Process Check</b></FONT> (MYDB3)<hr>
<br>   &green Database MYDB3 UP processes:  ckpt dbw0 lgwr pmon reco
smon
<br>

<br><br><FONT SIZE=+2><b>Database Checks</b></FONT> (MYDB3)<hr>
   &green Database check: MYDB3 is up

<br><br><FONT SIZE=+2><b>User Count Check</b></FONT> (MYDB3)<hr>
    Oracle Users in MYDB3:        0


<br><br><FONT SIZE=+2><b>User Check</b></FONT> (MYDB3)<hr>
<pre>
username             osuser               machine              term

		     oracle		  oradb5	       UNKNOWN
		     oracle		  oradb5	       UNKNOWN
		     oracle		  oradb5	       UNKNOWN
		     oracle		  oradb5	       UNKNOWN
		     oracle		  oradb5	       UNKNOWN
		     oracle		  oradb5	       UNKNOWN
SYS		     bb 		  oradb5
7 rows selected.
</pre>
<br>   &clear Tablespace check: Disabled

<br><br><FONT SIZE=+2><b>Extent Check</b></FONT> (MYDB3)<hr>
<br>   &green No objects are exceeding 60%. Extent test ok.
<br>   &clear Shadow check: Disabled
<br>   &clear Pin Hit Ratio check: Disabled
<br>   &clear Sql Area Hit Ratio check: Disabled
<br>   &clear Block Buffer Hit Ratio check: Disabled

<br><br><FONT SIZE=+2><b>Shared Memory Check</b></FONT> (MYDB3)<hr>
<br>   &green Database MYDB3: No Request Failures.
<br><br>      Free Space is 1311K, AVG Free Space is 328K, Used Space is
0K, AVG Used Space is 0K.
<br>   &clear RollBack check: Disabled
<br>   &clear Invalid Object check: Disabled

<br><br><FONT SIZE=+2><b>Deadlock Check</b></FONT> (MYDB3)<hr>
<br>   &green Database MYDB3: No deadlocks detected.

<br><br><center><hr>bb-roracle.ksh <b>Version:</b> 2.06</center>
See
http://hobbit.mydomain.com/hobbit-cgi/bb-hostsvc.sh?HOSTSVC=oradb5,mydom
ain,com.oradb



More information about the Xymon mailing list