can i configure an event,when someone fail to login or password while attemping to login into a router?
if yes, how can i get the oid of this trap?
The enhancement that you refer in the link you provided is a very nice feature. But at this point it is not the solution that Kiran is looking for. He specifically asks for SNMP traps which are not yet supported according to the link that you posted. Quoting a note from that link:
Note Currently, only system logging (syslog) messages can be generated for login-related events. Support for SNMP notifications (traps) will be added in a later release.
So it looks to me like the current alternatives are to do it through aaa authentication with an external server which can log successful and unsuccessful logins or to do it through syslog. But not yet available in SNMP traps.