[xymon] How to create own XYMON custom page like "Views" -> "All non-green view" in www.xymon.com

SebA spa at syntec.co.uk
Thu Jan 13 15:23:33 CET 2011


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.
 
SebA


  _____  

From: Ralph Mitchell [mailto:ralphmitchell at gmail.com] 
Sent: 10 January 2011 01:57
To: xymon at xymon.com
Subject: Re: [xymon] How to create own XYMON custom page like "Views" ->
"All non-green view" in www.xymon.com


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. 

Ralph Mitchell


On Fri, Jan 7, 2011 at 2:37 AM, Jayanta Kundu <jayantak007 at gmail.com> wrote:


Hi Ralph Mitchel,
 
I would like to display following line into my own XYMON page:

Pre-paid->  SMS (xxx)       ->

 
(i) Where (xxx) is the number of Invalid Object/SMS/Provisioning etc. It is
nothing but simple SQL query output.
(ii)  is the XYMON satatus icon(green/yellow/red etc.) depending on the
threshold level.
 

Actually i want to create similar type of page in my own XYMON setup
environment like once we open the URL www.xymon.com <http://www.xymon.com/>
and select the menu option "Views" -> "All non-green view" we can see the
following short of screen:
 
All Monitored Systems OK

1 events received in the past 57 minutes	
Fri Jan 7 07:32:40 2011 	home.scheel.dk	 http
<http://www.xymon.com/xymon-cgi/historylog.sh?HOST=home.scheel.dk&SERVICE=ht
tp&TIMEBUF=Fri_Jan_7_00:01:35_2011> red From -> To
<http://www.xymon.com/xymon-cgi/historylog.sh?HOST=home.scheel.dk&SERVICE=ht
tp&TIMEBUF=Fri_Jan_7_07:32:40_2011> green	
 
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.
 
With Regards,
Jayanta.



On Thu, Jan 6, 2011 at 6:28 PM, Ralph Mitchell <ralphmitchell at gmail.com>
wrote:


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: 

   MSG=""
   <database query for SMS>
   if result > X then MSG="$MSG\n&red SMS"
                    else MSG="$MSG\n&green SMS"
   <database query for Provisioning>
   if result > Y then MSG="$MSG\n&red Provisioning"
                    else MSG="$MSG\n&green Provisioning"
   etc...


Ralph Mitchell


On Thu, Jan 6, 2011 at 2:05 AM, Jayanta Kundu <jayantak007 at gmail.com> wrote:


Hi,
 
I would like to create own XYMON page which is look as follows: 


Pre-paid->  Invalid Object (xxx)  |   SMS (xxx)   |  Provisioning (xxxx)
 


(i) Where (xxx) is the number of Invalid Object/SMS/Provisioning etc. It is
nothing but simple SQL query output.
(ii)  is the XYMON satatus icon(green/yellow/red etc.) depending on the
threshold level.
 
Kindly let me know steps(file name, parameter name etc. need to be
configure) to achieve the above.
 
With Regards,
Jayanta.


On Wed, Jan 5, 2011 at 3:30 PM, Johan Sjöberg
<johan.sjoberg at deltamanagement.se> wrote:


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 www.xymon.com
<http://www.xymon.com/> .

 

/Johan

 

From: Jayanta Kundu [mailto:jayantak007 at gmail.com] 
Sent: den 5 januari 2011 08:40
To: xymon at xymon.com
Subject: [xymon] How to create own XYMON custom page like "Views" -> "All
non-green view" in www.xymon.com <http://www.xymon.com/> 

 

Hi,

Once i open the URL: www.xymon.com <http://www.xymon.com/>  and select the
menu option "Views" -> "All non-green view", then we can see the following
page:


1 events received in the past 126 minutes


Wed Jan 5 06:16:03 2011 

osiris.hswn.dk <http://osiris.hswn.dk/> 

conn

 
<http://xymon-cgi/historylog.sh?HOST=osiris.hswn.dk&SERVICE=conn&TIMEBUF=Tue
_Jan_4_23:55:23_2011> Description: Image removed by sender.
clearDescription: Image removed by sender. From -> To

 
<http://xymon-cgi/historylog.sh?HOST=osiris.hswn.dk&SERVICE=conn&TIMEBUF=Wed
_Jan_5_06:16:03_2011> Description: Image removed by sender. green

	





I would like to create similar type of display in my own XYMON page.
For exameple:
Pre-paid       Invalid Object (xxx)      |        SMS (xxx)        |
Provisioning (xxxx)

 
<http://192.168.3.12/xymon-cgi/bb-hostsvc.sh?HOST=HS21-A&SERVICE=Invalid_Obj
ects>
<http://192.168.3.12/xymon-cgi/bb-hostsvc.sh?HOST=HS21-A&SERVICE=Invalid_Obj
ects>
<http://192.168.3.12/xymon-cgi/bb-hostsvc.sh?HOST=HS21-A&SERVICE=Invalid_Obj
ects> 


Where (xxx) is the number of Invalid Object/SMS/Provisioning etc. It is
nothing but simple SQL query output.

Kindly let me know steps(file name, parameter name etc. need to be
configure) to achieve the above.

With Regards,
Jayanta.









Internal Virus Database is out of date.
Checked by AVG - www.avg.com
Version: 8.5.449 / Virus Database: 271.1.1/3243 - Release Date: 11/07/10
19:34:00




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110113/a00184a3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 000.gif
Type: image/gif
Size: 113 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110113/a00184a3/attachment.gif>


More information about the Xymon mailing list