IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SNMP to exchange message


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Aug 22, 2008 8:25 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

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

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

or
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
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

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
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:

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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
No new posts IMS Message : DFS3577A IMS DB/DC 4
No new posts dsnrexx fails without error message CLIST & REXX 9
No new posts Print out all lines with 'IBM' compil... CLIST & REXX 8
No new posts How to get the message id thats trigg... Java & MQSeries 0
Search our Forums:

Back to Top