[rrd-users] I need help with my rrd file

Nuno Pereira nunopereira at interacesso.pt
Fri Sep 26 17:21:14 CEST 2008

Resending to the list...

Instead of 

snmpget -Oqv -v2c -c BAW_R >  $input
snmpget -Oqv -v2c -c BAW_R >  $output


input  = `snmpget -Oqv -v2c -c BAW_R`
output = `snmpget -Oqv -v2c -c BAW_R`

Nuno Pereira

-----Mensagem original-----
De: rrd-users-bounces at lists.oetiker.ch
[mailto:rrd-users-bounces at lists.oetiker.ch] Em nome de alucard95
Enviada: sexta-feira, 26 de Setembro de 2008 15:28
Para: rrd-users at lists.oetiker.ch
Assunto: Re: [rrd-users] I need help with my rrd file

I think the problem is with my script.

So, i create a new script like this : 

snmpget -Oqv -v2c -c BAW_R >  $input

snmpget -Oqv -v2c -c BAW_R >  $output
     # I can use N as a replacement for the current time
     rrdtool update /home/zabbix/switch.rrd 1222431060:$input:$output

and when i execute it, i have this result : 

#sh test_script.sh 
test_script.sh: 2: cannot create : Directory nonexistent
test_script.sh: 4: cannot create : Directory nonexistent

I don't understand this error, i now it's a scripting error without link
with rrdtool but if anybody understand what's happen... :-)

View this message in context:
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.

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

More information about the rrd-users mailing list