Bug 86572 - net-snmp doesn't know how to fill in hrSWRunType
Summary: net-snmp doesn't know how to fill in hrSWRunType
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jun Kuriyama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-26 03:50 UTC by wollman
Modified: 2005-11-30 05:24 UTC (History)
0 users

See Also:


Attachments
file.diff (3.40 KB, patch)
2005-09-26 03:50 UTC, wollman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description wollman 2005-09-26 03:50:15 UTC
hrSWRunType is an enumeration, which can be unknown (1), operatingSystem (2),
deviceDriver (3), or application (4).  Right now, net-snmp fills in every
process as "application", which is clearly wrong.  It should probably be
saying "unknown".  The enclosed patch gets the correct values; it is a
replacement for files/patch-hr_swrun.c in the port.  It has also been
submitted to the net-snmp project as patch #1304400.

I have arbitrarily decided that ithreads should map to deviceDriver and
all other system processes should map to operatingSystem.

How-To-Repeat: snmpget hrSWRunType.0
Comment 1 Marcus Alves Grando freebsd_committer freebsd_triage 2005-09-26 04:26:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kuriyama

Over to maintainer.
Comment 2 Jun Kuriyama freebsd_committer freebsd_triage 2005-11-30 05:23:57 UTC
State Changed
From-To: open->closed

Committed, thanks!