Xymon Mailing List Archive search

jmxstat

6 messages in this thread

list The Thanh Han · Tue, 28 Jun 2016 12:47:20 +0200 ·
Hello,

I am trying to get jmxstat working. I have followed the instructions at
https://wiki.xymonton.org/doku.php/monitors:jmxstat  and got to the point
where I can see a jmxstat column in the xymon report, with a yellow icon.
However clicking on that icon shows no graph.

The rrd file is created on xymon
server: /var/lib/xymon/rrd/test-app/jmxstat.rrd

and `rrdtool info /var/lib/xymon/rrd/test-app/jmxstat.rrd` shows the output
at the end.

Can someone please give me a hint how to process further?

Regards,
Thanh

filename = "/var/lib/xymon/rrd/test-app/jmxstat.rrd"
rrd_version = "0003"
step = 300
last_update = 1467109347
header_size = 1208
ds[runtime].index = 0
ds[runtime].type = "GAUGE"
ds[runtime].minimal_heartbeat = 600
ds[runtime].min = 0.0000000000e+00
ds[runtime].max = NaN
ds[runtime].last_ds = "0.97"
ds[runtime].value = 1.4259000000e+02
ds[runtime].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 576
rra[0].cur_row = 418
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 576
rra[1].cur_row = 201
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 4.3749000000e+00
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 576
rra[2].cur_row = 173
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 4.3749000000e+00
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 576
rra[3].cur_row = 545
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 4.7244800000e+01
rra[3].cdp_prep[0].unknown_datapoints = 92
list Martin Lenko · Wed, 29 Jun 2016 11:57:12 +0100 ·
Hi,
the jmxstat graph shows only in trends. At least in my installation.

Regards,
Martin
quoted from The Thanh Han

On 28 June 2016 at 11:47, The Thanh Han <user-7395de410e31@xymon.invalid> wrote:
Hello,

I am trying to get jmxstat working. I have followed the instructions at
https://wiki.xymonton.org/doku.php/monitors:jmxstat  and got to the point
where I can see a jmxstat column in the xymon report, with a yellow icon.
However clicking on that icon shows no graph.

The rrd file is created on xymon
server: /var/lib/xymon/rrd/test-app/jmxstat.rrd

and `rrdtool info /var/lib/xymon/rrd/test-app/jmxstat.rrd` shows the
output at the end.

Can someone please give me a hint how to process further?

Regards,
Thanh

filename = "/var/lib/xymon/rrd/test-app/jmxstat.rrd"
rrd_version = "0003"
step = 300
last_update = 1467109347
header_size = 1208
ds[runtime].index = 0
ds[runtime].type = "GAUGE"
ds[runtime].minimal_heartbeat = 600
ds[runtime].min = 0.0000000000e+00
ds[runtime].max = NaN
ds[runtime].last_ds = "0.97"
ds[runtime].value = 1.4259000000e+02
ds[runtime].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 576
rra[0].cur_row = 418
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 576
rra[1].cur_row = 201
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 4.3749000000e+00
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 576
rra[2].cur_row = 173
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 4.3749000000e+00
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 576
rra[3].cur_row = 545
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 4.7244800000e+01
rra[3].cdp_prep[0].unknown_datapoints = 92

list The Thanh Han · Wed, 29 Jun 2016 15:38:02 +0200 ·
Hi,

thank you for the hint.

Regards,
Thanh
quoted from Martin Lenko

On 29 June 2016 at 12:57, Martin Lenko <user-024fe0c6d298@xymon.invalid> wrote:
Hi,
the jmxstat graph shows only in trends. At least in my installation.

Regards,
Martin

On 28 June 2016 at 11:47, The Thanh Han <user-7395de410e31@xymon.invalid> wrote:
Hello,

I am trying to get jmxstat working. I have followed the instructions at
https://wiki.xymonton.org/doku.php/monitors:jmxstat  and got to the
point where I can see a jmxstat column in the xymon report, with a yellow
icon. However clicking on that icon shows no graph.

The rrd file is created on xymon
server: /var/lib/xymon/rrd/test-app/jmxstat.rrd

