Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2013 13:24:49 -0400
From:      Mark Saad <nonesuch@longcount.org>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   FreeBSD SNMP OID Question
Message-ID:  <CAMXt9NYZNRqzuCmY4dgQNFaGGO5ruB2o-gBgf0Vhr_dnwjb5NQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMXt9NYZNRqzuCmY4dgQNFaGGO5ruB2o-gBgf0Vhr_dnwjb5NQ>