From owner-freebsd-questions Tue Sep 4 2:56:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sunny.pacific.net.sg (sunny.pacific.net.sg [203.120.90.127]) by hub.freebsd.org (Postfix) with ESMTP id ECE1F37B403; Tue, 4 Sep 2001 02:56:45 -0700 (PDT) Received: from smtp2.pacific.net.sg (smtp2.pacific.net.sg [203.120.90.169]) by sunny.pacific.net.sg with ESMTP id f849uhV25269; Tue, 4 Sep 2001 17:56:43 +0800 (SGT) Received: from pacific.net.sg ([203.208.143.98]) by smtp2.pacific.net.sg with ESMTP id f849ugf28190; Tue, 4 Sep 2001 17:56:43 +0800 Message-ID: <3B94A6BE.3070709@pacific.net.sg> Date: Tue, 04 Sep 2001 18:02:38 +0800 From: Kelvin Ng Chee Hoong User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: zh-TW,en MIME-Version: 1.0 To: Chojin Cc: freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Snmp problems References: <011701c13525$f63030e0$0245a8c0@chojin> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Do your community string correct ? Do you change community string recently ? Do you configure [Target] tag in mrtg.conf point to correct MIB ? Chojin wrote: >Hello, > >Since yesterday, when I do /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg >It says: >SNMP Error: >no response received >SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161) > community: "TMRTGCHO" > request ID: 1484981548 > PDU bufsize: 8000 bytes > timeout: 2s > retries: 5 > backoff: 1) > at /usr/local/lib/perl5/site_perl/5.005/SNMP_util.pm line 450 >SNMPGET Problem for ifInOctets.1 ifOutOctets.1 sysUptime sysName on >TMRTGCHO@127.0.0.1: > at /usr/local/bin/mrtg line 1485 >WARNING: Expected a number but got '' >WARNING: Expected a number but got '' > >SNMP Error: >no response received >SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161) > community: "TMRTGCHO" > request ID: 1484981549 > PDU bufsize: 8000 bytes > timeout: 2s > retries: 5 > backoff: 1) > at /usr/local/lib/perl5/site_perl/5.005/SNMP_util.pm line 450 >SNMPGET Problem for ifInOctets.2 ifOutOctets.2 sysUptime sysName on >TMRTGCHO@127.0.0.1: > at /usr/local/bin/mrtg line 1485 >WARNING: Expected a number but got '' >WARNING: Expected a number but got '' >... > >It's very strange because I didn't modify anything on snmp configuration. >Then I can't have trafic stats for my interfaces... > >I killed and restarted snmpd but no change. > >Anyone has got an idea ? > >Regards, > >Chojin > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message