rrdtool CREATE - invalid argument

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

rrdtool CREATE - invalid argument

Petr Lázňovský
What is wrong with such command? Getting message: ERROR: creating 'Z\:\rrdfiles\data\actual\10.12.64.19.rrd': Invalid argument

"C:\Inetpub\wwwroot\monitoring\utilities\rrdtool\rrdtool.exe" create "Z\:\rrdfiles\data\actual\10.12.64.19.rrd" DS:min:GAUGE:600:U:50 DS:avg:GAUGE:600:U:100 DS:max:GAUGE:600:U:200 DS:loss:GAUGE:600:U:101 DS:traf1:COUNTER:600:U:100000000 DS:traf2:COUNTER:600:U:100000000 DS:uptime:GAUGE:600:U:99999  DS:dis:GAUGE:600:U:999999 DS:signal:GAUGE:600:U:100 DS:mcs:GAUGE:600:U:32 DS:txsector:GAUGE:600:U:100 DS:rxsector:GAUGE:600:U:100 RRA:AVERAGE:0.5:1:200000 RRA:AVERAGE:0.5:5:300000

thanks, L.                                                                                            

_______________________________________________
rrd-users mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply | Threaded
Open this post in threaded view
|

Re: rrdtool CREATE - invalid argument

Pablo Sanchez
[ Comments below, in-line ]


On Thu, 8 Feb 2018 20:45:16 +0100, Petr Lázňovský wrote:

> What is wrong with such command? Getting message: ERROR: creating 'Z\:\rrdfiles\data\actual\10.12.64.19.rrd': Invalid argument
>
> "C:\Inetpub\wwwroot\monitoring\utilities\rrdtool\rrdtool.exe" create "Z\:\rrdfiles\data\actual\10.12.64.19.rrd" DS:min:GAUGE:600:U:50 DS:avg:GAUGE:600:U:100 DS:max:GAUGE:600:U:200 DS:loss:GAUGE:600:U:101 DS:traf1:COUNTER:600:U:100000000 DS:traf2:COUNTER:600:U:100000000 DS:uptime:GAUGE:600:U:99999  DS:dis:GAUGE:600:U:999999 DS:signal:GAUGE:600:U:100 DS:mcs:GAUGE:600:U:32 DS:txsector:GAUGE:600:U:100 DS:rxsector:GAUGE:600:U:100 RRA:AVERAGE:0.5:1:200000 RRA:AVERAGE:0.5:5:300000
>

Hi Petr,

It appears you're on Windows (...\rrdtool.exe).  Don't you have an extra
'\' after the drive letter (Z)?

Instead of:  Z\:\rrdfiles\...'

Should be:  Z:\rrdfiles\...'

Cheers,

--
Pablo Sanchez - Blueoak Database Engineering, Inc
Ph:    819.459.1926        iNum:  883.5100.0990.1054

_______________________________________________
rrd-users mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply | Threaded
Open this post in threaded view
|

Re: rrdtool CREATE - invalid argument

Petr Lázňovský
I remember semicolon excaping is important in rrdtool, but this was a mistake.

Thanks, L.
> [ Comments below, in-line ]


> On Thu, 8 Feb 2018 20:45:16 +0100, Petr Lázňovský wrote:

>> What is wrong with such command? Getting message: ERROR: creating 'Z\:\rrdfiles\data\actual\10.12.64.19.rrd': Invalid argument

>> "C:\Inetpub\wwwroot\monitoring\utilities\rrdtool\rrdtool.exe" create "Z\:\rrdfiles\data\actual\10.12.64.19.rrd" DS:min:GAUGE:600:U:50 DS:avg:GAUGE:600:U:100 DS:max:GAUGE:600:U:200 DS:loss:GAUGE:600:U:101 DS:traf1:COUNTER:600:U:100000000 DS:traf2:COUNTER:600:U:100000000 DS:uptime:GAUGE:600:U:99999  DS:dis:GAUGE:600:U:999999 DS:signal:GAUGE:600:U:100 DS:mcs:GAUGE:600:U:32 DS:txsector:GAUGE:600:U:100 DS:rxsector:GAUGE:600:U:100 RRA:AVERAGE:0.5:1:200000 RRA:AVERAGE:0.5:5:300000


> Hi Petr,

> It appears you're on Windows (...\rrdtool.exe).  Don't you have an extra
> '\' after the drive letter (Z)?

> Instead of:  Z\:\rrdfiles\...'

> Should be:  Z:\rrdfiles\...'

> Cheers,

> --
> Pablo Sanchez - Blueoak Database Engineering, Inc
> Ph:    819.459.1926        iNum:  883.5100.0990.1054

> _______________________________________________
> rrd-users mailing list
> [hidden email]
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

_______________________________________________
rrd-users mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users