Install snmp on windows server 2003

  • Home
  • nullServices
    • Offshoring
      • Software Outsourcing Services
      • Technical Expertise
    • Mobile Application
      • Mobile Application Development
      • Mobile Testing
      • Augmented Reality
      • iBeacon
    • Web Solutions
      • Web Development
    • E-learning
      • Learning Management Systems
      • NetSupport Solutions
      • NetSupport Education Solutions
      • E-Learning Projects

      Offshoring

      Mobile Application

      Web Solutions

      E-learning

  • nullProducts
    • NetSupport
      • About NetSupport
      • NetSupport Manager
      • NetSupport School
      • NetSupport DNA (corp)
      • NetSupport ServiceDesk
      • NetSupport DNA (edu)
      • NetSupport Notify
    • WhatsUp Gold
      • About WhatsUp Gold
      • Modules and Capabilities
      • WhatsUp Gold Editions
      • WhatsUp Gold 2021 version
      • Reports
    • Orchtech HR
      • Purple Bureau
        • Purple Bureau SMEs

      Netsupport Corperate

      WhatsUp Gold

      Purple Bureau

  • Projects
  • About Us
    • About Orchtech
    • Memberships
    • Distributors/Partners
    • Funding Bodies
    • Our Clients
    • Awards
  • Contact Us
    • Contact Us
    • Request a Meeting

Edit

About Us

Orchtech is a software development company working in multiple countries worldwide and our experience spans over multiple services/products such as Offshoring/Outsourcing software development, Mobile applications development services, Web development and HR mobile applications for internal employees management.

Contact Info



  • Orman Tower, Floor 12, Apt. 123, 48 Giza Street, Dokki, Giza, Postal code: 12612.


  • +20 2 37622752



  • Week Days: 09.00 to 18.00 Saturday & Friday: Closed

Net-SNMP is an open source SNMP project that is released under a BSD license. SNMP is used for monitoring servers, devices, networking equipment and other software solutions that allow you to setup SNMP community string on.

To install on Windows Server, grab the .exe from here. Simply run the install, and you will get a welcome screen:

nsw1

Accept the license agreement:

nsw2

Choose the components to install. We will only be installing the base components and the Net-SNMP Agent Service, since we will be monitoring from another server:

nsw3

Choose the install location. This is the root of the application tree:

nsw3

Choose the location for the Start Menu Folder:

nsw5

There is a notification of setup completion:

nsw6

Lot’s of goodies in the Readme file. Consider reading it. After installation, test the service:

C:\usr\bin>snmpd -V
No log handling enabled - turning on stderr logging
NET-SNMP version 5.2.1.2

Ctrl-c to quit. If that looks OK, add the service:

c:\usr>registeragent.bat
Registering snmpd as a service using the following additional options:
.
-Lf "C:/usr/log/snmpd.log"
.
For information on running snmpd.exe and snmptrapd.exe as a Windows
service, see 'How to Register the Net-SNMP Agent and Trap Daemon as
Windows services' in README.win32.
.
Press any key to continue . . .

That is all there is to it. Just start the service now:

C:\>net start "net-snmp agent"
The Net-SNMP Agent service is starting.
The Net-SNMP Agent service was started successfully.

To set up SNMPv3 user security, see this article. If your looking for an all-in-solution for SNMP monitoring, check out our Reviews on Solarwinds NPM or PRTG network monitor for a complete solution for your network management and monitoring needs!

Related Post: Best SNMP Monitoring Software

Дано: несколько больших ИБП фирмы APC (мощность 5к, 10к и 15к).

Задача: получать из них данные, алерты и другую информацию.

Данные УПС поддерживают протокол SNMPv2, будем использовать его.

Что нам понадобится:

1. MIBы от УПС. Файл с ними находиться на диске Network Managment Card: \SNMP\powernet386.mib. Там же крайне полезный файл apctraps386.bat, в котором можно посмотреть описание некоторых трапов.

2. Статья HOW TO: Configure the Simple Network Management Protocol (SNMP) Service in Windows Server 2003

