|
Mike, Bringing up SNMP is very easy. Of course, you have to configure the SNMP parameters. Use CFGTCP, then option 20, and configure SNMP. If you need some examples of what to put in here I'll extract some stuff from our manuals and send it to you. Depending on the SNMP management software you may need to register the IP address of the AS/400 with it. Some management software will ignore a system unless it is registered. Once SNMP support is activated on the AS/400 (strtcpsvr *snmp) you should see the AS/400 in your network management software. The basic information should be available (system information, network interfaces, etc.). The AS/400 generates a cold start trap message during IPL. For application level stuff you will need to program an SNMP sub-agent. This is a program (usually written in C) that registers to the AS/400 SNMP support, and handle trap messages, and other SNMP functions. I've only done the trap message support, but I think you should be able to do the set and get functions if you want. That will require creating the MIB documents. IBM provides the MIB documents for the system, SNADS, and a few other items. After the basics you've got to do this yourself. I believe you should find some sample code in the System API Reference manual that covers the SNMP functions. Good luck! Patrick ----- Original Message ----- From: "Mike Shaw" <mhshaw@worldnet.att.net> To: <midrange-l@midrange.com> Sent: Tuesday, February 12, 2002 1:58 PM Subject: SNMP On iSeries > Folks, > > Has anyone brought up SNMP on the iSeries? Specifically, what is involved > in setting up agents and sub agents on the iSeries side to report management > information to a package called Site Scope which is on a UNIX box here? If > I have done a review of the literature correctly, the iSeries agents and > sub-agents conform to RFC 1592 which defines the Distributed Protocol > Interface. This is further evidenced by looking at the iSeries SNMP API's. > > I think I pretty much have the overall SNMP process/flow down, what I am > missing is the understanding of the pieces on the iSeries side to make this > happen. I am not a C coder by a long shot, but I am willing to roll up my > sleeves! :-) What has to be in place on the iSeries side to report: > > CPU Utilization > Disk Utilization > Connectivity (this can be a ping from Site Scope) > Services such as telnet, ftp, http servers, etc. > > If I am barking up a tall tree, should I be considering a package? > > Any and all input is greatly appreciated! > > Regards, > > Mike Shaw > > > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l > or email: MIDRANGE-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.