Solved

SNMP not working on Windows 2003 Server

Posted on 2006-07-06
12
4,180 Views
Last Modified: 2008-05-14
I am trying to do SNMP gets/walks on a windows 2003 server but it wont respond. I;ve installed and started the SNMP service. This is a domainless test lab network with just 3 computers in the domain. snmp is working fine on the other machines

Is there something extra you have to do in Windows 2003 to allow the machine to response to snmp requests

There doesnt seem to be a firewall running on that machine. The test environment is hosted by a cisco 501

SNMP toolset I'm using is the compiled net-snmp lib from net-snmp.org
0
Comment
Question by:plq
  • 5
  • 3
  • 3
  • +1
12 Comments
 
LVL 1

Expert Comment

by:nakoz69
ID: 17052766
Have you configured the Traps yet.  You have to setup SNMP to read from a trap string.  Here is an article on how to set it up:

http://technet2.microsoft.com/WindowsServer/en/Library/9d9bad05-24ed-4840-b221-9ae7b09a93f31033.mspx?mfr=true

0
 
LVL 1

Assisted Solution

by:nakoz69
nakoz69 earned 167 total points
ID: 17052776
The default for read only strings is normally PUBLIC and the write string is PRIVATE, but you can set them to what ever you perfer.

0
 
LVL 4

Assisted Solution

by:xcromx
xcromx earned 167 total points
ID: 17052928
You have to setup community strings under your SMTP service
You may need a read string and also a reader string...

Example for solarwind network monitor
pmgreader    read
pmgauthor    read/write
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 8

Author Comment

by:plq
ID: 17053121
I'm just doing this

    snmpwalk -v2c -c public 192.168.1.19

It works on all xp and 2000 machines without any setup. I will check through the service property sheets now..
0
 
LVL 8

Author Comment

by:plq
ID: 17053244
OK I've allowed snmp requests from any address, and I've added the public string into the community strings box, adn I've added traps on every ip address on the network, but still no luck, and still working ok on other pcs ??
0
 
LVL 57

Accepted Solution

by:
giltjr earned 166 total points
ID: 17054136
Can you install a SNMP browswer on the server and try from the server?

Have you verified tha tthe SNMP service is up and running on the server?

     netstat -an | find "161"

You should get back:

       UDP    0.0.0.0:161            *:*
0
 
LVL 1

Expert Comment

by:nakoz69
ID: 17055928
Check the event viewer on the 2003 server and see if there are any SNMP errors or timeouts when trying to connect to the service.
0
 
LVL 8

Author Comment

by:plq
ID: 17057187
OK..

1. netstat returns exactly what you said.

           UDP    0.0.0.0:161            *:*

2. I installed an snmp browser on the 2003 box. It can snmpwalk other machines but it cant snmpwalk itself

          snmpwalk -v2c -c public 192.168.1.13
          snmpwalk -v2c -c public 127.0.0.1

(same with v1). The error is "Timeout : no response from 192.168.1.13"

3. The only stuff related to snmp in the event log is a successful entry as follows:

         The SNMP Service configuration has been updated successfully.

         For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.



So.. still in the dark. Any more ideas ? thanks for your efforts so far..
0
 
LVL 8

Author Comment

by:plq
ID: 17107084
Still not working, and no more ideas...
0
 
LVL 57

Expert Comment

by:giltjr
ID: 17107220
Is the PIX ("Cisco 501") confgured to allow SNMP traffic to/from the host?
Are you using the correct IP address?  Normally when a host is behind a firewall you do not use it real IP address, normally it is NAT'ed and you have to use the NAT address.

I would suggest tracing the network traffic from both you PC and from the host to make sure traffic is getting through.
0
 
LVL 8

Author Comment

by:plq
ID: 17107642
Thanks for returning to this question. It wasnt listed as an SNMP client on the firewall so I added it. Now it can snmpquery the firewall but it can't snmpquery itself.. None of the other clients can snmp query this box either so its got to be something about windows 2003. Windows firewall is off.
0
 
LVL 57

Expert Comment

by:giltjr
ID: 17107756
You have checked the SNMP settings on the server to verify that you are using the correct community name and that the IP address of your PC is autorized/allowed to send SNMP queires?

I would install a packet capture utility on the Windows server start it up and see what it can see.

I beleive that all version of Windows Server OS come with MS's netmon utility or you can install Wireshark, http://www.wireshark.org (used to be called Ethereal).


0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
capture pcap with filtered traffic 1 67
DNS Settings for Domain controllers 22 114
Rerouting users to DR CAS server exchange 2013 3 41
Help logging in to my router 12 48
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

823 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question