Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
lkd7
Starting Member
4 Posts |
Posted - 2005-02-22 : 10:52:59
|
| Hello,We didn't have the Windows SNMP component installed when we installed MS SQL. The SNMP service is now installed and running, and I also compiled mssql.mib on our SNMP management server. I can snmp poll the device, but it's not returning anything for the SQL OID's.Does anyone know how to enable SNMP on the server after inistallation?Sincerely,-Laura Donovan |
|
|
eyechart
Master Smack Fu Yak Hacker
3575 Posts |
Posted - 2005-02-22 : 11:21:46
|
| officially, you need to uninstall/reinstall SQL Server to get the SNMP support to work. there is no option to turn on SNMP after the fact.Unoficially, you can do the following:(google for "sql 2000" snmp, found post by Mike Shareski)1. Under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\SNMP\Parameters\ExtensionAgentsyou'll see some string values there with names starting at zero andgoing up to the number of extension agents you have installed (minus1). All you need to do here is add a string (REG_SZ) using the nextnumber for the name. The value should be"SOFTWARE\Microsoft\MSSQLServer\SNMP\CurrentVersion".2. Under HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer create thefollowing keys if they do not already exist: SNMP SNMP\CurrentVersion3. Under SNMP\CurrentVersion create a string (REG_EXPANDED_SZ) valuecalled "Pathname" and set the value to the path to your sqlsnmp.dll(found in your SQL installation binn folder).Example:On one of our systemsHKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\SNMP\CurrentVersionwe created a REG_EXPANDED_SZ value called "Pathname" and set the valueto "C:\Program Files\Microsoft SQL Server\MSSQL\BINN\sqlsnmp.dll".Restart SNMP and you're done. |
 |
|
|
lkd7
Starting Member
4 Posts |
Posted - 2005-02-23 : 14:59:20
|
| Updating the registry worked. Thank you so much!-Laura |
 |
|
|
|
|
|