Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
SNMP trap from Mainframe

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 213
Location: Cochin/Kerala/India

PostPosted: Wed Apr 26, 2017 3:05 pm    Post subject: SNMP trap from Mainframe
Reply with quote

Hello All,

I want create a alert mechanism for the system which I am working.Basically if any data inconsistency issues found, it should create a alert.

In some of the forums I came to know about SNMP traps.I got below code to raise SNMP trap,

ADDRESS TNG "SNMPTRAP HOST(HostName|*) [COMMUNITY(CommunityName)]
GTRAP(GenericTrapNum)
STRAP(SpecificTrapNum)
DATA(RexxVar)"


I want to know that whether I can execute the above code from REXX module. Is any other way to execute SNMP trap from mainframe?.Anyone has sample code for SNMPTRAP, I am confused with value for parameters,

GTRAP(GenericTrapNum)
STRAP(SpecificTrapNum)

Regards,
Bipin Peter
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8201
Location: Dubuque, Iowa, USA

PostPosted: Wed Apr 26, 2017 9:36 pm    Post subject: Reply to: SNMP trap from Mainframe
Reply with quote

Does your site have the z/OS Communications Server SNMP agent running on your LPAR? If not, what do you expect to trap? Configuring the SNMP agent is a task for your site support group, so if it is not running (or to find out if it is running), contact your site support group.
Back to top
View user's profile Send private message
bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 213
Location: Cochin/Kerala/India

PostPosted: Thu Apr 27, 2017 2:53 pm    Post subject:
Reply with quote

@ Robert : - Is any way we can verify whether SNMP agent is running on LAPR without contacting site support group?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Thu Apr 27, 2017 3:02 pm    Post subject: Reply to: SNMP trap from Mainframe
Reply with quote

Quote:
Is any way we can verify whether SNMP agent is running on LAPR without contacting site support group?


for what reason people asking on forums are afraid to contact their support ???
icon_evil.gif

if the requirement has been approved by management, no reason to be afraid to ask
Back to top
View user's profile Send private message
sergeyken

Active User


Joined: 29 Apr 2008
Posts: 233
Location: Maryland

PostPosted: Thu Apr 27, 2017 8:40 pm    Post subject: Re: Reply to: SNMP trap from Mainframe
Reply with quote

enrico-sorichetti wrote:
for what reason people asking on forums are afraid to contact their support ???
icon_evil.gif

if the requirement has been approved by management, no reason to be afraid to ask


From my experience: 80%-90% of responding messages from support usually include only two to three recommendations:
    - Please provide us with all screenshots
    - (optional) Upgrade to the latest version
    - Reboot
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8201
Location: Dubuque, Iowa, USA

PostPosted: Thu Apr 27, 2017 9:59 pm    Post subject:
Reply with quote

There is NO way to determine whether or not it is running without contacting your site support group. The default name is OSNMPD but this can be changed by the site support group. SNMP is considered to be part of the Communications Server by IBM, so it starts as part of the TCP/IP start up. And if it does not currently start up, then to get it running requires changing TCP/IP parameters -- a task almost always limited to the site support group. Furthermore, there are some security implications to SNMP that must be considered for the site, so attempting to set up SNMP without involving your site support group is a risky activity that may lead to management action up to and including termination of the employee.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1783
Location: Bloomington, IL

PostPosted: Thu Apr 27, 2017 10:04 pm    Post subject: Re: Reply to: SNMP trap from Mainframe
Reply with quote

sergeyken wrote:
enrico-sorichetti wrote:
for what reason people asking on forums are afraid to contact their support ???
icon_evil.gif

if the requirement has been approved by management, no reason to be afraid to ask


From my experience: 80%-90% of responding messages from support usually include only two to three recommendations:
    - Please provide us with all screenshots
    - (optional) Upgrade to the latest version
    - Reboot

"Rebooting" a mainframe is a non-trivial procedure. Much easier to do with a toy computer, of course, but I doubt that rebooting his workstation is going to do diddly for the TS's problem. Likewise, he won't have the authority to upgrade SNMP.
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 -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Mainframe Blocks to Tracks conversion upendrasri JCL & VSAM 1 Sat Nov 18, 2017 10:52 am
No new posts NDM 300 files from mainframe to linux shreya19 All Other Mainframe Topics 2 Thu Oct 26, 2017 11:40 am
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us