Hello list's friends: I'm working with RRDTool two weeks ago. I'm trying to graphics about the memory and CPU of two routers CISCO, but I have some problems. Help me please:
This is the line to create the DB: rrdtool create prueba0.rrd DS:maxmemory:GAUGE:600:U:U RRA:AVERAGE:0.5:1:10 RRA:MAX:0.5:1:10 And the script to update the DB: #!/bin/bash d=`snmpget -v2c -OQv -c sofasp 200.87.13.1 .1.3.6.1.4.1.9.9.109.1.1.1.1.3.1` a=`perl -e 'print time, "\n" '` /usr/bin/rrdtool update prueba0.rrd $a:$d >/dev/null When I run it in the command line (with sh prueba0.sh), it work fine, but with the crontab, the Data Base is not updated well. I put this line. */5 * * * * /bin/sh /srv/www/htdocs/pruebas/prueba0.sh >/dev/null 2>&1 Do you now what is the problem with mi script. Thanks . Juan Luis -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
