3.120.19. AccountingHook Previous topic Parent topic Child topic Next topic

Specifies a Perl hook to run when a TACACS+ Accounting Request message is received. It can be used for special processing of TACACS+ accounting requests. The hook return value is ignored. See goodies files create-cisco-cmd.pl and createavpairs.pl for sample hooks.
The hook is passed the following arguments:
  • Pointer to the current TacacsplusConnection object
  • Pointer to the request object that has been constructed to represent the TACACS+ accounting request