Re: Need To Build Custom MIB



On Mar 23, 2:46 pm, "Alfred" <9...@xxxxxxxxx> wrote:
Very informative. Thanks. Say, will this work on AIX? I sort of half-
own my AIX servers and the corporate office won't let me put net-snmp
on them. I can only put net-snmp on SLES9 Linux because that's what
comes with it. Instead, they want me to standardize on the AIX
proprietary SNMP. This comes with snmpinfo set/get/dump + the 'mosy'
command, and has about 5 daemons in total to make SNMP work. It's so
weird -- even the UCD MIBs are not part of the package. I've got SNMP
working and I'm pulling back proper data, but I then need to create my
own MIB/OID so that I can return application-specific stuff. The app
vendor doesn't have SNMP hookup, so I have to write something myself.

I just wanted to say that I finally found a solution thanks to Dr.
John Tesch at IBM (Texas). He showed me that there's a sample "smux"
daemon that I can compile and customize in C. It's on the hard drive
with AIX 3.5 in /usr/samples/snmpd/smux/sampled. However, it's
designed for IBM's $3500 Visual Age C++ compiler. However, he and I
figured out we could rework it a little to get it to compile with the
GCC compiler. We also found we couldn't get it to work unless we
migrated from SNMP v1 to SNMP v3, which is a single command
'snmpv3_ssw -n', and then edited /etc/snmpdv3.conf file to make the
community read-write and add in a line about smux and sampled. This is
described in the README and the snmpdv3.conf file itself. It took
about 2 weeks of work to get it going. Now I have 25 custom OIDs that
I can read/write string data to and then pick up via an SNMP browser
remotely. We read/write to this data using a Bash script and doing
'snmpinfo -v -m set customOID1.0="test"' and 'snmpinfo -v -m get
customOID1.0'.

If you're wanting to reach Dr. John, he has a public wiki and a blog
at:

Blog: http://www-128.ibm.com/developerworks/blogs/dw_blog.jspa?blog=750
Wiki: http://www-941.ibm.com/collaboration/wiki/display/WikiPtype/Home

I imagine in some cases certain fees may apply if you need to use his
consulting time.

.



Relevant Pages

  • Re: SNMPing
    ... eXc Software has a way to display SNMP traps (and can ... The end result is that you get your traps (from any snmp ... > alert notification in MOM 2005. ... > to compile them. ...
    (microsoft.public.win32.programmer.wmi)
  • Windmanage
    ... I am trying to develop a device to be managed via snmp / web based ... interface, but am having a real hard time getting files to compile - i ...
    (comp.os.vxworks)
  • Re: snmpd strangeness
    ... I'm not even sure I'm using snmpd for anything... ... what SNMP is, or why said process is running on your machine. ... yeah, you read that right, kernel panics. ... You would have to work with the Net-SNMP folks to figure out what the ...
    (freebsd-questions)
  • [Full-disclosure] [ GLSA 200808-02 ] Net-SNMP: Multiple vulnerabilities
    ... Title: Net-SNMP: Multiple vulnerabilities ... snmpd and execution of arbitrary code in Perl applications using ... Net-SNMP is a collection of tools for generating and retrieving SNMP ... The SNMPv3 protocol uses a keyed-Hash Message Authentication Code ...
    (Full-Disclosure)
  • [ GLSA 200808-02 ] Net-SNMP: Multiple vulnerabilities
    ... Title: Net-SNMP: Multiple vulnerabilities ... snmpd and execution of arbitrary code in Perl applications using ... Net-SNMP is a collection of tools for generating and retrieving SNMP ... The SNMPv3 protocol uses a keyed-Hash Message Authentication Code ...
    (Bugtraq)