Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72201 - net-snmp: Support for the hrSWInstalled* variables
Summary: net-snmp: Support for the hrSWInstalled* variables
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Max Kalika (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-23 01:48 UTC by Gudleik Rasch
Modified: 2004-12-17 20:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gudleik Rasch 2004-11-23 01:48:35 UTC
In the HOST-RESOURCES-MIB there are variables that can tell you what kind of software is installed on a host (hrSWInstalled), and which date a particular application was installed an so on. These variables are named hrSWInstalled*.

But this does not seem to work on Gentoo:
% snmpwalk -v2c -c public localhost host.hrSWInstalled
HOST-RESOURCES-MIB::hrSWInstalledLastChange.0 = Timeticks: (0) 0:00:00.00
HOST-RESOURCES-MIB::hrSWInstalledLastUpdateTime.0 = Timeticks: (0) 0:00:00.00
Comment 1 Max Kalika (RETIRED) gentoo-dev 2004-12-17 20:45:06 UTC
Welp, I've done sone digging and as far as linux goes, only rpm based installs work (i.e. if librpm exists).  If someone wants to hack up a C interface to the portage tree and plug it into agent/mibgroup/host/hr_swinst.c, by all means.  I might do it if I'm really bored...  But for now, this is unsolvable.