Re: sending snmp traps from z/OS
- From: schmum@xxxxxxxxxxxxxx (Michael Schmutzok)
- Date: 1 Dec 2008 06:38:35 -0800
It can be done but it does require a lot of research and you get to become real familiar with the SNMP RFC's. We've used the DPI to create a sub-agent, register it with the agent (SNMP), send SNMP traps (also using TRAPFWD) and handle GET requests from other platforms.
In article <LISTSERV%200811251749450833.10AF@xxxxxxxxxxx> you wrote:Don Poitras <poitras@xxxxxxxxx> 11/26/2008 11:29 AM >>>
On Tue, 25 Nov 2008 09:23:10 -0500, Don Poitras
<poitras@xxxxxxxxx> wrote:
...bin/bookmgr_OS390/BOOKS/ezap4002/5.0
If you're willing to write some code, you can use DPI to issue the
traps. See:
http://publibz.boulder.ibm.com/cgi-
...
I hadn't looked at DPI for several years so I had to refesh my
memory. I could have easily overlooked something, but as near
as I can tell, DPI is primarily for communication between agent and
subagent. A subagent can use DPI to generate a trap.
Isn't that what the OP was asking how to do? Yes, this requires
the standard MVS SNMP agent to be up and running.
However, (if I understand the term manager) it sounds like this
really should be a SNMP manager function. Sort of a manager to
manager process (which may be outside of official SNMP use.) I
see in a z/OS 1.9 manual that there is an SNMP Manager API
available in 1.9. I'm stuck on 1.8 so I can't check this out, but I
saw a "What's new" doc on the web that says:
z/OS Communications Server also provides an extension of the
SNMP Manager API, the SNMP Notification API, which
leverages the functionality of the SNMP Manager API to send
notifications to SNMP agents and/or SNMP Notification
Receivers. Available notifications include Informs and both
Version 1 and Version 2 Traps.
I think this API is really the way to go if you have 1.9 or later.
The OP wanted to send traps, not receive them.
I've never looked into "Informs", but I gather they are sort of
"guaranteed delivery" traps.
Pat O'Keefe
--
Don Poitras - SAS Development - SAS Institute Inc. - SAS Campus Drive
sasdtp@xxxxxxx (919) 531-5637 Cary, NC 27513
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.
- Prev by Date: Re: is there anyp rogram can read all user catalog from master catalog
- Next by Date: Re: searching all members of a pds using wildcards
- Previous by thread: Re: is there anyp rogram can read all user catalog from master catalog
- Next by thread: Re: sending snmp traps from z/OS
- Index(es):
Relevant Pages
|