Xymon Mailing List Archive search

msgs file with html code

4 messages in this thread

list Asif Iqbal · Thu, 17 Aug 2006 16:08:56 -0400 ·
Hi

When I receive alerts related to messages file it comes with html code
in my mail box like this.

&red Critical entries in <a
href="/hobbit-cgi/bb-hostsvc.sh?CLIENT=hobbit.client.com&amp;SECTION=msgs:/var/adm/mess
+ages">/var/adm/messages</a>
&red Aug 17 15:39:55 hobbit.client.com WARNING: [ID 702911 user.error]
this is a test message


Full log <a href="/hobbit-cgi/bb-hostsvc.sh?CLIENT=hobbit.client.com&amp;SECTION=msgs:/var/adm/messages">/var/adm/m
+essages</a>
Aug 17 15:39:55 hobbit.client.com WARNING: [ID 702911 user.error] this
is a test message


I am using hobbit client 4.2.0 and hobbit server 4.2.0. I sure did not
play with any html code to make the output like this.

Also I saw an email about keeping the full log link in the web gui for
easy troubleshooting. But is that also apply to email. In otherwords
can I just receive alert related lines and not the full log
underneath. OR do I need to define SMS in hobbit-alerts.cfg page to
achieve that?

Thanks

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Henrik Størner · Thu, 17 Aug 2006 23:02:28 +0200 ·
quoted from Asif Iqbal
On Thu, Aug 17, 2006 at 04:08:56PM -0400, Asif Iqbal wrote:
Hi

When I receive alerts related to messages file it comes with html code
in my mail box like this.

&red Critical entries in <a
href="/hobbit-cgi/bb-hostsvc.sh?CLIENT=hobbit.client.com&amp;SECTION=msgs:/var/adm/mess
+ages">/var/adm/messages</a>
&red Aug 17 15:39:55 hobbit.client.com WARNING: [ID 702911 user.error]
this is a test message
Ouch ... that could be my fault, since the "msgs" status text contains HTML.

I don't have a ready-to-go solution for this, will look into it.


Henrik
list Asif Iqbal · Fri, 12 Jan 2007 10:09:20 -0500 ·
quoted from Henrik Størner
On 8/17/06, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Thu, Aug 17, 2006 at 04:08:56PM -0400, Asif Iqbal wrote:
Hi

When I receive alerts related to messages file it comes with html code
in my mail box like this.

&red Critical entries in <a
href="/hobbit-cgi/bb-hostsvc.sh?CLIENT=hobbit.client.com&amp;SECTION=msgs:/var/adm/mess
+ages">/var/adm/messages</a>
&red Aug 17 15:39:55 hobbit.client.com WARNING: [ID 702911 user.error]
this is a test message
Ouch ... that could be my fault, since the "msgs" status text contains HTML.

I don't have a ready-to-go solution for this, will look into it.
I still get those html codes. No problem if there is no solution yet.
I am using 4.2 btw.
Henrik

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Asif Iqbal · Thu, 5 Jul 2007 08:20:48 -0400 ·
quoted from Asif Iqbal
On 1/12/07, Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> wrote:
On 8/17/06, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Thu, Aug 17, 2006 at 04:08:56PM -0400, Asif Iqbal wrote:
Hi

When I receive alerts related to messages file it comes with html code
in my mail box like this.

&red Critical entries in <a

href="/hobbit-cgi/bb-hostsvc.sh?CLIENT=hobbit.client.com&amp
;SECTION=msgs:/var/adm/mess
quoted from Asif Iqbal
+ages">/var/adm/messages</a>
&red Aug 17 15:39:55 hobbit.client.com WARNING: [ID 702911 user.error]
this is a test message
Ouch ... that could be my fault, since the "msgs" status text contains
HTML.
I don't have a ready-to-go solution for this, will look into it.
I still get those html codes. No problem if there is no solution yet.
I am using 4.2 btw.

I am still seeing html codes in the  alerts related to `msgs'  column.
quoted from Asif Iqbal

Henrik

--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu