I have a Raspberry Pi, connected along-with some routers and switches in my network. I use OpenNMS to manage these networking devices. I was wishing to monitor the status of the Pi also in OpenNMS. I needed to monitor a few parameters like the
- Network bandwidth usage.
- CPU usage(optionally).
- Free Space on the memory card.
- Trap in case of an incorrect login attempt. And a few more params like last login time etc.
I was planning to write a SNMP agent for the Pi in C/C++/Java.
Could anyone tell me where can I find some good resource on writing your own SNMP agent ?