[rrd-users] RE : mailgraph.pl

GRANIE Laurent (EURIWARE) Laurent.GRANIE at euriware.fr
Tue May 17 19:26:08 MEST 2005


I'm new to rrd. I discovered it by using mailgraph.pl.

Here my problem : I want to now the number of spam I received yesterday.
I don't want the past 24 hours but the last day from 00:00am to 11:59pm.

I try this command :
rrdtool xport --start `date --date "20050516 00:00:00" +%s` --end `date
--date "20050516 23:59:59" +%s` --step 480
--date "20050514 00:00:00" +%s`:`date --date "20050516 23:59:59" +%s`
CDEF:dspam=spam,UN,0,spam,IF,480,* CDEF:sspam=PREV,UN,dspam,PREV,IF,dspam,+

result :

<?xml version="1.0" encoding="ISO-8859-1"?>


So, how can I get the result for a periode that don't finish now (or today).

Thanks by advance,

ATTENTION Le message contenu dans cet email ainsi que dans tout fichier
attaché est destiné exclusivement aux personnes dont le nom figure
ci-dessus. Il peut contenir des informations confidentielles ou protégées
par le secret professionnel et dont la divulgation est strictement prohibée.
Si vous avez reçu cet email par erreur,détruisez-en le contenu. Vous n'êtes
pas autorisé, dans cette hypothèse, à copier, distribuer ou conserver ce
message. Merci.
WARNING This information in this mail and in any attachments is intended for
the above-mentioned addressees only. It may contain privileged or
confidential informationthe review, dissemination or disclosure of which is
strictly prohibited. If you have received this email by error, please
destroy it. In this case, you are not authorisedto disclose, copy,
distribute, or retain this message or any part of it. Thank you.

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the rrd-users mailing list