<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Hi Naveen,</p>
<p>Den 2014-01-24 15:34, Naveen Kumar Venkatesh skrev:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div dir="ltr">
<div>
<div>
<div>Hi Henrik,</div>
</div>
<div> It seems currently the database for storing client data supports only 5 minute sample. Is it possible to increase the granularity to 1 minute?</div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div> </div>
</div>
<div>I suppose you mean the RRD files used to store cpu-, disk-, memory-trends for the graphs?</div>
<div> </div>
<div>You can do that today in the rrddefinitions.cfg file - but note that these settings are defined when the RRD file is created, so for all of your existing RRD files you will probably lose the data. There are some scripts floating around to convert data from existing RRD files into new files with higher granularity, but I am don't know how well they work.</div>
<div> </div>
<div>Of course, you must also change how often your data-collection scripts run (i.e. the client scripts and the network test tools). The 5-minute interval is currently hard-coded into the xymonclient-*.sh scripts when it comes to how vmstat data is collected, but that can be changed.</div>
<div> </div>
<div>It will put more load on your Xymon server, and the client will also load your servers a bit more. And your disk usage on the Xymon server will grow, since you will need to store more datapoints for each of the measurements in the RRD file.</div>
<div> </div>
<div>But it doesn't really require any code changes, as far as I can tell.</div>
<div> </div>
<div> </div>
<div>Regards,<br />Henrik</div>
</body></html>