From owner-freebsd-isp@FreeBSD.ORG Thu Sep 4 00:48:38 2008 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B9881069092 for ; Thu, 4 Sep 2008 00:48:38 +0000 (UTC) (envelope-from tony@crosswinds.net) Received: from out-mx.crosswinds.net (out-mx1.crosswinds.net [216.18.117.38]) by mx1.freebsd.org (Postfix) with ESMTP id 4A5678FC1E for ; Thu, 4 Sep 2008 00:48:37 +0000 (UTC) (envelope-from tony@crosswinds.net) Received: from admin.crosswinds.net (admin.crosswinds.net [216.18.117.2]) by out-mx.crosswinds.net (Postfix) with ESMTP id 2BFD31E8E67 for ; Wed, 3 Sep 2008 20:48:37 -0400 (EDT) Received: by admin.crosswinds.net (Postfix, from userid 1001) id 233E06C85A; Wed, 3 Sep 2008 20:48:37 -0400 (EDT) Date: Wed, 3 Sep 2008 20:48:37 -0400 From: Tony Holmes To: freebsd-isp@freebsd.org Message-ID: <20080904004837.GA22814@crosswinds.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: SNMP - Hair Pulling Error :) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2008 00:48:38 -0000 After a slow start and a couple private conversations (THANKS!) I have gotten net-snmpd compiled, configured, running. I ran into an error and went to the simplest config I could and still get the "No Such Instance currently exists at this OID" error. Details: FreeBSD 4.10 cannot upgrade net-snmp-5.1.1_1 yes, old ipfw with counter rules installed 100 - 520ish /usr/local/etc/snmp/snmp.conf: rocommunity public syslocation here syscontact me pass .1.3.6.1.4.1.3027.1 /root/bytecount 100 .1.3.6.1.4.1.3027.1 /root/bytecount: #!/bin/sh echo "$2" echo "integer" /bin/expr `ipfw -a list $1 | /usr/bin/awk '{ print $3 }'` % 4294967295 Run bytecount test (pulled from snmp debug): # /root/bytecount 100 .1.3.6.1.4.1.3027.1 -g .1.3.6.1.4.1.3027.1 .1.3.6.1.4.1.3027.1 counter 7151484 Run the snmpget: # snmpget -v 2c -c public localhost .1.3.6.1.4.1.3027.1 SNMPv2-SMI::enterprises.3027.1 = No Such Instance currently exists at this OID The net-snmp shows the call being made. According to the docs I have the format right for the output of /root/bytecount. Googling lead me to this simple config and still I get the error and now sit stumped. Leads? Urls? TIA -- Tony Holmes Ph: (416) 993-1219 Founder and Senior Systems Architect Crosswinds Internet Communications Inc.