[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] 1 test, 1 graph, multiple lines
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] 1 test, 1 graph, multiple lines
- From: <doctor (at) makelofine.org>
- Date: Fri, 16 Jan 2009 16:46:55 +0100
- References: <8b9d41149016cb83d7a12c86d7519c26 (at) localhost> <200901161438.23572.bgmilne (at) staff.telkomsa.net>
- User-agent: RoundCube Webmail/0.2-beta
On Fri, 16 Jan 2009 14:38:23 +0200, Buchan Milne
<bgmilne (at) staff.telkomsa.net> wrote:
> On Friday 16 January 2009 12:16:56 doctor (at) makelofine.org wrote:
>> Hi !
>> I'm new to this ML, and I'm almost a script dev (almost is the most
>> accurate word in this mail).
>> I created a script to monitor game servers activity. It reports the
>> number
>> of player on a server.
>> The ouput is formated as it :
>> &global_color $machine.$test <many words>
>> &color server1 is OK|NOK Players: <INTEGER>
>> I followed the ~(hobbit|xymon)/help/howtograph.html help file, and i get
>> my
>> graph when I monitor 1 game server. My script supports several game
>> servers
>> monitoring, but I can't find a way to have graph for all of them, like
>> the
>> http tests do (1 test, many URL tested, and one graph with all URL on
>> it).
>> Can someone help me ?
>
> As long as you will not be changing the number of game servers you
monitor,
>
> send a status message like this:
>
> &global_color $machine.$test <many words>
> &color server1 is OK|NOK
> server1_players: <INTEGER>
> &color server2 is OK|NOK
> server2_players: <INTEGER>
>
> Make sure you have a new line after the last entry. Remove any rrd files
if
>
> you have changed the number of servers you want to graph.
>
> Regards,
> Buchan
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
Okay, thank your for your help.
I need some precisions :
-How could I define the graph in ~xymon|hobbit/server/etc/hobbitgraphs.cfg
to graph all servers, considering the number of server is unknow (and the
variable too)
Example :
&global_color $machine.$test <many words>
&color server1 is OK|NOK
John_players: <INTEGER>
&color server2 is OK|NOK
Mickael_players: <INTEGER>