[nycbug-talk] FreeBSD SNMP OID Question

Mark Saad mark.saad at ymail.com
Tue Sep 17 10:58:12 EDT 2013


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 | mark.saad at ymail.com



More information about the talk mailing list