Red Hat Bugzilla – Bug 63332
ucd-snmp-4.2.4.pre3-4 agent times out with view restrictions
Last modified: 2015-03-04 20:10:29 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Description of problem:
The 4.2.4.pre3-4 agent doesn't appear to handle view restrictions. If a client
with such restrictions tries to query the server (depending on which subtrees
it has access to) either incomplete information is returned before the request
times out, or no information is returned at all.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Using the "view" config option, restrict a client to only the "system"
and ".188.8.131.52.4.1.2021.11" (systemStats) tables.
2. Restart the agent.
3. Query the agent from a host that is restricted via this view.
Actual Results: The "system" table is returned, and then the connection times
Expected Results: The "system" and "systemStats" tables should have been
After doing this, the agent uses all of the CPU, preventing any further queries
from any host. It appears to return to normal after 10-15 seconds.
This was working properly with the 4.2.3 agent. Normally we would be using
that version, but diskspace support is wholely broken in the Redhat RPM for
I should add that the queries were done via "snmpwalk".
I seem to remember that there was similar behaviour in the past.
during the time the agent consumes all CPU, it is actually walking the mib
internaly (you can see this clearly when you anable debug output).
And as it needs to do quite a bit of work on loaded machines it takes quite some
time to do so.
So either increase the timeout value of your snmpwalk command or explicitly
query the OID's you are interessted in.
This bug has already been reported a couple of times btw.
Read ya, Phil
*** This bug has been marked as a duplicate of 23034 ***