Traps sending from the Sub AgentX

Frank Fock Frank.Fock____t-online.de
Wed May 21 00:38:52 CEST 2003


Hi Anton,

soudovtsev____bluewin.ch wrote:
>>
>>Not really. The notification is transferred to the master
>>and then send in exactly the same way as a local notification.
> 
> 
> Ok so the format and the syntax doesn't change ? It's strange, because it
> seems that Patrol can't receive traps sent from the Sub Agent through the
> Master. Other traps are received...
>
Have you used a sniffer like Ethereal to compare the
notifications, yet?

> 
>>>If I try to send exactly identic trap with snmp trap method, Patrol receives
>>>it.
>>>
>>>My next question is about trap destinations.
>>>When I use SubAgentX mib's notify method to send a trap, where the Master
>>>Agent picks the destination addresses ? Considering the fact that I have
>>>not set any rows in snmp_notification_mib.
>>>
>>
>>Then the notification will not be sent.
> 
> 
> Sure, but my Master Agent sent a start trap using NotificationOriginator
> and I think that it sets the trap destination addresses to snmp_notification_mib,
> right ?
> 

That depends on your code. The example master sets
a destination, that will also be used by subagents.

> By the way, how can I remove persistency for snmp_target_mib and snmp_notification_mib
> ?
> 
By using the MibGroup(<oid>) constructor instead
MibGroup(<oid>,<path>) for those groups that should not
be persistent.

Best regards,
Frank





More information about the AGENTPP mailing list