DOKK / manpages / debian 12 / ap-utils / ap-trapd.8.en
ap-trapd(8) System Manager's Manual ap-trapd(8)

ap-trapd - a SNMP trap processing daemon

ap-trapd [ -i device ] [-u user ] [-s]

ap-trapd It's a SNMP trap processing daemon that accepts traps, parse them and store useful data using syslog, at logging LEVEL0. Specify device to listen for SNMP traps on the particular device (this option only works at Linux). To be running by user different from nobody you may specify user.
To correct work with Smartbridges APs specify -s key (they use specific traps).
Utility added to ap-utils from version 0.8.

To store traps to own log file you may add next string to your /etc/syslog.conf
local0.* /var/log/ap-traps.log
After doing it, just restart syslogd with command like
killall -HUP syslogd

When a trap is received, a message will be logged indicating that an action happened to the Access Point such as:

This trap message is sent when a Station reassociation request is received from Access Point.
Indicates the reception of an association request packet and the sender Station's successful association with the Access Point.
This trap message is sent when a disassociation notification packet is received from a Station.
This trap message is sent when Access Point Resets.
This trap message is sent when the Access Point IP address is set with the transmission of a ping message.
This trap message is sent when the Access Point Starts Up.
This trap message is sent when Access Point Failed To Erase Flash.
Access Point Client is scanning...
Access Point Client is authenticating with the AP.
Access Point Client is associating with the AP.
Access Point Client is reassociating with the AP.
Access Point Client has failed authenticating with the AP.
Access Point Client has failed associating with the AP.
Access Point Client has been connected with the AP.
Access Point Client has been disconnected from the AP.
Access Point Client has failed scanning!
Access Point Client has failed joining!
Access Point Client is in join state.

Multiple attached stations in the ethernet size

Utility ap-trapd must be running by 'root', after opening port utility change owner to 'nobody', so this user must exist in you system. You may set user using -u option as described below for change default unprivileged user.

Roman Festchook <roma@polesye.net>
http://ap-utils.polesye.net

ap-config(8), ap-mrtg(8), syslogd(8)

Wireless Access Point Utilities for Unix