IMC
cancel
Showing results for 
Search instead for 
Did you mean: 

Can we define snmp agent address in HP Ux ?

 
chengphuahp
Occasional Visitor

Can we define snmp agent address in HP Ux ?

We require a HPUX (hostname abc1) box to configure to send trap to a NMS server.

 

For some other application, The  /etc/hosts and DNS require to define the host abc1 to have the IP as 10.200.14.5 (on lan0)  . abc1 also has another interface on lan1 with ip 10.200.15.5.

 

The route to the NMS server will be using lan1

 

We notice abc1 sends the trap to NMS server, the src IP header is 10.200.15.5 , but the snmp agent addr in the snmp payload is 10.200.14.5.  

 

If the NMS server  configure abc1 as 10.200.15.5 , it will not record/accept the trap .

 

If the NMS server configure  abc1 as 10.200.14.5,  it will record/accept the trap from src ip 10.200.15.5 , but the keepalive/snmpget would send to 10.200.14.5 and fail (because there is no route to 10.200.14.5)

 

I cannot find such configuration in snmpd.conf. Is there a way to define specifically the snmp agent address for the trap sending ?

 

# uname -a
HP-UX abc1 B.11.23 U ia64 0197547608 unlimited-user license

 

thanks

 

regardx