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

SNMP trap from Mainframe


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
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
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: 8569
Location: Dubuque, Iowa, USA

PostPosted: Wed Apr 26, 2017 9:36 pm
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
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

Senior Moderator


Joined: 14 Mar 2007
Posts: 10714
Location: italy

PostPosted: Thu Apr 27, 2017 3:02 pm
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 Member


Joined: 29 Apr 2008
Posts: 931
Location: Maryland

PostPosted: Thu Apr 27, 2017 8:40 pm
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: 8569
Location: Dubuque, Iowa, USA

PostPosted: Thu Apr 27, 2017 9:59 pm
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: 1788
Location: Bloomington, IL

PostPosted: Thu Apr 27, 2017 10:04 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Looking for mainframe system programmers Mainframe Jobs 0
No new posts Proc print in Mainframe All Other Mainframe Topics 4
No new posts Need opinion on mainframe to cloud mi... General Talk & Fun Stuff 6
No new posts Looking for Mainframe Project Manager Mainframe Jobs 0
No new posts Mainframe jcl job with href links not... All Other Mainframe Topics 3
Search our Forums:

Back to Top