From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 16:40:36 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD84E16A4DA for ; Tue, 11 Jan 2005 16:40:36 +0000 (GMT) Received: from kende.com (ns1.kende.com [66.17.131.94]) by mx1.FreeBSD.org (Postfix) with SMTP id 2EA1943D3F for ; Tue, 11 Jan 2005 16:40:36 +0000 (GMT) (envelope-from andras@kende.com) Received: (qmail 61021 invoked by uid 0); 11 Jan 2005 16:40:40 -0000 Received: from unknown (HELO a) (24.1.129.219) by ns1.kende.com with SMTP; 11 Jan 2005 16:40:40 -0000 From: "Andras Kende" To: "'Shawn Guillemette'" , Date: Tue, 11 Jan 2005 10:40:48 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <41E3E53A.20509@metrocast.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-Index: AcT364203EbdxN69QiuX+u8+9p/0nQADywgg Message-Id: <20050111164036.2EA1943D3F@mx1.FreeBSD.org> Subject: RE: Mrtg question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2005 16:40:36 -0000 -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Shawn Guillemette Sent: Tuesday, January 11, 2005 8:40 AM To: questions@freebsd.org Subject: Mrtg question Im using net-snmp-5.2.1 with mrtg on a Alpha CPU. I want to monitor my memorry usage. However when I add the following to the mrtg.cfg file I find that SNMPD shuts down and I get these errors in the logs. I add this to mrtg.cfg LoadMIBs: /usr/local/share/snmp/mibs/UCD-SNMP-MIB.txt ### Memmory Target[freemem]:.1.3.6.1.4.1.2021.4.11.0&.1.3.6.1.4.1.2021.4.11.0:public@loc alhost Options[freemem]: nopercent,growright,gauge,noinfo Title[freemem]: Free Memory PageTop[freemem]:

Free Memory

MaxBytes[freemem]: 1000000 kMG[freemem]: k,M,G,T,P,X YLegend[freemem]: bytes ShortLegend[freemem]: bytes LegendI[freemem]: Free Memory: LegendO[freemem]: Legend1[freemem]: Free memory, not including swap, in bytes I get this in the snmpd.log file kvm_openfiles: Permission denied kvm_openfiles: /dev/mem: Permission denied I do see the file in /dev/mem ls -la mem crw-r----- 1 root kmem 2, 0 Jan 6 17:45 mem _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Hello Shawn, Try these OID: ucd/net - Memory - Buffers: .1.3.6.1.4.1.2021.4.14.0 ucd/net - Memory - Cache: .1.3.6.1.4.1.2021.4.15.0 ucd/net - Memory - Free: .1.3.6.1.4.1.2021.4.6.0 http://www.kende.com/cacti/graph.php?local_graph_id=14&rra_id=all Andras Kende http://www.kende.com