Xymon Mailing List Archive search

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

list Ralph Mitchell
Thu, 6 Jan 2011 07:58:01 -0500
Message-Id: <AANLkTi=user-8a269895ed20@xymon.invalid>

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 <user-d0758a3e63c3@xymon.invalid> 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 <
user-74c177c1220d@xymon.invalid> 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.


/Johan


*From:* Jayanta Kundu [mailto:user-d0758a3e63c3@xymon.invalid]
*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


Hi,

Once i open the URL: 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

conn

[image: Description: Image removed by sender. clear]<http://xymon-cgi/historylog.sh?HOST=osiris.hswn.dk&SERVICE=conn&TIMEBUF=Tue_Jan_4_23:55:23_2011>[image:
Description: Image removed by sender. From -> To]

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


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_Objects>;

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

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

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.