Меню Рубрики

Netxms установка и настройка windows

Retifff’s Blog

Мой ИТ блог

Рубрики

Календарь

Сентябрь 2019

Пн Вт Ср Чт Пт Сб Вс
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30

Архив

Метки

Сертификаты

  • Админские блоги

    Сайты

    Форумы

    IRC-канал сисадминов

    irc.forestnet.org
    #sysadminz.ru:6667 (6662, 6669, 5190)
    Обязательна регистрация:
    /ns register e-mail пароль
    Кодировка UTF-8

    Установка агента NetXMS на Windows

    Posted by Retifff на 19.09.2019

    Чтобы получать информацию с отслеживаемых серверов, есть два пути — поставить на них агента мониторинга или настроить SNMP. В этой статье рассматривается первый вариант. Я буду описывать исключительно ручную установку, централизованная установка здесь рассматриваться не будет. В NetXMS её и нет, это нужно делать с помощью групповых политик или еще какими-то способами.

    Если вы помните из предыдущей статьи, при обнаружении, нода без установленного агента выглядит несколько грустно:

    И мониторить её просто так не получится. Поэтому, займемся установкой агента.

    Скачать агента можно на официальном сайте, на странице https://www.netxms.org/download/. Последняя версия агента обычно здесь — Agent Binaries > Windows (x64). Сейчас там уже версия 3.0, потому что уже вышла новая версия сервера NetXMS 3.0. На мой взгляд, она еще несколько сыровата, но, думаю, через какое-то время буду думать об обновлении на неё. Сейчас у меня версия сервера 2.2.16, поэтому идем в архив, ищем там эту версию агента, и по ссылке https://netxms.org/download/releases/2.2/2.2.16/nxagent-2.2.16-x64.exe скачиваем.

    Подключаемся к подопытному серверу, который будем мониторить, в моем случае подопытным будет контроллер домена dc01, и на нем запускаем этот инсталлер. На первом шаге соглашаемся с установкой, на втором указываем каталог для агента:

    Я обычно оставляю по умолчанию C:\NetXMS, проще искать и править конфигурацию агента, если что.

    На третьем шаге оставляем снятой галку Install session agent, она нужна будет на терминальных серверах, мне сейчас ни к чему.

    На четвертом шаге нужно указать имя нашего сервера NetXMS, в моем случае это netxms.corp.testcompany.ru.

    C галкой «Download configuration file from management server on startup» всё не так просто, как казалось бы. На мой взгляд, при наличии политик, достаточно базовой конфигурации агента плюс политики, но лучше бы подробно изучить этот момент в документации — Agent configuration options from server. Однозначного совета я тут дать не могу, я сам эту галку не ставлю, у меня пока не было ситуаций, где это необходимо.

    На следующем шаге настраиваем субагентов (Subagent). Я обычно выбираю все, кроме UPS (нет у меня их на виртуальных серверах, на физических есть смысл добавить):

    Всё, на следующих шагах Install и Finish. Агент установлен и запущен. Теперь идем в консоль NetXMS и ждем, пока в ноде обновится информация и справа появится isAgent Yes.

    Обратите внимание, насколько информации стало больше после установки агента.

    После установки, стоит изучить файл конфигурации агента, каким его создал инсталлятор. В Windows он находится по пути \etc\nxagentd.conf (c:\NetXMS\etc\nxagentd.conf в моем случае). Но, можно воспользоваться случаем и посмотреть его через консоль NetXMS. Правой кнопкой на ноде (наш dc01) > Edit agent’s configuration file:

    Можете вспомнить этапы установки и сопоставить их с полученным в результате конфигом.

    Также, можно всю инсталляцию агента сделать одной командой следующего содержания:

    Значения параметров не буду здесь описывать, все довольно очевидно и просто, про них можно прочитать в документации — Unattended installation of NetXMS Agent.

    С установкой агента под Windows всё, можно приступать к настройке счетчиков и всего остального.

    Источник

    Retifff’s Blog

    Мой ИТ блог

    Рубрики

    Календарь

    Сентябрь 2019

    Пн Вт Ср Чт Пт Сб Вс
    1
    2 3 4 5 6 7 8
    9 10 11 12 13 14 15
    16 17 18 19 20 21 22
    23 24 25 26 27 28 29
    30

    Архив

    Метки

    Сертификаты

  • Админские блоги

    Сайты

    Форумы

    IRC-канал сисадминов

    irc.forestnet.org
    #sysadminz.ru:6667 (6662, 6669, 5190)
    Обязательна регистрация:
    /ns register e-mail пароль
    Кодировка UTF-8

    Предварительная настройка сервера NetXMS и Network Discovery

    Posted by Retifff на 17.09.2019

    После установки сервера NetXMS (на Windows или Linux), перед тем, как включать автообнаружение, устанавливать агентов, добавлять серверы (ноды, в терминологии NetXMS) и т.п., желательно произвести предварительную настройку самого сервера.

    Предварительная настройка NetXMS

    Идем в меню Configuration > Server Configuration. Откроется вкладка с параметрами сервера:

    Ищем параметр UseDNSNameForDiscoveredNodes. Лучше поставить его в 1, чтобы обнаруженные ноды сразу имели DNS-имя, а не IP-адрес в Primary host name. IP-адреса по каким-то причинам могут и измениться (а если у вас есть серверы с динамическим IP-адресом, то у них это произойдет совершенно точно), а DNS-имя скорее всего останется. Естественно, всё это в том случае, если у вас нормально настроена инфраструктура DNS, в частности, создана обратная зона, NetXMS при автообнаружении имена серверов берет именно оттуда.

    UseFQDNForNodeNames — параметр по умолчанию включён, нода именуется полным, FQDN-именем. Если у вас один домен Active Directory, то есть смысл его выключить, чтобы не загромождать экран длинными именами. Если несколько, то конечно нет. Я не буду его трогать для наглядности, хотя у меня в тестовой среде как раз один домен и вполне можно было бы его выключить.

    SMTPServer — тут указываем почтовый сервер, через который NetXMS отправлять нам оповещения. У меня это mail01.corp.testcompany.ru.

    SMTPPort — лично я оставляю по умолчанию 25-м, но можно изменить, конечно на свой, 587 или 465, к примеру, это уже каждый сам решает, по своей почтовой инфраструктуре.

    SMTPFromName — поле FROM, тут указываем, от кого будет письмо. Можно оставить как есть, я решил убрать пробел — NetXMSServer.

    SMTPFromAddr — адрес сервера NetXMS — у меня это netxms@testcompany.ru.

    Параметры с префиксом LDAP нужны для синхронизации с Active Directory и импорта их неё пользователей. Это понадобится тем, у кого с NetXMS будут работать несколько администраторов, чтобы использовать их доменные логины и пароли. Не буду здесь на этом останавливаться, для предварительной настройки эти параметры необязательны, это тема для отдельной статьи, хоть и небольшой.

    DeleteEmptySubnets — автоматическое удаление пустых (не содержащих ноды) подсетей из контейнера Entire Network. Есть смысл включить, чтобы не отображать лишние подсети и не загромождать экран.

    ConfigurationPollingInterval — частота опросов конфигурации, по умолчанию раз в час (3600 сек.), я себе поставил 600 сек, потому что иногда час ждать как-то совсем долго, а делать принудительной Poll тоже не хочется, чтобы проверить, насколько все работает корректно само. В больших сетях наверно менять его не стоит, чтобы не перегружать сервер.

    CaseInsensitiveLoginNames — включить логины, нечувствительные к регистру. Ну, тут всё очевидно, лучше включить.

    C параметрами всё, можно переходить к автообнаружению (Network Discovery).

    Настройка Network Discovery

    Идем в меню Configuration > Network Discovery. По умолчанию автообнаружение выключено, и если вы собираетесь им пользоваться (что, в принципе, необязательно, можно и вручную ноды добавлять), то, конечно, его нужно включить.

    В блоке General я выбрал вариант «Active and passive», потому что он несколько быстрее, но тут конечно, нужно по сети смотреть, у кого как, кому-то и пассивного будет достаточно. Мне в тестовом окружении в том числе, но я решил несколько ускорить процесс.

    Минутка теории. В пассивном режиме сервер NetXMS собирает информацию о сетевых устройствах путем чтения кэшей ARP и таблиц маршрутизации на уже известных ему устройствах. В активном режиме сервер дополнительно проверяет каждый адрес в указанных подсетях и также использует отвечающие адреса. Сервер NetXMS должен иметь SNMP-доступ к как можно большему количеству сетевых устройств, чтобы иметь возможность получать требуемую информацию. Естественно, эти устройства должны быть доступны по SNMP (по порту 161). Активное обнаружение потребуется только в том случае, если у вас есть устройства, которые не могут взаимодействовать с уже известными устройствами, из-за чего они не будут отображаться в кэше ARP этих устройств.

    В блоке Active Discovery Targets можно указать конкретные подсети и диапазоны для активного сканирования. Если ничего не указывать, то сканироваться будут все доступные подсети, что не всегда нужно. Я добавил свою тестовую подсеть 192.168.1.0/24, другие мне не нужны.

    Discovery Filter я трогать не буду, мне не нужно, но смысл в нем такой, если нужно как-то ограничить подсети или диапазоны адресов для автообнаружения. К примеру, не включать подсети с рабочими станциями пользователей, мониторить их обычно ни к чему. Или можно использовать какой-то кастомный скрипт со своими условиями. Скрипт должен быть на NXSL в библиотеке скриптов NetXMS.

    Всё, настроили, не забыть нажать иконку с дискеткой «Save» в правом верхнем углу и немного (а может и много, всё зависит от размера и конфигурации сетей) подождать. У меня после нескольких минут ожидания в Entire Network появился контроллер домена dc01.corp.testcompany.ru и еще несколько серверов тестового окружения:

    Как видим, параметр UseDNSNameForDiscoveredNodes отработал корректно и ноды отобразилась по FQDN. В Primary Host Name у нее FQDN-имя:

    А вот в отображение в консоли NetXMS мне такое длинное имя ни к чему, поэтому я его вручную переименую в dc01. Можно по F2, можно зайти в свойства объекта, вкладка General и сделать это там.

    Для удобства есть смысл в контейнере Infrastructure Services создать свою структуру контейнеров и привязать (Bind) обнаруженные ноды туда:

    Делается это правым кликом по ноде > Bind to… Или правым кликом по целевому контейнеру > Bind… Если ноды по каким-то причинам не было обнаружены, можно их просто создать вручную, правый клик по контейнеру Create > Node… Удаление, соответственно, правый клик по контейнеру > Unbind…

    Всё, этих действий достаточно, чтобы переходить к следующим этапам, установке агентов, настройке SNMP, созданию счетчиков и т.п.

    Источник

    InstallationВ¶

    PlaningВ¶

    Operating systemВ¶

    Both NetXMS server and agent works fine on most operating systems, including Windows, Linux, and commercial UNIXes. However, we test and officially support only some of them.

    Supported platforms for NetXMS server and agent:

    • Debian 9 (Stretch), 10 (Buster)
    • Ubuntu 16.04 LTS (Xenial), 18.04 LTS (Bionic), 20.04 LTS (Focal Fossa)
    • Linux Mint 19.3 (Tricia), Linux Mint Debian Edition 4
    • Devuan ASCII
    • Red Hat Enterprise Linux 8
    • CentOS 8
    • Windows 10, Windows Server 2016, 2019
    • FreeBSD 12
    • ArchLinux (Latest)
    • AlpineLinux 3.8+
    • Raspbian Buster

    Support for the following platforms provided only to customers with active support contract:

    • Debian 8 (Jessie)
    • Ubuntu 14.04 LTS
    • Devuan Jessie
    • Red Hat Enterprise Linux 6, 7
    • CentOS 6, CentOS 7
    • FreeBSD 11, FreeBSD 11.3
    • Windows 7, Windows 8.1, Windows Server 2008 R2, 2012, 2012 R2
    • AIX 6.1, AIX 7.x
    • SUSE Linux Enterprise Server 11, 12, 15
    • Solaris 11 (agent only)
    • HP-UX 11.31 (agent only)

    Server hardwareВ¶

    Minimal requirements: Core 2 duo 1GHz, 1024MB RAM, 1GB disk space.

    DatabaseВ¶

    Database engines supported by NetXMS server:

    • PostgreSQL 9.5, 9.6, 10, 11, 12
    • PostgreSQL with TimescaleDB 11, 12
    • MySQL 5.6, 5.7, 8.0
    • MariaDB 10.1, 10.2, 10.3, 10.4
    • Oracle 12c, 18c, 19c
    • Microsoft SQL Server 2012, 2014, 2016, 2017
    • SQLite (only for test purposes)

    Database size and load is very hard to predict, because it is dependent on a number of monitored nodes and collected parameters. If you plan to install database engine on the same machine as NetXMS server, increase your hardware requirements accordingly.

    Link to Excel file that allows roughly estimate the size that will be required for database: http://git.netxms.org/public/netxms.git/blob/HEAD:/doc/misc/database_sizing.xlsx

    AgentВ¶

    Agent resource usage is negligible and can be ignored.

    Installing from deb repositoryВ¶

    We host public APT repository http://packages.netxms.org/ for all deb-based distributions (Debian, Ubuntu, Mint, Raspbian, etc.). Packages are signed, and you’ll need to install additional encryption key for signature verification.

    Two components are supported — “main” and “unstable”.

    Supported URLs (CODENAME should be replaced withoutput of lsb_release -sc ):

    • Debian, LMDE — “deb http://packages.netxms.org/debian CODENAME main”
    • Ubuntu, Mint — “deb http://packages.netxms.org/ubuntu CODENAME main”
    • Devuan — “deb http://packages.netxms.org/devuan CODENAME main”
    • Raspbian — “deb http://packages.netxms.org/raspbian CODENAME main”

    Add APT repositoryВ¶

    There are two options to add APT repository: by hand or using netxms-release package. Use of the release package is strongly encouraged because it allow easy change in repository configuration and encryption keys updated in the feature.

    Using netxms-release packageВ¶

    Download and install netxms-release-latest.deb package, which contain source list file of the repository as well as signing key.

    ManuallyВ¶

    Add the repository to your sources.list:

    Installing packagesВ¶

    ServerВ¶

    Server require two components to function — server itselt (package “netxms-server”) and at least one database abstraction layer driver (multuple can be installed at the same time, e.g. for migration purposes).

    Provided driver packages:

    • netxms-dbdrv-pgsql — PostgreSQL driver
    • netxms-dbdrv-mariadb — Mariadb driver
    • netxms-dbdrv-mysql — MySQL driver (not built for Ubuntu 20 / Mint 20)
    • netxms-dbdrv-odbc — unixODBC driver (can be used with DB/2 and Microsoft SQL)
    • netxms-dbdrv-oracle — Oracle driver
    1. Create user and database ( examples ).
    2. Modify server configuration file (“/etc/netxmsd.conf” to match your environment.
    3. Load database schema and default configuration:

    Default credentials — user “admin” with password “netxms”.

    AgentВ¶

    Install core agent package (“netxms-agent”) and optional subagent packages, if required:

    Management consoleВ¶

    Desktop Management ConsoleВ¶

    Download the latest version from http://www.netxms.org/download. You will need Linux installer(named nxmc-VERSION-linux-gtk-x64.tar.gz, for example nxmc-3.4.178-linux-gtk-x64.tar.gz). Due to limitation of Eclipse platform used to build the Management Console, only x64 build is currently provided.

    Expand package to your preferred directory using command:

    tar zxvf nxmc-VERSION-linux-gtk-x86.tar.gz -C /DESTINATION_DIRECTORY

    Run nxmc file from “/DESTINATION_DIRECTORY”.

    Desktop management console produces log file .nxmc/data/.metadata/.log in home folder of currently logged user. Inspect this log file if you encounter errors when running the console.

    Web Management ConsoleВ¶

    NetXMS web interface is java based and should be deployed into servlet container to run. Minimal supported versions: Jetty 9.3.28, Tomcat 8.5.

    Install one of servlet containers that support servlet-api version 3.

    Download latest version of WAR file from Web Interface Binaries section http://www.netxms.org/download/ (named nxmc-VERSION.war, for example nxmc-3.4.178.war).

    Copy nxmc.war to webapps directory, in a few seconds it will be autodeployed and available at http://SERVER_IP:SERVER_PORT/nxmc/

    Tomcat default folder: /var/lib/tomcat9/webapps

    Jetty default folder: $JETTY_HOME/webapps/

    Web management console produces log file. For Tomcat it’s located at /var/lib/tomcat9/work/Catalina/localhost/nxmc/eclipse/workspace/.metadata/.log. Inspect this log file if you encounter errors when running the web console.

    Installing on Red Hat, Fedora, CentOS or ScientificLinuxВ¶

    RPM packages are not released at the moment. Please refer to section Installing from source .

    Installing on WindowsВ¶

    ServerВ¶

    1. Download the latest version from http://www.netxms.org/download. You will need Windows installer (named netxms-VERSION-x64.exe, e.g. netxms-server-3.4.178-x64.exe). Please note that in following steps VERSION will be used as a substitution for an actual version number.
    2. Run the installer package on your server machine. Installation wizard will be shown. Follow the prompts until the Select Components window opens.
    3. On the Select Components window, select NetXMS Server option and an appropriate database client library. You do not have to install database client library from NetXMS package, if it is already installed on the machine (however, it might be required to add folder where the client library is installed to system path).

    1. For a typical installation keep default settings on Select Additional Tasks window. Set hardened file system permissions makes installation folder accessible only to members of Administrators group and SYSTEM user.

    1. Follow the prompts until Ready to Install window opens.
    2. On Ready to Install window, check whether everything is correct, then press the Install button.
    3. After copying files, Server Configuration Wizard will open:

    Press the Next button to start NetXMS server configuration.

    Select the desired database engine and driver. For most databases, you will have two drivers available – native and ODBC. Please note that if you select ODBC, you will have to manually configure ODBC source.

    Enter the name of database server or ODBC source.

    In DBA login name and DBA password fields, enter database administrator’s login name and password. You have to fill these fields only if you have chosen Create new database option .

    Enter the desired database name, database user name and password. If you are not using ODBC, the wizard will create database and a user for you. If ODBC is used, database and user should be created beforehand.

    MySQL note Bundled MySQL database drive does not support caching_sha2_password authentication which is default for MySQL starting from version 8. Either select Legacy Authentication Method when installing MySQL, or use database driver installed along with MySQL. Database driver gets installed when installing MySQL with Server-only option, however these two folders should be included into system path: C:\Program Files\MySQL\MySQL Server 8.0\lib C:\Program Files\MySQL\MySQL Server 8.0\bin .

    Microsoft SQL note:

    If you wish to use Windows authentication for database connectivity, use * (asterisk) as a login name and leave the password field blank. If you specify asterisk as DBA login, user with which you are logged in to Windows should have administrative rights to the database server. If you use asterisk as DB login, you should run NetXMS Server service as a user with appropriate rights to the database.

    Oracle note:

    We recommend to use native database driver (oracle.ddr).

    1. On the next window, enter address of your SMTP server. NetXMS will use it to send notification e-mails.
    2. Then next window will prompt you for logging method. Either check Event Log or select file, and press the Next button.
    3. Windows service configuration window will appear:

    In most situations, you can run NetXMS server under Local System account. You may need to run it under specific account if you are using Microsoft SQL database and Windows authentication, or for security reasons.

    If you have database engine running on same server, you can find it in service list and mark, so NetXMS server’s service will depend on database service and service startup order will be correct.

    13. Follow the prompts until server configuration will be complete. After successful server configuration, installation will be finished, and you will have NetXMS server up and running.

    Server default credentials:

    AgentВ¶

    Download the latest version from http://www.netxms.org/download, if you don’t have it. You will need Windows Agent installer (named nxagent-VERSION.exe or nxagent-VERSION-x64.exe, for example nxagent-3.4.178.exe).

    Run the installer package on target server. Installation wizard will be shown. Follow the prompts until the NetXMS Server window opens:

    Enter IP address or host name of your NetXMS server. You can specify multiple management servers, separating them by commas. Press the Next button to continue.

    Subagent selection window will open:

    In this window, you can select which subagents you wish to load. Each subagent extends agent’s functionality, e.g.:

    Subagent Description
    filemgr.nsm Provides access to spefified folders on monitored host from NetXMS Management Console File Manager. Is also being used for distributing Agent Policy configuration files (see Agent Policies .)
    logwatch Allows monitoring log files and Windows Event Log and sending matched events to NetXMS server.
    ping.nsm Adds possibility to send ICMP pings from monitored host. Ping round-trip times can be collected by management server.
    netsvc.nsm, portcheck.nsm Adds possibility to check network services (like FTP or HTTP) from monitored host.
    winperf.nsm Provides access to Windows performance counters. This subagent is required if you need to collect CPU utilization from monitored host.
    wmi.nsm Provides access to WMI data.
    ups.nsm Adds support for UPS monitoring. UPS can be attached to host via serial cable or USB.

    For more information about subagents, please refer to Subagents .

    Management consoleВ¶

    Desktop Management Console:

    1. Download the latest version from http://www.netxms.org/download. You will need Windows archive (named nxmc-VERSION-win32-x64.zip, for example nxmc-3.4.178-win32-x64.zip). Due to limitation of Eclipse platform used to build the Management Console, only x64 build is currently provided.
    2. Extract zip in preferred directory.
    3. Run nxmc file from extracted catalog.

    Web Management Console:

    Windows have two options: one is to manually install .war file into servlet container and the second one is to use netxms-webui-VERSION-x64.exe installer. Installer will install Jetty and copy .war file into required folder. Below will be described installation via the installer:

    1. Download the latest version from http://www.netxms.org/download. You will need Windows installer netxms-webui-VERSION-x64.exe (e.g.: netxms-webui-4.3.178-x64.exe). Due to limitation of Eclipse platform used to build the Management Console, only x64 build is currently provided.
    2. Run the installer package on your server machine. Installation wizard will be shown. Follow the prompts. Installer allows to change installation path and port.
    3. After installation procedure is finished check that WEB GUI is available at http://SERVER_IP:SERVER_PORT/nxmc/

    Unattended installation of NetXMS AgentВ¶

    Windows Agent installer (named nxagent-VERSION.exe, for example nxagent-3.4.178.exe), has various command line options for unattended installation. Installation will ignore any configuration file options (/CONFIGENTRY, /NOSUBAGENT, /SERVER, /SUBAGENT) if config file already exists or if /CENTRALCONFIG option is used. These options are following:

    Option Description
    /CENTRALCONFIG Read configuration from server on startup
    /CONFIGENTRY=value It can be used to add any parameter to configuration file during initial install. You can specify it multiple times to add multiple lines. Section names can be added as well.
    /DIR=path Set installation directory (default is C:\NetXMS)
    /LOCALCONFIG Use local configuration file (it is the default)
    /LOG Causes Setup to create a log file in the user’s TEMP directory detailing file installation and [Run] actions taken during the installation process.
    /NOSUBAGENT=name Disable subagent name
    /SERVER=IP Set server IP address or host name (will be set in configuration file as MasterServers)
    /SILENT Don’t show installation wizard, only a progress bar
    /SUBAGENT=name Add sub-agent loading directive to configuration file. You can specify this parameter multiple times to add more than one sub-agent. List of possible subagents: Subagents .
    /SUPPRESSMSGBOXES Don’t ask user anything
    /VERYSILENT Don’t show anything

    nxagent-3.4.178.exe /VERYSILENT /SUPPRESSMSGBOXES /SERVER=10.0.0.1 /SUBAGENT=UPS /SUBAGENT=FILEMGR /CONFIGENTRY=ZoneUIN=15 /CONFIGENTRY=[FILEMGR] /CONFIGENTRY=RootFolder=C:\

    This command will add 3 lines at the end of generated config file:

    Install on AndroidВ¶

    ConsoleВ¶

    To install Android console download netxms-console-VERSION.apk (example: netxms-console-3.4.178.apk) file from http://www.netxms.org/download page. Check that installation of applications from unknown sources is allowed in security settings of your phone. Run this installer on required device.

    After agent is installed go to settings and in main menu, connection part set all required connection credentials: server address, port, user name, password.

    User that is used for connection should have Login as mobile device user right.

    AgentВ¶

    To install Android agent download netxms-mobile-agent-VERSION.apk (example: netxms-mobile-agent-3.4.178.apk) file from http://www.netxms.org/download page. Check that installation of applications from unknown sources is allowed in security settings of your phone. Run this installer on required device.

    After agent is installed go to settings and activate agent. After agent activation several parameters should be set: server address, port, user name, password. They can be found in under main menu, parameters section.

    User that is used for connection should have Login as mobile device user right.

    Mobile device should be manually added to server. Find more information see: Monitoring mobile devices .

    Installing from sourcesВ¶

    ServerВ¶

    Since version 2.2.4 encryption support is enforced when building server.

    Download source archive (netxms-VERSION.tar.gz) from http://www.netxms.org/download/. VERSION is used in names instead of an actual version number.

    Unpack the archive:

    tar zxvf netxms-VERSION.tar.gz

    Change directory to netxms-VERSION and run configure script:

    ./configure —with-server —with-pgsql —with-agent

    Most commonly used options (check full list with ./configure —list):

    Name Description
    —prefix=DIRECTORY Installation prefix, all files go to the specified directory
    —with-server Build server binaries. You will need to select at least one DB driver as well
    —with-agent Build monitoring agent. It is strongly recommended to install agent on a server box
    —with-pgsql Build PostgresSQL DB Driver (if you plan to use PostgreSQL as backend database)
    —with-mysql Build MySQL DB Driver (if you plan to use MySQL as backend database)
    —with-odbc Build ODBC DB driver (if you plan to connect to your backend database via unixODBC)
    —with-sqlite Build SQLite DB driver (if you plan to use embedded SQLite database as backend database)

    Run build binaries and install them into /usr/local (unless changed with configure flag –prefix)

    Copy sample config file:

    cp contrib/netxmsd.conf-dist /usr/local/etc/netxmsd.conf

    By default, server load configuration file PREFIX/etc/netxmsd.conf (where PREFIX is installation prefix set by configure), unless different file is specified with command line switch “-c”.

    Create database user and adjust configuration file (netxmsd.conf) accordingly. Database creation examples can be found there .

    Further adjust server configuration file if required.

    Detailed information about each configuration parameter can be found in section Server configuration file (netxmsd.conf) .

    Create required tables and load initial configuration using nxdbmgr utility:

    Источник

    Добавить комментарий

    Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Netwrix auditor for windows file servers
  • Network ups tools windows
  • Network speed test для windows 10
  • Network profile windows 10
  • Network print monitor for windows