Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having trouble with the Microsoft SNMP agent on Windows 2008R2 not listening on all IP addresses on a number of servers.

When I do netstat -ano I can see that it's apparently listening on all IP's:

UDP            *:*                                    996

However in practice it only seems to be listening on one IP address on each server. What I can't work out is the selection criteria.

I'd actually far rather it just listen on one IP address, but one of my choosing.

Is there a way to force the MS SNMP Agent service to listen on a specific IP address?

share|improve this question
up vote 1 down vote accepted

I suspect the SNMP service is in fact listening on all interfaces, but your ability to use it on all interfaces is blocked by the Windows firewall. Run wf.msc and take a look at the inbound rules for SNMP - the installation of the SNMP feature would normally have created one rule for the domain profile and one for the public profile. Check the "Scope" tab for restrictions on certain local IP addresses.

share|improve this answer
heh...close. Turns out there's something wacky in my nagios unix box's IPTables config. Outbound connections to the SNMP agents from a bunch of other machines (snmpget) are fine. But for some reason this box is being selective about which IP address it'll allow an outbound snmp connection to, even though there is no rule denying access to my windows boxes. – Kev Jun 1 '11 at 22:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.