Resending to the list...
Instead of snmpget -Oqv -v2c -c BAW_R 172.16.200.11 1.3.6.1.2.1.2.2.1.10.4 > $input snmpget -Oqv -v2c -c BAW_R 172.16.200.11 1.3.6.1.2.1.2.2.1.16.4 > $output try input = `snmpget -Oqv -v2c -c BAW_R 172.16.200.11 1.3.6.1.2.1.2.2.1.10.4` output = `snmpget -Oqv -v2c -c BAW_R 172.16.200.11 1.3.6.1.2.1.2.2.1.16.4` Nuno Pereira -----Mensagem original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de alucard95 Enviada: sexta-feira, 26 de Setembro de 2008 15:28 Para: [email protected] 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 : #!/bin/sh snmpget -Oqv -v2c -c BAW_R 172.16.200.11 1.3.6.1.2.1.2.2.1.10.4 > $input snmpget -Oqv -v2c -c BAW_R 172.16.200.11 1.3.6.1.2.1.2.2.1.16.4 > $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: http://n2.nabble.com/I-need-help-with-my-rrd-file-tp1120359p1121025.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
