Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SNMP not working on Windows 2003 Server

Posted on 2006-07-06
12
Medium Priority
?
4,299 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 501 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 501 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
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
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 498 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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…

916 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