[rrd-users] Time stamp on graphs

Alceu R. de Freitas Jr. glasswalk3r at yahoo.com.br
Thu Oct 8 17:00:42 CEST 2015

Maybe you will need to escape ":" as is being done with the shell script.
Try passing a hardcoded values to rrdtool and validate that.
      De: Devante <devantev at gmail.com>
 Para: rrd-users at lists.oetiker.ch 
 Enviadas: Quinta-feira, 8 de Outubro de 2015 11:51
 Assunto: Re: [rrd-users] Time stamp on graphs
I know there is a Get-Time cmdlet in powershell which outputs as an example,
Thursday, October 08, 2015 9:33:39 AM

Above the $CMD line I added:

$date = Get-Date

then I added:

$arg24 = "COMMENT: $date "

then when I execute the script it has a problem with the colons in the time:

rrdtool.exe : ERROR: I don't understand ':35:08 ' in command: 'COMMENT:
10/08/2015 09:33:39 '

Is there a way to get rrdtool to accept that time format?

Thanks again!

View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/Time-stamp-on-graphs-tp7583154p7583155.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.

rrd-users mailing list
rrd-users at lists.oetiker.ch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/rrd-users/attachments/20151008/f4dc891c/attachment-0001.html>

More information about the rrd-users mailing list