I want to monitor some firewall devices via SNMP.
- So far I've been able to implement retrieval of CPU information using SNMP4J library.
- The problem is that I have no idea how to setup and use SNMP traps to get the corresponding warnings and error messages from device asynchronously.
- How do I set the CPU threshold so that the SNMP trap will be sent based on that when condition met. For example, if the CPU usage goes above 70%, a trap should be sent to a manager PC. Should I set this threshold on every firewall device by command or implement it using SNMP4J?
I'm confused, please give me some advice on that. Thanks in advance.