Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

SNMP to exchange message

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
JPPR

New User


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

PostPosted: Fri Aug 22, 2008 8:09 pm    Post subject: SNMP to exchange message
Reply with quote

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
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7990
Location: Bellevue, IA

PostPosted: Fri Aug 22, 2008 8:25 pm    Post subject:
Reply with quote

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
View user's profile Send private message
HenriqueS

New User


Joined: 17 Feb 2007
Posts: 30
Location: Brazil

PostPosted: Thu Nov 20, 2008 2:04 am    Post subject:
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Thu Nov 20, 2008 2:20 am    Post subject: Reply to: SNMP to exchange message
Reply with quote

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
View user's profile Send private message
HenriqueS

New User


Joined: 17 Feb 2007
Posts: 30
Location: Brazil

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

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.
Back to top
View user's profile Send private message
HenriqueS

New User


Joined: 17 Feb 2007
Posts: 30
Location: Brazil

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

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
View user's profile Send private message
HenriqueS

New User


Joined: 17 Feb 2007
Posts: 30
Location: Brazil

PostPosted: Tue Jan 06, 2009 12:12 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Truncated error message after VERIFY ... David Sde TSO/ISPF 4 Mon Sep 05, 2016 11:26 pm
No new posts IEC999I MESSAGE ERROR Manshadi ABENDS & Debugging 3 Sun Apr 17, 2016 3:43 pm
No new posts Error message from the J2ee converter sivasaras IMS DB/DC 5 Thu Nov 26, 2015 3:20 pm
No new posts Message received hexa decimal format-... Sathiyendran Java & MQSeries 4 Sat Sep 05, 2015 3:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us