IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

SNMP to exchange message

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> Other Mainframe Topics
View previous topic :: View next topic  
Author Message
JPPR



Joined: 04 Jul 2007
Posts: 21
Location: Sao Paulo

Posted: Fri Aug 22, 2008 8:09 pm    Post subject: SNMP to exchange message  

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



Joined: 06 Jun 2008
Posts: 943
Location: Atlanta, GA

Posted: Fri Aug 22, 2008 8:25 pm    Post subject:  

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



Joined: 17 Feb 2007
Posts: 11
Location: Brazil

Posted: Thu Nov 20, 2008 2:04 am    Post subject:  

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



Joined: 14 Mar 2007
Posts: 3168
Location: italy

Posted: Thu Nov 20, 2008 2:20 am    Post subject: Reply to: SNMP to exchange message  

did anybody care to look at...
http://www.redbooks.ibm.com/redbooks/pdfs/sg245866.pdf

or
http://www.faqs.org/rfcs/rfc1157.html
Back to top  
HenriqueS



Joined: 17 Feb 2007
Posts: 11
Location: Brazil

Posted: Fri Nov 21, 2008 12:10 am    Post subject: Reply to: SNMP to exchange message  

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

http://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. I did searches on this forum (ibmmainframes.com) and on READ FORUM RULES.com...
Back to top  
HenriqueS



Joined: 17 Feb 2007
Posts: 11
Location: Brazil

Posted: Fri Nov 21, 2008 9:39 pm    Post subject: Sending snmp traps from z/OS - how?  

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:

http://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  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> Other Mainframe Topics
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM