Link to home
Start Free TrialLog in
Avatar of cymrich
cymrich

asked on

SNMP not working server 2003

one of my many bosses has dictated that SNMP be setup to send notifications for certain events... I'm assuming someone somewhere got caught with their pants down and so now everyone must suffer for it.  

I set up SNMP as directed but when I try using the Paessler SNMP test tool I am unable to get it to work.  I'm using the OID also supplied to me and have tried looking up other possible OIDs.  with the supplied OID I get:

Device: 192.168.1.2

7/14/2011 12:33:44 PM (39 ms) : Start using SNMP V1
7/14/2011 12:33:54 PM (10049 ms) : -------
7/14/2011 12:33:54 PM (10057 ms) : Value: No response (check: firewalls, routing, snmp settings of device, IPs, SNMP version, community, passwords etc) (SNMP error # -2003)
7/14/2011 12:33:54 PM (10064 ms) : Done

There are no firewalls turned on on this server... the AV does not have the firewall portion installed on it, I've tried the public community string as well as the one we created... I've tried it locally on the server and remotely.  netstat -ano shows UDP 0.0.0.0:161  The other OIDs I tried using that I looked up myself all give an "error converting OID" error.  

Any ideas here?  
Avatar of Kyle Abrahams, PMP
Kyle Abrahams, PMP
Flag of United States of America image

http://wqlpag02/reports$SQL2005/Pages/Folder.aspx

Did you set your trap destination?
Avatar of cymrich
cymrich

ASKER

yes, trap destination is set also.  

not sure what that sql link is meant to be but it didn't work when I clicked it.
silly question but do you have snmp installed, running, and configured correctly?

did you use prtg auto-discover?
Also, grab snmputil.exe from here and drop it on the server you're trying to monitor in the %windir%\system32 directory.

Try this from command line: snmputil walk localhost public .1.3.6.1.2.1.1 (provided your read-only string is public).

This should return a series of OIDs for the system. If it returns error on SnmpMgrRequest 40 then something's up with the local install of SNMP that it can't reply.
Avatar of cymrich

ASKER

@Midnightone - here is the output I got when i tried the public string.  using the other string we created returns the same thing.  

@Greg - I have never heard of prtg auto-discover...

C:\>snmputil walk localhost public .1.3.6.1.2.1.1
Variable = system.sysDescr.0
Value    = String Hardware: x86 Family 6 Model 23 Stepping 6 AT/AT COMPATIBLE -
Software: Windows Version 5.2 (Build 3790 Multiprocessor Free)

Variable = system.sysObjectID.0
Value    = ObjectID 1.3.6.1.4.1.311.1.1.3.1.3

Variable = system.sysUpTime.0
Value    = TimeTicks 42347602

Variable = system.sysContact.0
Value    = String Administrator

Variable = system.sysName.0
Value    = String SERVERNAME

Variable = system.sysLocation.0
Value    = String Office

Variable = system.sysServices.0
Value    = Integer32 79

End of MIB subtree.
ASKER CERTIFIED SOLUTION
Avatar of MidnightOne
MidnightOne
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cymrich

ASKER

It's always the simple things that get you... it was set to only accept snmp packets from localhost (in the security tab of the SNMP Service properties)... changing that setting instantly fixed the issue.
Paessler PRTG Monitor - awesome network monitoring - auto-discovers all things windows and snmp
Avatar of cymrich

ASKER

@Greg,
Yeah, I googled it after I posted, I had already tried something similar (The Dude), but PRTG Network Monitor looked much nicer.  Neither of them were able to see any SNMP from the server but that was due to the security setting I had overlooked.
Avatar of cymrich

ASKER

Thanks to everyone that assisted btw!