and `rrdtool info /var/lib/xymon/rrd/test-app/jmxstat.rrd` shows the
output at the end.

Can someone please give me a hint how to process further?

Regards,
Thanh

filename = "/var/lib/xymon/rrd/test-app/jmxstat.rrd"
rrd_version = "0003"
step = 300
last_update = 1467109347
header_size = 1208
ds[runtime].index = 0
ds[runtime].type = "GAUGE"
ds[runtime].minimal_heartbeat = 600
ds[runtime].min = 0.0000000000e+00
ds[runtime].max = NaN
ds[runtime].last_ds = "0.97"
ds[runtime].value = 1.4259000000e+02
ds[runtime].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 576
rra[0].cur_row = 418
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 576
rra[1].cur_row = 201
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 4.3749000000e+00
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 576
rra[2].cur_row = 173
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 4.3749000000e+00
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 576
rra[3].cur_row = 545
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 4.7244800000e+01
rra[3].cdp_prep[0].unknown_datapoints = 92

list Jeremy Laidman · Sun, 10 Jul 2016 02:30:01 +0000 ·
According to the man page for XYMONSERVER.CFG, you can have xymongen add
the jmxstat graph to the jmxstat status page (and not just the trends page)
by updating TEST2RRD or GRAPHS_jmxstat.

I think the GRAPHS_columnname definition is a new feature, so it might not
be supported on older releases of Xymon.  Also, I've never used it.

J

On Wed, Jun 29, 2016 at 11:38 PM The Thanh Han <user-7395de410e31@xymon.invalid>
quoted from The Thanh Han
wrote:
Hi,

thank you for the hint.

Regards,
Thanh

On 29 June 2016 at 12:57, Martin Lenko <user-024fe0c6d298@xymon.invalid> wrote:
Hi,
the jmxstat graph shows only in trends. At least in my installation.

Regards,
Martin

On 28 June 2016 at 11:47, The Thanh Han <user-7395de410e31@xymon.invalid> wrote:
Hello,

I am trying to get jmxstat working. I have followed the instructions at
https://wiki.xymonton.org/doku.php/monitors:jmxstat  and got to the
point where I can see a jmxstat column in the xymon report, with a yellow
icon. However clicking on that icon shows no graph.

The rrd file is created on xymon
server: /var/lib/xymon/rrd/test-app/jmxstat.rrd

and `rrdtool info /var/lib/xymon/rrd/test-app/jmxstat.rrd` shows the
output at the end.

Can someone please give me a hint how to process further?

Regards,
Thanh

filename = "/var/lib/xymon/rrd/test-app/jmxstat.rrd"
rrd_version = "0003"
step = 300
last_update = 1467109347
header_size = 1208
ds[runtime].index = 0
ds[runtime].type = "GAUGE"
ds[runtime].minimal_heartbeat = 600
ds[runtime].min = 0.0000000000e+00
ds[runtime].max = NaN
ds[runtime].last_ds = "0.97"
ds[runtime].value = 1.4259000000e+02
ds[runtime].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 576
rra[0].cur_row = 418
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 576
rra[1].cur_row = 201
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 4.3749000000e+00
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 576
rra[2].cur_row = 173
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 4.3749000000e+00
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 576
rra[3].cur_row = 545
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 4.7244800000e+01
rra[3].cdp_prep[0].unknown_datapoints = 92

list Thomas Eckert · Sun, 10 Jul 2016 08:08:52 +0200 ·
quoted from Jeremy Laidman

On Jul 10, 2016 04:30, Jeremy Laidman wrote:
>
> According to the man page for XYMONSERVER.CFG, you can have xymongen add the jmxstat graph to the jmxstat status page (and not just the trends page) by updating TEST2RRD or GRAPHS_jmxstat.

just to clarify:
TEST2RRD is needed for the graph to be generated.
To have it show up on the trends-column you need to adjust GRAPHS.

> I think the GRAPHS_columnname definition is a new feature, so it might not be supported on older releases of Xymon.  Also, I've never used it.

Right, introduced in 4.3.20. If you want the jmx-graphs to show up on an existing column that's the way to go. Some more details here .

In general, if the rrd-name matches the colomn-/test-name the graph should show up on the test page automatically without modifying any GRAPH* variable.

