[Xymon] rrdfetch interval changing

ROZEK Michal (Prestataire) michal.rozek.externe at cnp.fr
Tue Dec 17 12:35:16 CET 2013


Hi guys,

I am trying to fetch disk usage data from the RRD file disk,projets,my,home.rrd with the resolution/interval of 5minutes:

rrdtool fetch disk,projets,my,home.rrd AVERAGE -r 300 -s 1371867766 -e 1387279723 | awk '{printf("%s|", strftime("%Y %b %d",$1)); printf("%s|", strftime("%H:%M:%S",$1)); printf("%.2f\n",$2)}'

The start date is 06.2013 and the end date is 17.12.2013
Unfortunately I receive data with interval of one day:

[..]
Date:              Time:       % Busy:
2013 Dec 10|01:00:00|10.00
2013 Dec 11|01:00:00|10.00
2013 Dec 12|01:00:00|10.00
2013 Dec 13|01:00:00|10.00
2013 Dec 14|01:00:00|10.00
2013 Dec 15|01:00:00|10.00
2013 Dec 16|01:00:00|10.00
2013 Dec 17|01:00:00|10.00


How to change it ? The “-r 300” option doesn’t work apparently…

Je reste à votre disposition pour tout complément d'informations. Cordialement.
Regards / Z poważaniem / تحية خالصة / 敬礼

Michal ROZEK
CDS Ingénierie UNIX
Société Blue consulting
Tél : 01.42.18.69.42
michal.rozek.externe at cnp.fr<mailto:michal.rozek.externe at cnp.fr>


Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.

*****

This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20131217/a2d737c2/attachment.html>


More information about the Xymon mailing list