bsnmpd(1) module for HAST

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed May 1 17:51:47 UTC 2013


On Wed, May 01, 2013 at 12:03:22PM +0300, Mikolaj Golub wrote:
> Hi,
> 
> I would like to commit this bsnmpd module for HAST, if there is no
> objections:
> 
> http://people.freebsd.org/~trociny/snmp_hast.1.patch
> 
> Example:
> 
> kopusha:~% snmpwalk -c geheim -v2c localhost:11111 BEGEMOT-HAST-MIB::begemotHast
> BEGEMOT-HAST-MIB::hastConfigFile.0 = STRING: "/tmp/hast.conf.101"
> BEGEMOT-HAST-MIB::hastResourceIndex.0 = INTEGER: 0
> BEGEMOT-HAST-MIB::hastResourceName.0 = STRING: "test"
> BEGEMOT-HAST-MIB::hastResourceRole.0 = INTEGER: primary(2)
> BEGEMOT-HAST-MIB::hastResourceProvName.0 = STRING: "test"
> BEGEMOT-HAST-MIB::hastResourceLocalPath.0 = STRING: "/dev/md101"
> BEGEMOT-HAST-MIB::hastResourceExtentSize.0 = INTEGER: 2097152
> BEGEMOT-HAST-MIB::hastResourceKeepDirty.0 = INTEGER: 64
> BEGEMOT-HAST-MIB::hastResourceRemoteAddr.0 = STRING: "kopusha:7772"
> BEGEMOT-HAST-MIB::hastResourceSourceAddr.0 = ""
> BEGEMOT-HAST-MIB::hastResourceReplication.0 = INTEGER: memsync(1)
> BEGEMOT-HAST-MIB::hastResourceStatus.0 = INTEGER: complete(0)
> BEGEMOT-HAST-MIB::hastResourceDirty.0 = Counter64: 0
> BEGEMOT-HAST-MIB::hastResourceReads.0 = Counter64: 101
> BEGEMOT-HAST-MIB::hastResourceWrites.0 = Counter64: 554
> BEGEMOT-HAST-MIB::hastResourceDeletes.0 = Counter64: 0
> BEGEMOT-HAST-MIB::hastResourceFlushes.0 = Counter64: 0
> BEGEMOT-HAST-MIB::hastResourceActivemapUpdates.0 = Counter64: 31
> BEGEMOT-HAST-MIB::hastResourceReadErrors.0 = Counter64: 0
> BEGEMOT-HAST-MIB::hastResourceWriteErrors.0 = Counter64: 0
> BEGEMOT-HAST-MIB::hastResourceDeleteErrors.0 = Counter64: 0
> BEGEMOT-HAST-MIB::hastResourceFlushErrors.0 = Counter64: 0
> 
> kopusha:~% snmpset -c geheim -v2c localhost:11111 BEGEMOT-HAST-MIB::hastResourceRole.0 = 1
> BEGEMOT-HAST-MIB::hastResourceRole.0 = INTEGER: init(1)

LGTM:)

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://mobter.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20130501/b27d2cef/attachment.sig>


More information about the freebsd-fs mailing list