From: tdh - AIX Serv Point clash with Alert Mgr, and snmp traps

ITEM: RTA000064477



I have two questions related to network management on the RISC System           
6000:  the first relates to the SSCP-PU clash between AIX Service Point         
and AIX Network Management/6000 Alert Manager (see the AIX Service              
Point announcement letter), and the second relates to finding a method          
to generate SNMP traps on AIX V3.                                               
                                                                                
1. We currently log custom errors to the AIX error log with the                 
alertable flag ON.  Alert Manager forwards these to NetView.  Our               
customer wants to implement AIX NetView/6000, which uses AIX Service            
Point.  AIX Service Point precludes the use of Alert Manager, because           
they both want to use an SSCP-PU session, and you can have only one.            
Is there an alternative means under either AIX Service Point or AIX             
NV/6000 of forwarding the alerts to NetView Focal Point, so we can              
continue to just log the alertable AIX errors?                                  
2. I can see plenty of references in the AIX Net Mgt/6000 documentation        
on the process of receiving and decoding snmp traps, but I can't see            
mentioned anywhere the process of _generating_ a trap.  We want to              
generate on an RS/6000 an snmp trap on behalf of an attachedpiece               
of non-TCP/IP equipment.  This RS/6000 may or may not be the system             
that is running NetView/6000.  If it is possible to perform this                
function using the AIX error logging mentioned in Q1, and have NV/6000          
or anything automatically pick up these logged errors, convert then to          
the appropriate snmp trap, and manage them.  I would be quite happy             
even with an snmp API-based solution, as long as I can find a routine           
or program to generate the traps.                                               
                                                                                
                                                                                
                                                                                
ANSWER                                                                          
The current "strategic" solution for error-log to-alerts as per the            
"old" Alert Manager is the trapgend support of AIX NetView/6000.                
The error-log alert will be seen by trapgend and, in turn, converted            
to a trap -- which enters the AIX NetView/6000 world.  The trap, in turn,       
can be converted to an alert by the tralertd support in AIX NetView/6000.       
If this approach does not suit you, you could certainly monitor the             
error log yourself (with some basic C code) and, in turn, issue (for            
example) a call to already-available AIX NetView Service Point routines         
(such as described in our redbook) to forward the user-chosen error log         
entry to NetView.                                                               
                                                                                
How to generate a trap if NetView for AIX support is installed?  Easy.          
NetView for AIX provides a routine which you simply call via:                   
   /usr/OV/bin/event -d "some text"                                             
                                                                                
  The resultant alert is text-oriented - if text-oriented alerts are ok.       
                                                                                
Or, you could use snmptrap as provided by snmptrap.                             
                                                                                
Other ways are via a subagent, but, the above are certainly easier.             
                                                                                
S e a r c h - k e y w o r d s:                                                  
TRAPS EVENTS                                                                    
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                               


WWQA: ITEM: RTA000064477 ITEM: RTA000064477
Dated: 10/1995 Category: ITSCSAIXNV6
This HTML file was generated 99/06/24~12:43:22
Comments or suggestions? Contact us