I am having some problem with snmp server installation.I want to install snmp server and agent also by which i can query to my local host.
i have downloaded the snmp tar version as I want to write a program to get some data from a device and I did that ,but when I want to check the localhost data it is not showing as I didn't install snmp or activated snmp on my linux ,
I restarted snmpd and tried to do an snmp walk on the following OID: 126.96.36.199.4.1.2021.9.1. What I pasted bellow is just a subset of all the results but as you can see for some reason the data gathered is all 0's. Does anyone have any idea why this would be happening? Thanks.
I am doing SNMP manager and agent programming in C using sockets in Linux.
One concept called SNMP traps, for which I am not able to get the logic for it.
Can anybody help me with a useful logic for getting alarm notification from SNMP agent to SNMP manager?
I'm monitoring free SWAP and free RAM memory using SNMP (snmpd 5.4.3). The former is via "UCD-SNMP-MIB::memAvailSwap.0" and the latter via "NET-SNMP-EXTEND-MIB::nsExtendOutputFull" (using extend functionality of SNMP agent).