MIB writing and index in the middle of the OID

Florian Lohoff <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization rfc822 - pure communication
Message-ID <[email protected]>
Hi,
i am trying to enable some of our applications with AgentX support.
I got net-snmp married to libevent which works. Now i am trying
to wrap my head around how to design the mib and the AgentX code.

My immediate idea was something like

...enterprises.acme.apps.appname.$pid.stats.received.$peer

Which made me think if its possible to put and index in the
middle of the oid tree like this and how to write a MIB
for something like this.

From looking around i only found indexes at the end of the
oid.

So that would be

enterprises.acme.apps.appname.stats.received.$pid.$peer

When walking something like enterprises.acme.apps.appname.stats i would
always talk to all app instances because their stats are interleaved.

Flo
-- 
Florian Lohoff                                                 [email protected]

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
signature.asc (application/pgp-signature, 828 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIVAwUBUuv29ZDdQSDLCfIvAQj7vA//aLlTpmVDF/Sv4BNgmvQLdg+wBKapO3P9
wNY/80nbLRM6+PpTjucy1zKCRSpc7jvu7kKkWKLzKdw+ZpbsLRe8E5L6/xXRa+U6
hzrrnzIPw+Idv83bU8VBXT7EJX/IFDwAyS/6YkWAhdsVGn4cUYa/6fbi/VPGGjlR
FhoqWYei6oDf9Zx/Z8ue3G2CrpXEtP09mEqq+g3moBmNiU2AbYE3rpR3gSraqjLL
MtjmyGYEHUSiW9qqMR5NaMkf/lov9SXS8esjby7PPEDZeHKbihSDPjInoIIadRuT
7ae37h+Cni91MIPwHShRvSB168OjgHrVSFTnZcVTiAjXdHPfsfU4wzu6AuwarOOH
SHCEvzsvlf0VFXAnUznAHbRXspwxv7TqnK75LYGbYKDY+GbQZ6cz15vFbd2Bn68p
PC/DvbNYUzTPpHpaccG/KttHaib/caGhuVC9NWowoNcocuByLJ8wiXGyHRgYKRSl
M+KBICYI/AC+0cfMqF48BqYYfEkHe3o+jDWJNpdUCXOOQXBi4s3t244PCDd1i9oJ
eLgGgm3Gj/jtd4Gyw9iwDYlVVtTan4RHO1i1nrLzxQdKy1imxlj6ALBGkuHy/2mF
JEFHV1qggZE1f1ayIvC4r9joiWVCtYsG0UYB66EdAyw6paSQj3pEZ5/XA4PwvQ9g
2LoNYhBSI0k=
=2cIC
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.