3. Любой MIB-explorer. Я использовал iReasoning MIB Browser Personal Edition (freeware).

Итак, приступим.

Установка SNMP на Windows Server 2003

Запускаем «Установку и удаление программ», жмем «Установка компонентов Windows». Находим «Средства управления и наблюдения», жмем «Состав» и выбираем «Протокол SNMP». После стандартно: ОК, Далее и пр. Потребуется диск к дистрибутивом Вашей версии Windows Server 2003 (если установлен R2, понадобиться только первый диск).

После этого производим настройку согласно статье (2). На вкладке «Ловушки» добавляем «Имя сообщества» public, а затем IP-адрес нашего root-сервера. Это же имя public и IP-адреса наших ИБП прописываем на складке «Безопасность»:

Добавление устройств в SCOM 2007

Запускаем SCOM 2007 Operation Console, далее идем в Administration.

Жмем на дереве правой кнопкой мыши и выбираем Discovery Wizard. Выбираем Advanced discovery, Computer & Device Types устанавливаем Network Devices, жмем далее, прописываем в Start IP и End IP адрес одного из ИБП (или можно диапазоном, если все ИБП в одном диапазоне). Жмем далее, ждем, после отмечаем галкой найденный IP.

Добавление MP в SCOM 2007

Там же в Operation Console жмем правой кнопкой мыши в дереве, и выбираем Create Managment Packs. В поле Name вводим APC UPSs Managment Pack. В описании вводим любую сопроводительную информацию. Жмем Далее, заполнение Knowledge также опционально. Жмем Create.

Создание группы (Group)

В Operation Console переходим в Authoring, там в дереве Groups жмем правой кнопкой мыши и выбираем Create Group…В поле Name вводим APC UPS Devices, выбираем наш созданный MP. В Explicit Members добавляем найденные ранее Network Devices, жмем Далее, Далее, затем Create.

Создание тестового правила

Для проверки того, что всё работает как хотелось, создаем тестовое правило. В Authoring жмем на Rules правой кнопкой мыши, Create Rule. Выбираем тип правила Alert Generationg Rules\Event Based\Snmp Trap (Alert). Не забываем выбрать наш MP.
См. рисунок. Жмем Далее.
В поле Rule Name вводим всё что угодно (н-р Test APC Rule).
Rule category выбираем Alert.
А вот теперь самое важное и главное. Rule Target. Первое, что приходит на ум многим — поставить здесь созданную нами ранее группу APC UPS Devices. Но тут разработчики SCOM2007 приготовили нам «подарок». Подробно это описано в блоге G14, так что на причинах и следствиях подробно останавливаться не буду. Скажу лишь, что если выбрать нашу группу, SCOM2007 честно предупредит нас, что правило будет действовать на саму группу, но никак ни на её членов. В связи с этим в качестве Rule Target выбираем SNMP Network Devices (в диалоге выбора Target надо будет отметить View all targets)
Жмем Далее.
На данном этапе вводим имя сообщества (community string), в нашим примерах выше он был public. OID (Object Indentifier) оставляем не заполненным, вместо этого включаем опцию All Trap. Такая настройка позволит этому правилу реагировать на все сообщения от наших ИБП.
Жмем Далее.
Здесь оставляем всё как есть. Для тестирования хватит.
Жмем Create.

Настройка ИБП и проверка правила

Заходим на веб-интерфейс ИБП (далее описаны настройки, как они выглядят на версии 3.2.1 APC Network Managment Card). Переходим на вкладку Administration, далее слева выбираем SNMP — access. Проверяем, что он включен.

Переходим на SNMP — access control и проверяем, что Community name «public» включен и разрешен доступ на чтение.

В верней панели ссылок переходим на Notification, далее в левом девере на SNMP Traps — trap recievers. Добавляем новый trap receiver:

Community Name: public

NMS IP/Host Name: IP-адрес нашего Windows-сервера SNMP (я пытался ввести имя севрера, но ИБП отказывался посылать уведомления в такой конфигурации, не смотря на то, что тесты DNS проходили)

