Re: Need To Build Custom MIB
- From: "Alfred" <99m@xxxxxxxxx>
- Date: 5 Apr 2007 10:58:03 -0700
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.
.
- Prev by Date: Re: Barcode printing: Unix to HP?
- Next by Date: Quantum DLT 7000
- Previous by thread: New AIX machines issue
- Next by thread: Quantum DLT 7000
- Index(es):
Relevant Pages
|