- 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
- Offshoring
- 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
- Purple Bureau
Netsupport Corperate
WhatsUp Gold
Purple Bureau
- NetSupport
- 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:
Accept the license agreement:
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:
Choose the install location. This is the root of the application tree:
Choose the location for the Start Menu Folder:
There is a notification of setup completion:
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):
Что дальше
После того, как тест прошел успешно, нужно будет настроить правила согласно 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
- Go to:
Control Panel > Add/Remove Programs > Add/Remove Windows Components
- Scroll down, and highlight Management and Monitoring Tools:
- Click the Details button
- Scroll down, and select Simple Network Management Protocol:
- 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.
- Go to:
- Server Manager > Features > Add Features
- Scroll down, and select SNMP Services:
- 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.
- Go to:
Services > SNMP Service > Properties
- First, configure the Traps tab:
- Enter the community name, and click Add to list
- Under “trap destinations”, click Add
- Type the FQDN of the network monitoring system
- Click Add
- Now, configure the Security tab:
- Under “Accepted community names”, click Add
- Enter the community name, and make sure READ ONLY is selected
- Click Add
- Under “Accept SNMP packets from these hosts”, click Add
- Type the FQDN of the network monitoring system
- Click Add
- Restart the SNMP service to make sure all the changes are recognized
