Xymon Mailing List Archive search

rrd files not getting created.

list Japheth Cleaver
Thu, 1 Dec 2016 09:53:59 -0800
Message-Id: <user-996392f00f2f@xymon.invalid>

On 12/1/2016 9:12 AM, Root, Paul T wrote:
Ok, I took the changes out. restarted xymon, waited a half hour, put them back in,  and it created the rrd file.

HOWEVER, it only put it in once, and no updates:

<?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> 1480607277 </lastupdate> <!-- 2016-12-01 *09:47:57 CST* -->

<ds>

<name> ucfthreads </name>

<type> GAUGE </type>

<minimal_heartbeat> 600 </minimal_heartbeat>

<min> NaN </min>

<max> NaN </max>

<!-- PDP Status -->

<last_ds> 92 </last_ds>

<value> 1.6284000000e+04 </value>

<unknown_sec> 0 </unknown_sec>

</ds>

<!-- Round Robin Archives -->   <rra>

And the script runs every 5 minutes from clientlaunch.cfg.
Do you have RRD caching enabled? If so, you won't get data updated on disk until either:
a) the cache is poked, which should happen automatically a few seconds after showgraph.sh is executed when viewing this graph,
b) the maximum amount of caches values is exceeded (12 intervals, by default, IIRC), or
c) xymond_rrd is (gracefully) shut down

If (a) isn't happening, there might be a permissions issue with your rrdctl.* socket files... Must be writeable by apache user.


HTH,
-jc