Hi,
I try to do the following:
set cmd "rrdtool create c://rrdtool//Gas1.rrd --start 1360279400 --step 600 DS:AGas:GAUGE:900:U:U DSGas:GAUGE:900:U:U RRA:MAX:0.5:1:1008"
exec $cmd
this work's OK, the DB is created!
but within a procedure:
proc db_create {} {
set cmd "rrdtool create c://rrdtool//Gas1.rrd --start 1360279400 --step 600 DS:AGas:GAUGE:900:U:U DSGas:GAUGE:900:U:U RRA:MAX:0.5:1:1008"
exec $cmd
}
it does not work, I get an error:
couldn't execute "rrdtool create c:\rrdtool\Gas1.rrd --start 1360279400 --step 600 DS:AGas:GAUGE:900:U:U DSGas:GAUGE:900:U:U RRA:MAX:0.5:1:1008": no such file or directory
What am I doing wrong here????
Any help would be appreciated.
Thanks
Stef
I try to do the following:
set cmd "rrdtool create c://rrdtool//Gas1.rrd --start 1360279400 --step 600 DS:AGas:GAUGE:900:U:U DSGas:GAUGE:900:U:U RRA:MAX:0.5:1:1008"
exec $cmd
this work's OK, the DB is created!
but within a procedure:
proc db_create {} {
set cmd "rrdtool create c://rrdtool//Gas1.rrd --start 1360279400 --step 600 DS:AGas:GAUGE:900:U:U DSGas:GAUGE:900:U:U RRA:MAX:0.5:1:1008"
exec $cmd
}
it does not work, I get an error:
couldn't execute "rrdtool create c:\rrdtool\Gas1.rrd --start 1360279400 --step 600 DS:AGas:GAUGE:900:U:U DSGas:GAUGE:900:U:U RRA:MAX:0.5:1:1008": no such file or directory
What am I doing wrong here????
Any help would be appreciated.
Thanks
Stef