Unsolved
This post is more than 5 years old
8 Posts
0
750
March 12th, 2013 23:00
UnknownAgent in TrapDefinition
Hi All,
I have a question regarding the UnknownAgent property used in the Trap Definitions.I believe it is not mandatory to use the property in a trap definition.
So what would be the default value of the property when we do not define the property ?
Thanks and regards,
karthik Shandilya
No Events found!
PaulORourke
170 Posts
1
March 13th, 2013 01:00
Hi Karthik,
Your trap_mgr.conf file should include the default rule before any TRAP Defintion.
The default rule is mandatory and should include the default value for the UnknownAgent setting.
Please see an example of the default rule below.
BEGIN_DEFAULTS
ClassName: SNMPTrap
InstanceName: $SYS$
EventName: $E$ $N$ $S$
Severity: 2
EventText: Varbinds: $V*$
Expiration: 7200
State: NOTIFY
InMaintenance: FALSE
ClearOnAcknowledge: TRUE
EventType: MOMENTARY
SysNameOrAddr: $A$
UnknownAgent: IGNORE
LogFile: NONE
END_DEFAULTS
Kind Regards,
Paul O'Rourke
kashan1
8 Posts
0
March 28th, 2013 02:00
So if an object for the source is created, lets say an IP object and a host object both associated with each other , then the alarm will get notified . Isn't it ?
PaulORourke
170 Posts
0
March 28th, 2013 08:00
Hi Kashan,
Yes this is correct.
If UnknownAgent:IGNORE -> OI drops the notification.
If UnknownAgent: Create -> OI will create a local IP instance in its rps and use the ElementInstance name from the notification as the IP->HostedBy attribute.
Kind Regards,
Paul O'Rourke