You have to assign values to $input and $output! /andy
On Friday 26 September 2008 10:28:18 am alucard95 wrote: > 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.htm >l 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 -- Andy Riebs, HP Scalable Computing and Infrastructure / Linux R&D (w) [EMAIL PROTECTED] Technology for better business outcomes +1 (978) 748-0043 (Mon,Thu,Fri) +1 (508) 467-3002 (Tue,Wed) (h) [EMAIL PROTECTED] My opinions are not necessarily those of HP _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
