And now let me complete the other half of this RFE …

… in 1998 I actually thought it was possible to hijack and
change the "standard" HR-MIB in order to use SNMP as a RPC
means to query everything, not just the NEVRA and install time
as the HR-MIB does, present with package management.

These days I'm unsure whether net-snmp or openldap is
the better approach to all the detailed info present
in package metadata.

These days (1998 pre-dated XML and YAML and JSON and … spewage),
this might be done rather generally by parsing, say, a YAML
hierarchy instead of (as the HR-MIB -> rpmdb is trivially
doing with 0b files named with st->st_mtime overloaded
with install time).

SInce I now have a private "Wraptastic" OID, I'm very likely
to attempt to extend the HR-MIB using YAML (my 1st choice
of markup) and to populate the /var/cache/hrmib/* "package files"
with YAML and arbitrary RFC-822 (aka YAML mostly) KEY:VALUE
content for an extended HR-MIB (but NOT the HR-MIB itself)
for "package management" details.

I suspect that openldap rather than net-snmp is the better
approach to accessing _ALL_ of the package manager content
installed on a local machine.

Is there interest in carrying a private OID for "package management"
in net-snmp?

Just in case: I am _NOT_ returning to -lrpm, just its possible
to populate /var/cache/hrmib/* files _AND_ preserve the HR-MIB
conventions without any difficulty whatsoever …

… but I'm not sure net-snmp really SHOULD be used as transport
for essentially static (i.e. the data really never changes, unlike
say lmsensors and/or all the usual network counters) content on
hosts whatsoever.

But I can/will generate a patch to populate /var/cache/hrmib
with YAML to generally carry any "package management" related
info through a MIB if you wish.

I'm muddled on whether there is actually net-snmp need for
another "package management" MIB. What's in the HR-MIB is
rather primitive and "portable".

hth

73 de Jeff
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to