From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 17 17:54:19 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 119F7CB1 for ; Tue, 17 Sep 2013 17:54:19 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A21D926EE for ; Tue, 17 Sep 2013 17:54:18 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id hq15so5302678wib.0 for ; Tue, 17 Sep 2013 10:54:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=k1AqIL8+sKBZ1YPBDwU9rTkNw/y6djm2OOaxbGaZN1g=; b=diaCL0cly615x2x5EpNEVYAi9WmkxibO1wlk2QC8EpR77YLpRwDLkPgzIqRnCbySFC qnR3Q+SiZnzicUB+Q2ljpAJ/Cl5M8/dgxo/Mw++SM5JqHB/spc3N4pDrbUryhQFYRBGj Rr7J0iYzfmMC8nM8gLr30GfQZqc5lOXLG3ZJCF/0vHy+ANnmiGDQ1kTJu7vucd24yWFz RXObLpkWQFyBN5XHGrsjLJ15Crx11TwaAH1xIlaPpo2oe5GU8lFviLOM90h5/+jEYFwU 92kYUkcw8WXYnjV5K/fjPSZL8PLkeenWNDXyBZ0d7qyGPDO19HxoMQ/fu85lzxLK/KjO HtsQ== X-Gm-Message-State: ALoCoQlBMVoGjaR+3j0cUHLi3vLleZlfLAH7El2UyHF7dp+GgQz3pZr7ONNCYJVcgB+LdmmrfL5n MIME-Version: 1.0 X-Received: by 10.194.93.3 with SMTP id cq3mr28312684wjb.26.1379438689198; Tue, 17 Sep 2013 10:24:49 -0700 (PDT) Received: by 10.217.143.135 with HTTP; Tue, 17 Sep 2013 10:24:49 -0700 (PDT) X-Originating-IP: [64.125.213.111] Date: Tue, 17 Sep 2013 13:24:49 -0400 Message-ID: Subject: FreeBSD SNMP OID Question From: Mark Saad To: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Sep 2013 17:54:19 -0000 All Can someone shed some light on a OID mystery I have. I am using cacti to trend some snmp data off a bunch of FreeBSD servers. I noticed someone added a graph to a cluster for UCDavis - ssRawSwapIn / UCDavis - ssRawSwapOut . The OIDs are .1.3.6.1.4.1.2021.11.62 / .1.3.6.1.4.1.2021.11.63 Their description is Number of blocks swapped in / Number of blocks swapped out . The mystery is the graphs show pages swapping in and out all the time. However the sysctls for swap usage show no indication of swap being used # sysctl -a |fgrep -i swap vm.swap_enabled: 1 vm.nswapdev: 1 vm.swap_async_max: 4 vm.swap_idle_threshold2: 10 vm.swap_idle_threshold1: 2 vm.stats.vm.v_swappgsout: 0 vm.stats.vm.v_swappgsin: 0 vm.stats.vm.v_swapout: 0 vm.stats.vm.v_swapin: 0 vm.disable_swapspace_pageouts: 0 vm.defer_swapspace_pageouts: 0 vm.swap_idle_enabled: 0 # uptime 2:51PM up 203 days, 22:29, 1 user, load averages: 0.00, 0.01, 0.00 # snmpwalk -c MyPassword -v2c -Of server00 .1.3.6.1.4.1.2021.11.62.0 .iso.org.dod.internet.private. enterprises.ucdavis.systemStats.ssRawSwapIn.0 = Counter32: 3588 I am using net-snmp-5.4.2.1 on FreeBSD 9.1-RELEASE amd64 See *http://net-snmp.sourceforge.net/docs/mibs/ucdavis.html -- mark saad | nonesuch@longcount.org