Thomas

quoted from Jeremy Laidman

> J
>
> On Wed, Jun 29, 2016 at 11:38 PM The Thanh Han wrote:
>>
>> Hi,
>>
>> thank you for the hint.
>>
>> Regards,
>> Thanh
>>
>> On 29 June 2016 at 12:57, Martin Lenko wrote:
>>>
>>> Hi,
>>> the jmxstat graph shows only in trends. At least in my installation.
>>>
>>> Regards,
>>> Martin
>>>
>>> On 28 June 2016 at 11:47, The Thanh Han wrote:
>>>>
>>>> Hello,
>>>>
>>>> I am trying to get jmxstat working. I have followed the instructions at https://wiki.xymonton.org/doku.php/monitors:jmxstat  and got to the point where I can see a jmxstat column in the xymon report, with a yellow icon. However clicking on that icon shows no graph.
>>>>
>>>> The rrd file is created on xymon server: /var/lib/xymon/rrd/test-app/jmxstat.rrd
>>>>
>>>> and `rrdtool info /var/lib/xymon/rrd/test-app/jmxstat.rrd` shows the output at the end.
>>>>
>>>> Can someone please give me a hint how to process further?
>>>>
>>>> Regards,
>>>> Thanh
>>>>
>>>> filename = "/var/lib/xymon/rrd/test-app/jmxstat.rrd"
>>>> rrd_version = "0003"
>>>> step = 300
>>>> last_update = 1467109347
>>>> header_size = 1208
>>>> ds[runtime].index = 0
>>>> ds[runtime].type = "GAUGE"
>>>> ds[runtime].minimal_heartbeat = 600
>>>> ds[runtime].min = 0.0000000000e+00
>>>> ds[runtime].max = NaN
>>>> ds[runtime].last_ds = "0.97"
>>>> ds[runtime].value = 1.4259000000e+02
>>>> ds[runtime].unknown_sec = 0
>>>> rra[0].cf = "AVERAGE"
>>>> rra[0].rows = 576
>>>> rra[0].cur_row = 418
>>>> rra[0].pdp_per_row = 1
>>>> rra[0].xff = 5.0000000000e-01
>>>> rra[0].cdp_prep[0].value = NaN
>>>> rra[0].cdp_prep[0].unknown_datapoints = 0
>>>> rra[1].cf = "AVERAGE"
>>>> rra[1].rows = 576
>>>> rra[1].cur_row = 201
>>>> rra[1].pdp_per_row = 6
>>>> rra[1].xff = 5.0000000000e-01
>>>> rra[1].cdp_prep[0].value = 4.3749000000e+00
>>>> rra[1].cdp_prep[0].unknown_datapoints = 0
>>>> rra[2].cf = "AVERAGE"
>>>> rra[2].rows = 576
>>>> rra[2].cur_row = 173
>>>> rra[2].pdp_per_row = 24
>>>> rra[2].xff = 5.0000000000e-01
>>>> rra[2].cdp_prep[0].value = 4.3749000000e+00
>>>> rra[2].cdp_prep[0].unknown_datapoints = 0
>>>> rra[3].cf = "AVERAGE"
>>>> rra[3].rows = 576
>>>> rra[3].cur_row = 545
>>>> rra[3].pdp_per_row = 288
>>>> rra[3].xff = 5.0000000000e-01
>>>> rra[3].cdp_prep[0].value = 4.7244800000e+01
>>>> rra[3].cdp_prep[0].unknown_datapoints = 92
>>>>
>>>>
>>>>
>>>>

>>>> Xymon@xymon.com
>>>>
>>>
>>
>>
>> Xymon@xymon.com

list Jeremy Laidman · Sun, 10 Jul 2016 09:38:21 +0000 ·
On Sun, Jul 10, 2016 at 4:08 PM Thomas Eckert <user-2a86d6cd6326@xymon.invalid>
quoted from Thomas Eckert
wrote:
just to clarify:

TEST2RRD is needed for the graph to be generated.
To have it show up on the trends-column you need to adjust GRAPHS.
Ah, thanks Thomas.  I often confused these two.

J