Hi, Not sure I understand why you're piping the snmpwalk output through 'wc -l'... doesn't that leave you with the number of lines in the snmpwalk output ? J.
>From: "Michael Gargiullo" <[EMAIL PROTECTED]> >To: "Rrd-Users" <[email protected]> >Subject: [rrd-users] not updating >Date: Fri, 14 Jun 2002 10:05:49 -0400 [...] >my $stjoe=`snmpwalk x.x.x.x public .1.3.6.1.2.1.10.12.3.3.1.9 | wc -l`; >my $paramus=`snmpwalk x.x.x.x public .1.3.6.1.2.1.10.12.3.3.1.9 | wc -l`; >my $artesia=`snmpwalk x.x.x.x public .1.3.6.1.2.1.10.12.3.3.1.9 | wc -l`; >my $cambridge=`snmpwalk x.x.x.x public .1.3.6.1.2.1.10.12.3.3.1.9 | wc >-l`; [...] _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- 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
