Re: Time stamp on graphs

"Alceu R. de Freitas Jr." <[email protected]>
Newsgroups gmane.comp.db.rrdtool.user
Message-ID <[email protected]>
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 <[email protected]>
 Para: [email protected] 
 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
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.