How to set automatic trigger for snmp trap?

problem description

trap is stereotyped and talked about on the Internet. Now I know how the client actively sends alarms to the server through commands, but how to configure the client to automatically monitor which monitoring items on this machine have problems and report them to the server? (snmp device is Linux)

the platform version of the problem and what methods you have tried

initially located to add notificationEvent and monitor, to / etc/snmp/snmpd.conf but how to configure it. No detailed instructions were found, and the experimental configuration did not report automatically.

related codes

notificationEvent memTotalTrap memTotalReal memTotalSwap
monitor -r 10 -e memTotalTrap "Total memory" memTotalReal < 1000000000000

what about trap automatically triggering alarms on linux clients?

May.31,2021

Hello, have you solved this problem now?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ad0d-4d8e1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ad0d-4d8e1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?