Mailinglist Archive: yast-devel (246 mails)

< Previous Next >
Re: [yast-devel] status modul - xml
  • From: Klaus Kaempf <kkaempf@xxxxxxx>
  • Date: Fri, 14 Aug 2009 10:57:45 +0200
  • Message-id: <20090814085745.GA12309@xxxxxxxxxxxxx>
* Josef Reidinger <jreidinger@xxxxxxx> [Aug 14. 2009 08:13]:

Yes, I also face this problem. I solve it by using map or array, so
resulting xml looks like

<metricgroup group_name="memory">
<metric name="memory-used">
<label type="array"> //array because it is array of measures

iirc, the xml format for the monitoring values was discussed before.

Given that values are sampled with a constant interval, it should be
possible to separate timestamps from the values.

<metric name="memory-used">
<samples type="array">

This only includes one timestamp and the interval (assumed 5 seconds)
and then all values in one array.

SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG N├╝rnberg)

To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups