View previous topic :: View next topic
|
Author |
Message |
bipinpeter
Active User
Joined: 18 Jun 2007 Posts: 213 Location: Cochin/Kerala/India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
bipinpeter
Active User
Joined: 18 Jun 2007 Posts: 213 Location: Cochin/Kerala/India
|
|
|
|
@ Robert : - Is any way we can verify whether SNMP agent is running on LAPR without contacting site support group? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
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 ???
if the requirement has been approved by management, no reason to be afraid to ask |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2133 Location: USA
|
|
|
|
enrico-sorichetti wrote: |
for what reason people asking on forums are afraid to contact their support ???
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
sergeyken wrote: |
enrico-sorichetti wrote: |
for what reason people asking on forums are afraid to contact their support ???
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 |
|
|
|