FreeBSD SNMP OID Question

Dan Nelson dnelson at allantgroup.com
Tue Sep 17 18:11:10 UTC 2013


In the last episode (Sep 17), Mark Saad said:
>   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 .
 
> # 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

That's a counter, so it's reporting the total number of pageins since boot
(or since snmp started, depending on the particular value you're fetching). 
Cacti should be able to poll that OID and graph the difference over time to
show pageins/sec.


-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-hackers mailing list