View previous topic :: View next topic
|
Author |
Message |
JPPR
New User
Joined: 04 Jul 2007 Posts: 20 Location: Sao Paulo
|
|
|
|
Hi,
Do someone uses SNMP to exchange message between OPEN (Distributed Environment) and MAINFRAME ?
If Yes, How can i do the process run?
Thank´s |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
SNMP is available on z/OS but a systems programmer needs to install it. The manual Communications Server: IP Configuration Reference has a chapter on setting it up but I haven't set it up myself so I couldn't tell you what is required. Consult your local systems programmer for TCP/IP to get the details such as whether SNMP is running and how to get what you want. |
|
Back to top |
|
|
HenriqueS
New User
Joined: 17 Feb 2007 Posts: 30 Location: Brazil
|
|
|
|
Just to go deeper on the subject, there is an snmp utility usually installed on /bin/snmp (HFS), but it DOES NOT SEND snmp traps just GET/SET requests, what I find it too me just incredible and ridiculous.
If anyone has any idea how to send snmp traps from z/OS I ´d be glad. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
HenriqueS
New User
Joined: 17 Feb 2007 Posts: 30 Location: Brazil
|
|
|
|
You could be more specific?
I did look on the SMNP IBM Redbook before. As far I understood there is some trap forwarding capabilities for the SNMP agent, there is talk about configuring the trap destinations, etc.
BUT if you look at the snmp agent executable syntax (/bin/snmp) you won´t find anything about SENDING traps, only about RECEIVING traps.
Check on
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1C260/7.1?SHELF=EZ2ZO10K&DT=20070604123226
Clearly there is no support to send traps from the command line. I am trying to reach some IBM forum on the Mainframe Central (http://www-03.ibm.com/systems/z/destinationz/mainframecentral/), but so far found no way to have a fast and definitive answer for this issue. |
|
Back to top |
|
|
HenriqueS
New User
Joined: 17 Feb 2007 Posts: 30 Location: Brazil
|
|
|
|
Hello folks,
I have been trying to send a simple snmp trap from z/OS to another host for some basic monitoring purposes. I found the /bin/snmp executable and its documentation in the link below:
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1C260/7.1?SHELF=EZ2ZO10K&DT=20070604123226
Also I´ve read parts of the "Managing OS/390 TCP/IP with SNMP" Redbook and got some notion about SNMP agents and the needed configuration. In this book I have read the capacity of trap forwarding for the z/OS snmp agent and other stuff.
Surprisingly, the command line tool (/bin/snmp) that interfaces with the
snmp agent task only gives me the opportunity to RECEIVE TRAPS and not to SEND THEM.
Reading over and over the snmp command syntax it is clear that I am not able to send a trap, only work with the SET/GET functions, creating a fake MIB entry on both endpoints to set some value.
Am I wrong? What can be done?
Why a send trap function is not available? |
|
Back to top |
|
|
HenriqueS
New User
Joined: 17 Feb 2007 Posts: 30 Location: Brazil
|
|
|
|
After some research and e-mails sent to the IBM-MAIN list, I´ve decided to get a Java or REXX snmp client implementation and use it instead of the built in command.
Sending traps with the /bin/snmp utility may seem possible according to some e-mails I got, but requires a lot of configuration on the OMVS environment. It´s a PITA. |
|
Back to top |
|
|
|