Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2013 13:11:01 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Mark Saad <nonesuch@longcount.org>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: FreeBSD SNMP OID Question
Message-ID:  <20130917181101.GB97298@dan.emsphone.com>
In-Reply-To: <CAMXt9NYZNRqzuCmY4dgQNFaGGO5ruB2o-gBgf0Vhr_dnwjb5NQ@mail.gmail.com>
References:  <CAMXt9NYZNRqzuCmY4dgQNFaGGO5ruB2o-gBgf0Vhr_dnwjb5NQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



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