<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.17092" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=718181714-13012011><FONT face=Arial 
size=2>Read the BUILDING ALTERNATE PAGESETS section of "man bbgen".  This 
may do what you want, although I'm not sure if there are "non-green views" 
available for the alternate pagesets.  (I hope there are, because that 
would actually be very useful.)  However, I'm not sure that what you need 
is a non-green view.  So you may be able to achieve what you 
want just using "page" and "subpage" directives in bb-hosts.  See "man 
bb-hosts" for details.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=718181714-13012011><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=718181714-13012011><FONT face=Arial 
size=2>SebA</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> Ralph Mitchell 
  [mailto:ralphmitchell@gmail.com] <BR><B>Sent:</B> 10 January 2011 
  01:57<BR><B>To:</B> xymon@xymon.com<BR><B>Subject:</B> Re: [xymon] How to 
  create own XYMON custom page like "Views" -> "All non-green view" in 
  www.xymon.com<BR></FONT><BR></DIV>
  <DIV></DIV>If you want to do something like the All-Non-Green view with a 
  different layout, you'll need to look into rewriting xymongen, I think. 
   Some people have done some good work with skins for Xymon, but I don't 
  think they alter the layout of the page, just the way it looks.
  <DIV><BR></DIV>
  <DIV>Ralph Mitchell</DIV>
  <DIV><BR><BR>
  <DIV class=gmail_quote>On Fri, Jan 7, 2011 at 2:37 AM, Jayanta Kundu <SPAN 
  dir=ltr><<A 
  href="mailto:jayantak007@gmail.com">jayantak007@gmail.com</A>></SPAN> 
  wrote:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
    <DIV>Hi Ralph Mitchel,</DIV>
    <DIV> </DIV>
    <DIV>I would like to display following line into my own XYMON 
    page:</DIV>
    <DIV><BR>Pre-paid->  SMS 
    (xxx)     <IMG 
    style="MARGIN: 0px 0.2ex; VERTICAL-ALIGN: middle" height=15 
    src="cid:718181714@13012011-00C9" width=15 
    goomoji="000">  ->  <IMG 
    style="MARGIN: 0px 0.2ex; VERTICAL-ALIGN: middle" height=15 
    src="cid:718181714@13012011-00C9" width=15 
    goomoji="000">                                                                                                 
    </DIV>
    <DIV> </DIV>
    <DIV>
    <DIV class=im>(i) Where (xxx) is the number of Invalid 
    Object/SMS/Provisioning etc. It is nothing but simple SQL query 
    output.<BR>(ii) <IMG style="MARGIN: 0px 0.2ex; VERTICAL-ALIGN: middle" 
    height=15 src="cid:718181714@13012011-00C9" width=15 goomoji="000"> is the 
    XYMON satatus icon(green/yellow/red etc.) depending on the threshold 
    level.<BR> <BR></DIV>Actually i want to create similar type of page in 
    my own XYMON setup environment like once we open the URL <A 
    href="http://www.xymon.com/" target=_blank>www.xymon.com</A> and select the 
    menu option "Views" -> "All non-green view" we can see the following 
    short of screen:</DIV>
    <DIV> </DIV>
    <DIV><EM><FONT size=5>All Monitored Systems OK<BR></FONT></EM></DIV>
    <DIV>
    <TABLE summary=$EVENTSTITLE border=0>
      <TBODY>
      <TR bgColor=#333333>
        <TD align=middle colSpan=6><FONT color=#33ebf4 size=-1>1 events 
          received in the past 57 minutes</FONT></TD></TR>
      <TR bgColor=#000000>
        <TD align=middle>Fri Jan 7 07:32:40 2011 </TD>
        <TD align=middle bgColor=green><FONT color=black><A 
          href="http://home.scheel.dk" 