Trap Generation: Enabled

Authenticate Traps: Enabled

Жмем Apply. Переходим на SNMP Traps — test и жмем Apply. В строке Last Test Result должно появиться Test SNMP Trap sent successfully.

Открываем Operation Console, где мы в виде (View) Active Alerts должны увидеть сгенерированный алерт (не обращайте внимания, что у меня имя (Name) алерта — Test Rule. Должно быть Test APC Rule):

Image7

Что дальше

После того, как тест прошел успешно, нужно будет настроить правила согласно OID-ам. Об этом во второй части.

Продолжение следует.

При создании данной статьи использовался файлик «Monitoring ESX on SCOM 2007 v2.2.pdf«. Крайне рекомендую ознакомиться, если придется настраивать алерты с syslog или SNMP.


Jul


23


2010

You want to enable SNMP feature on Windows 2003 Server or Windows XP but don’t have the installation CD anymore. Here you will find the following list of files required for SNMP that are available for download.
They should also work on Windows XP

Exhaustive download file list:

accserv.mib   evntwin.exe   ipforwd.mib   mripsap.mib
smi.mib       apver.vbs     ftp.mib       lmmib2.dll
msft.mib      snmp.exe      authserv.mib  hostmib.dll
lmmib2.mib    msipbtp.mib   snmpmib.dll   dhcp.mib
hostmib.mib   mcastmib.mib  msiprip2.mib  snmptrap.exe
evntagnt.dll  http.mib      mib_ii.mib    nipx.mib
wfospf.mib    evntcmd.exe   inetsrv.mib   mipx.mib
rfc2571.mib   wins.mib
 

Download SNMP files
Extract and browse to the directory files were downloaded to when installing SNMP on Windows.

Also download files for IIS 6 installation on Windows XP and Windows 2003 Server.

Tags: 2003 server, snmp, Windows, xp

Leave a Reply

on December 16, 2012
at 2:09 PM

The SNMP service is not enabled by default in Windows, so it must be manually added. The following sections will explain how to do this in both Windows Server 2003, and in Windows Server 2008 R2. These methods should be adaptable to the corresponding desktop operating systems as well (XP, Vista, 7).
 

Installing the SNMP service in Windows Server 2003

  1. Go to:
    • Control Panel > Add/Remove Programs > Add/Remove Windows Components
  2. Scroll down, and highlight Management and Monitoring Tools:
    snmp_2003_1

  3. Click the Details button
  4. Scroll down, and select Simple Network Management Protocol:
    snmp_2003_2

  5. Click OK, and follow the prompts
    • Note: For Server 2003, you will need the installation media for the server to install this feature.

Installing the SNMP service in Windows Server 2008 R2

The process is more streamlined in 2008 R2, and you do not require installation media to add the feature.

  1. Go to:
    • Server Manager > Features > Add Features
  2. Scroll down, and select SNMP Services:
    snmp_2008_1

  3. Click Next, and follow the prompts to install

SNMP Service Properties

Now that the service is installed, it must be configured to allow your network monitoring system to access SNMP data.

  1. Go to:
    • Services > SNMP Service > Properties
  2. First, configure the Traps tab:
    1. Enter the community name, and click Add to list
    2. Under “trap destinations”, click Add
    3. Type the FQDN of the network monitoring system
    4. Click Add
  3. Now, configure the Security tab:
    1. Under “Accepted community names”, click Add
    2. Enter the community name, and make sure READ ONLY is selected
    3. Click Add
    4. Under “Accept SNMP packets from these hosts”, click Add
    5. Type the FQDN of the network monitoring system
    6. Click Add
  4. Restart the SNMP service to make sure all the changes are recognized

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Защита системы windows не может выполнить запрошенную операцию
  • Гаджет на рабочий стол windows 10 на выключение компьютера
  • Asus k73sv драйвера для ноутбука windows 10
  • Hp envy dv7 установка windows 10
  • Pantum p2500nw драйвер windows 10