SNMP: Create custom OID
Asked Answered
B

2

7

I need custom OIDs for monitoring some of my software states. But I just can't understand: how can I create custom OID (like .1.3.6.1.4.1.30891.100.103) in Windows XP system? I need few of them to write there some info and read it when needed but I have no idea how to create them in the system.

Broadcaster answered 11/8, 2010 at 12:21 Comment(0)
M
2

You should do this by writing an extension of Windows SNMP agent. The following article shows how,

http://www.codeproject.com/KB/IP/SNMP_Agent_DLL__Part1_.aspx

Mook answered 12/8, 2010 at 11:30 Comment(1)
I once created a simple guide that might help github.com/ahmednawazkhan/guides/blob/master/snmp/…Gormley
F
7

There are a few options to register OIDs, including:

In both cases, this defines a prefix and you can do what you want with the rest of the tree.

I'd suggest reading this as well if you're not sure what to choose: http://www.oid-info.com/faq.htm (more specifically "How to get an OID assigned?").

Flyspeck answered 11/8, 2010 at 12:35 Comment(2)
But how can I add them in to the system? I mean: if I register it on any of these sites it won't appear in my system and I have no idea how to add it there.Broadcaster
Not sure, maybe something along these lines: msdn.microsoft.com/en-us/library/aa393621%28VS.85%29.aspxFlyspeck
M
2

You should do this by writing an extension of Windows SNMP agent. The following article shows how,

http://www.codeproject.com/KB/IP/SNMP_Agent_DLL__Part1_.aspx

Mook answered 12/8, 2010 at 11:30 Comment(1)
I once created a simple guide that might help github.com/ahmednawazkhan/guides/blob/master/snmp/…Gormley

© 2022 - 2024 — McMap. All rights reserved.