MERZKIRCH FRANK wrote:
> 
> i read the tutorial to get familiar with rrd (i used to work with mrtg 
> before).
> all right till now, but as i tryed to do the "real world example" i ran into 
> chaos...
> 
> ok, i built the rrd database, and i am familiar with SNMP, so it was no
> problem to find the right oids for my router.
> 
> snmpget ...... => $in
> snmpget ...... => $out
> 
> but when i try to update my newly created rrd database i get this error.
> 
> rrdtool update cisco.rrd N:$in:$out
> 
> ERROR: expected 2 data source readings (got 1) from N: ...

Most likely there is whitespace at the end of the first variable.
If you would expand the string, it will look like:

     rrdtool update cisco.rrd N:12345  :6789

cheers,
-- 
   __________________________________________________________________
 / [EMAIL PROTECTED]                  [EMAIL PROTECTED] \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to