target=_blank>home.scheel.dk</A></FONT></TD>
        <TD align=left>http</TD>
        <TD><A 
          href="http://www.xymon.com/xymon-cgi/historylog.sh?HOST=home.scheel.dk&SERVICE=http&TIMEBUF=Fri_Jan_7_00:01:35_2011" 
          target=_blank><IMG title=red height=16 alt=red width=16 border=0></A> 
          <IMG alt="From -> To" border=0> </TD>
        <TD><A 
          href="http://www.xymon.com/xymon-cgi/historylog.sh?HOST=home.scheel.dk&SERVICE=http&TIMEBUF=Fri_Jan_7_07:32:40_2011" 
          target=_blank><IMG title=green height=16 alt=green width=16 
          border=0></A></TD></TR></TBODY></TABLE></DIV>
    <DIV> </DIV>
    <DIV>Kindly let us know how to achive above screen in my own xymon setup. 
    Kindly let me know the files name and parameter name need to change.</DIV>
    <DIV> </DIV>
    <DIV>With Regards,</DIV>
    <DIV>Jayanta.</DIV>
    <DIV>
    <DIV></DIV>
    <DIV class=h5>
    <DIV><BR><BR><BR></DIV>
    <DIV class=gmail_quote>On Thu, Jan 6, 2011 at 6:28 PM, Ralph Mitchell <SPAN 
    dir=ltr><<A href="mailto:ralphmitchell@gmail.com" 
    target=_blank>ralphmitchell@gmail.com</A>></SPAN> wrote:<BR>
    <BLOCKQUOTE class=gmail_quote 
    style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">If 
      you just want to put xymon status colors into a status message, all you 
      need to do is put &red, or &green or &yellow wherever you want 
      the colored dot to appear.  So you would do something like: 
      <DIV><BR></DIV>
      <DIV>   MSG=""</DIV>
      <DIV>   <database query for SMS></DIV>
      <DIV>   if result > X then MSG="$MSG\n&red SMS"</DIV>
      <DIV>                   
       else MSG="$MSG\n&green SMS"</DIV>
      <DIV>   <database query for Provisioning></DIV>
      <DIV>   if result > Y then MSG="$MSG\n&red 
      Provisioning"</DIV>
      <DIV>                   
       else MSG="$MSG\n&green Provisioning"</DIV>
      <DIV>   etc...</DIV>
      <DIV><BR></DIV><FONT color=#888888>
      <DIV>Ralph Mitchell</DIV></FONT>
      <DIV>
      <DIV></DIV>
      <DIV>
      <DIV><BR><BR>
      <DIV class=gmail_quote>On Thu, Jan 6, 2011 at 2:05 AM, Jayanta Kundu <SPAN 
      dir=ltr><<A href="mailto:jayantak007@gmail.com" 
      target=_blank>jayantak007@gmail.com</A>></SPAN> wrote:<BR>
      <BLOCKQUOTE class=gmail_quote 
      style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
        <DIV>Hi,</DIV>
        <DIV> </DIV>
        <DIV>I would like to create own XYMON page which is look as 
        follows: 
        <DIV><BR><BR>Pre-paid->  Invalid Object (xxx)  
        |   SMS (xxx)   |  Provisioning 
        (xxxx)</DIV></DIV>
        <DIV>                             
        <IMG style="MARGIN: 0px 0.2ex; VERTICAL-ALIGN: middle" 
        src="cid:718181714@13012011-00C9" 
        goomoji="000">                      
        <IMG style="MARGIN: 0px 0.2ex; VERTICAL-ALIGN: middle" 
        src="cid:718181714@13012011-00C9" 
        goomoji="000">           
             <IMG 
        style="MARGIN: 0px 0.2ex; VERTICAL-ALIGN: middle" 
        src="cid:718181714@13012011-00C9" 
        goomoji="000">                                                                                                            
        </DIV>
        <DIV><BR>(i) Where (xxx) is the number of Invalid 
        Object/SMS/Provisioning etc. It is nothing but simple SQL query 
        output.</DIV>
        <DIV>(ii) <IMG style="MARGIN: 0px 0.2ex; VERTICAL-ALIGN: middle" 
        src="cid:718181714@13012011-00C9" goomoji="000"> is the XYMON 
        satatus icon(green/yellow/red etc.) depending on the threshold 
        level.</DIV>
        <DIV>
        <DIV> </DIV>
        <DIV>Kindly let me know steps(file name, parameter name etc. need to be 
        configure) to achieve the above.</DIV>
        <DIV> </DIV>
        <DIV>With Regards,<BR>Jayanta.<BR><BR></DIV></DIV>
        <DIV>
        <DIV></DIV>
        <DIV>
        <DIV class=gmail_quote>On Wed, Jan 5, 2011 at 3:30 PM, Johan Sjöberg 
        <SPAN dir=ltr><<A href="mailto:johan.sjoberg@deltamanagement.se" 
        target=_blank>johan.sjoberg@deltamanagement.se</A>></SPAN> wrote:<BR>
        <BLOCKQUOTE class=gmail_quote 
        style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
          <DIV lang=SV vlink="purple" link="blue">
          <DIV>
          <P class=MsoNormal><SPAN lang=EN-US 
          style="FONT-SIZE: 11pt; COLOR: #1f497d">The ”recent events” list is 
          default on all installtions, and you have it on your own as well. It 
          just lists the recent color changes. I don’t know if it is possible to 
          achieve what you want, I just wanted to clarify that there is nothing 
          custom with the “All non-green view” on <A 
          href="http://www.xymon.com/" 
          target=_blank>www.xymon.com</A>.</SPAN></P>
          <P class=MsoNormal><SPAN lang=EN-US 
          style="FONT-SIZE: 11pt; COLOR: #1f497d"></SPAN> </P>
          <P class=MsoNormal><SPAN lang=EN-US 
          style="FONT-SIZE: 11pt; COLOR: #1f497d">/Johan</SPAN></P>
          <P class=MsoNormal><SPAN lang=EN-US 
          style="FONT-SIZE: 11pt; COLOR: #1f497d"></SPAN> </P>
          <P class=MsoNormal><B><SPAN lang=EN-US 
          style="FONT-SIZE: 10pt">From:</SPAN></B><SPAN lang=EN-US 
          style="FONT-SIZE: 10pt"> Jayanta Kundu [mailto:<A 
          href="mailto:jayantak007@gmail.com" 
          target=_blank>jayantak007@gmail.com</A>] <BR><B>Sent:</B> den 5 
          januari 2011 08:40<BR><B>To:</B> <A href="mailto:xymon@xymon.com" 
          target=_blank>xymon@xymon.com</A><BR><B>Subject:</B> [xymon] How to 
          create own XYMON custom page like "Views" -> "All non-green view" 
          in <A href="http://www.xymon.com/" 
          target=_blank>www.xymon.com</A></SPAN></P>
          <DIV>
          <P class=MsoNormal> </P>
          <P class=MsoNormal style="MARGIN-BOTTOM: 12pt">Hi,<BR><BR>Once i open 
          the URL: <A href="http://www.xymon.com/" 
          target=_blank>www.xymon.com</A> and select the menu option "Views" 
          -> "All non-green view", then we can see the following 
          page:</P></DIV>
          <TABLE cellPadding=0 summary=$EVENTSTITLE border=0>
            <TBODY>
            <TR>
              <TD 
              style="PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; BACKGROUND: #333333; PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt" 
              colSpan=6>
                <P class=MsoNormal style="TEXT-ALIGN: center" align=center><SPAN 
                style="FONT-SIZE: 10pt; COLOR: #33ebf4">1 events received in the 
                past 126 minutes</SPAN></P></TD></TR>
            <TR>
              <TD 
              style="PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; BACKGROUND: black; PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt">
                <P class=MsoNormal style="TEXT-ALIGN: center" align=center>Wed 
                Jan 5 06:16:03 2011 </P></TD>
              <TD 
              style="PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; BACKGROUND: green; PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt">
                <P class=MsoNormal style="TEXT-ALIGN: center" align=center><SPAN 
                style="COLOR: black"><A href="http://osiris.hswn.dk/" 
                target=_blank>osiris.hswn.dk</A></SPAN></P></TD>
              <TD 
              style="PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; BACKGROUND: black; PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt">
                <P class=MsoNormal>conn</P></TD>
              <TD 
              style="PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; BACKGROUND: black; PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt">
                <P class=MsoNormal><A 
                href="http://xymon-cgi/historylog.sh?HOST=osiris.hswn.dk&SERVICE=conn&TIMEBUF=Tue_Jan_4_23:55:23_2011" 
                target=_blank><SPAN 
                style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; TEXT-DECORATION: none"><IMG 
                height=16 alt="Description: Image removed by sender. clear" 
                width=16 border=0></SPAN></A><SPAN 
                style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid"><IMG 
                height=100 
                alt="Description: Image removed by sender. From -> To" width=100 
                border=0></SPAN></P></TD>
              <TD 
              style="PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; BACKGROUND: black; PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt">
                <P class=MsoNormal><A 
                href="http://xymon-cgi/historylog.sh?HOST=osiris.hswn.dk&SERVICE=conn&TIMEBUF=Wed_Jan_5_06:16:03_2011" 
                target=_blank><SPAN 
                style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; TEXT-DECORATION: none"><IMG 
                height=16 alt="Description: Image removed by sender. green" 
                width=16 border=0></SPAN></A></P></TD>
              <TD 
              style="PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; BACKGROUND: black; PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt"></TD></TR></TBODY></TABLE>
          <P class=MsoNormal style="MARGIN-BOTTOM: 12pt"></P>
          <DIV><BR><BR>I would like to create similar type of display in my own 
          XYMON page.<BR>For 
          exameple:<BR>Pre-paid       Invalid 
          Object (xxx)      | 
                 SMS (xxx) 
                 
          |       Provisioning 
          (xxxx)<BR><BR>                           
          <A 
          href="http://192.168.3.12/xymon-cgi/bb-hostsvc.sh?HOST=HS21-A&SERVICE=Invalid_Objects" 
          target=_blank></A>                                    
          <A 
          href="http://192.168.3.12/xymon-cgi/bb-hostsvc.sh?HOST=HS21-A&SERVICE=Invalid_Objects" 
          target=_blank></A><SPAN 
          style="FONT-SIZE: 11pt">                                              
          </SPAN><A 
          href="http://192.168.3.12/xymon-cgi/bb-hostsvc.sh?HOST=HS21-A&SERVICE=Invalid_Objects" 
          target=_blank></A></DIV><SPAN style="FONT-SIZE: 11pt"><BR>
          <DIV>Where (xxx) is the number of Invalid Object/SMS/Provisioning etc. 
          It is nothing but simple SQL query output.<BR><BR>Kindly let me know 
          steps(file name, parameter name etc. need to be configure) to achieve 
          the above.<BR><BR>With Regards,<BR>Jayanta.</DIV></SPAN>
          <P></P>
          <P></P></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV>
  <P><FONT face=Arial size=2>Internal Virus Database is out of date.<BR>Checked 
  by AVG - www.avg.com<BR>Version: 8.5.449 / Virus Database: 271.1.1/3243 - 
  Release Date: 11/07/10 19:34:00<BR></FONT></P>
  <P><FONT face=Arial size=2></FONT></P></BLOCKQUOTE></BODY></HTML>