[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] How to create own XYMON custom page like "Views" -> "All non-green view" in www.xymon.com
- 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
- From: Jayanta Kundu <jayantak007 (at) gmail.com>
- Date: Fri, 7 Jan 2011 13:07:13 +0530
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:x-goomoji-body:date:message-id:subject:from:to :content-type; bh=t2tbGC2FuxwsgwJUatjIQDxUf1YIQJTQXWNSAoDbp40=; b=S+vj+GHNTcgv0R/5rzJSY2ABoHJWVhNDv/y4zSfrOL2mr5VjHF8bXcsRvjJ2qF0wco zvpf2B/qHSTvscDPoTNuUP9EIaeHj0GGEMgFsFNb7aY/vLmZsVpi5rNiCDxigvBhuV24 x0iQdNzQN9kcPyLGS2MfGdwy6B3BHETguzyMw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:x-goomoji-body:date:message-id :subject:from:to:content-type; b=k9LZT7GcQoK4zmUzyFLUN2MESEeY/ZPA5SBIPYfP2tJjyZpBWy7xLF9JSsZpJdU9jE SjL6x1k70TLlykK9bmN7KOw+tXj1gyITdzEXSIwSJAmdSmg+tD/+7lDwUeyt7GvMoM+/ 3AyawKLMWFgN7pzGhiUnEZau+G/dN+l7/YQak=
- References: <AANLkTinfJyoX6Px9WLZ8yxCVC6hv2HfVBk4QtZzGaPb_ (at) mail.gmail.com> <B08F3F3D67451844A7A8A029FCC71E4C1863B5668E (at) WIN01.ad.deltamanagement.se> <AANLkTi=D1e-LKi_r678AnDN-c8ihwDz7=WW95zxZYhpu (at) mail.gmail.com> <AANLkTi=mVTpxiCNqG0OzzU0aFXYARyc9RyOt+DbB698S (at) mail.gmail.com>
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 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 [image:
red]<http://www.xymon.com/xymon-cgi/historylog.sh?HOST=home.scheel.dk&SERVICE=http&TIMEBUF=Fri_Jan_7_00:01:35_2011>
[image:
From -> To] [image:
green]<http://www.xymon.com/xymon-cgi/historylog.sh?HOST=home.scheel.dk&SERVICE=http&TIMEBUF=Fri_Jan_7_07:32:40_2011>
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.
>>>
>>>
>>>
>>> /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
>>>
>>>
>>>
>>> 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.
>>>
>>>
>>
>