Does Net-SNMP only run one handler at a time?

147 Views Asked by At

The situation is that multiple MIB custom handlers that access a hardware component if ever there was a time where 2 handlers we running in parallel it would cause errors. NOTE: Get and Set request use the same hardware component.

2

There are 2 best solutions below

0
On

Net-SNMP is a protocol stack and not the framework, to make it run on the required platform or hardware you need to give the specific environment or encapsulation which can pick and poke hardware entities and other housekeeping.

For example: A single SNMP stack can run on distributed system having multiple blades and OS instances. And therefore scaling needs to be done by the platform.

0
On

Net-SNMP is single-threaded. It can only run one piece of code at a time.