All work

Select view

Select search mode

 

PSM per-page response times collection not working

Description

Hello,

I tried to enable PSM for rest interface (as a PoC for PSM) but I am not sure it's working, here it is the how-to I followed:
http://www.opennms.org/wiki/Page_Sequence_Monitor_(PSM)_Setup

and here there is my config:
<service name="URL_opennms_rest" interval="300000" user-defined="false" status="on">
<parameter key="port" value="443"/>
<parameter key="timeout" value="15000"/>
<parameter key="retry" value="3"/>
<parameter key="rrd-repository" value="/opt/opennms/share/rrd/response"/>
<parameter key="rrd-base-name" value="URL_opennms_rest"/>
<parameter key="ds-name" value="http"/>
<parameter key="page-sequence">
<page-sequence>
<page path="/opennms/rest/alarms" ds-name="alarms" port="443" successMatch="alarms" />
<page path="/opennms/rest/acks" ds-name="acknoledgments" port="443" successMatch="acknowledgments" />
<page path="/opennms/rest/nodes" ds-name="nodes" port="443" successMatch="nodes" />
</page-sequence>
</parameter>
</service>

the monitor success but I doubt it is working as expected, I mean going through the 3 urls and collecting the response times.

Specially response times are not being collected, I dump the rrd meant to contain these three values:
rrdtool dump /data/opennms/rrd/response/X.X.X.X/URL_opennms_rest.rrd | less

but as you can see just 'http' is being collected
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rrd SYSTEM "http://oss.oetiker.ch/rrdtool/rrdtool.dtd">
<!-- Round Robin Database Dump -->
<rrd>
<version>0003</version>
<step>300</step> <!-- Seconds -->
<lastupdate>1377788701</lastupdate> <!-- 2013-08-29 11:05:01 EDT -->

<ds>
<name> http </name>
<type> GAUGE </type>
<minimal_heartbeat>600</minimal_heartbeat>
<min>NaN</min>
<max>NaN</max>

<!-- PDP Status -->
<last_ds>52.384468</last_ds>
<value>5.2384468000e+01</value>
<unknown_sec> 0 </unknown_sec>
</ds>

<!-- Round Robin Archives -->
<rra>
<cf>AVERAGE</cf>
<pdp_per_row>1</pdp_per_row> <!-- 300 seconds -->

Regards

Acceptance / Success Criteria

None

Lucidchart Diagrams

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

PagerDuty

Created August 29, 2013 at 11:11 AM
Updated September 21, 2021 at 6:23 PM

Activity

Seth LegerApril 20, 2016 at 3:45 PM

This seems like the same issue as except that it seems that the bug reporter claims that this happens on the local OpenNMS poller instead of the Remote Poller.