Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Alex Kirhenshtein

#526
General Support / Re: Server Crashed
October 15, 2015, 04:00:22 PM
Hello.

Everything is stored in the database – just install new NetXMS instance (same version or newer) and point it to existing database.
Do NOT initialise database using wizard, just click cancel it and then create configuration file by hand.

Sample config (netxmsd.conf):
LogFile=C:\NetXMS\netxmsd.log
DebugLevel=3
DBDriver=mssql.ddr
DBServer=DB1
DBName=netxms
DBLogin=netxms
DBPassword=netxms
#527
Я очень рекомендую сменить базу данных (например на PostgreSQL, MySQL). SQLite предназначен для разработки и очень маленьких инсталляций.
Миграция полностью автоматизированна, и делается при помощи nxdbmgr:
1) поставьте базу данных, создайте юзера и базу
2) скопируйте netxmsd.conf в netxmsd.old.conf
3) в netxmsd.conf поменяйте DBDriver, DBName, DBLogin, DBPassword
4) создайте структуру базы: "nxdbmgr init dbinit_pgsql.sql" ("dbinit_pgsql.sql" – пример для PostgreSQL, при необходимости укажите полный путь к файлу)
4) запустите "nxdbmgr migrate netxmsd.old.conf"
#528
General Support / Re: SMS notification via smartphone.
October 09, 2015, 01:32:46 AM
If this Nokia is available over serial port (check device manager for virtual ports), then you can use it with "generic" driver.

The are two server parameters (Configuration -> Server Configuration): SMSDriver и SMSDrvConfig.

Example (port COM1, port speed - 9600, 8 data bits, no flow control, 1 stop bit):

SMSDriver=generic.sms
SMSDrvConfig=COM1:,9600,8,N,1,T

Detailed description: https://www.netxms.org/documentation/adminguide/sms-drivers.html#generic-gsm-modem-driver

#529
General Support / Re: SMS notification via smartphone.
October 08, 2015, 12:51:01 PM
I'm not sure about modern smartphone, but you can use most old school phones as a GSM modem for sending messages.
If it can be connected to serial port (real one or virtual port over USB) – most likely it will work with netxms.
#530
В разработке. В RC2 скорее всего войти не успеет, но в следующем релизе будет.
#531
Какой тип выставлен у DCI?
#532
General Support / Re: mvn package - dependency errors
September 14, 2015, 09:56:55 PM
You missing some of the dependencies. You can either build them yourself, or wait a bit – I'll push them to maven central.
#533
General Support / Re: How To Use XMPP
September 10, 2015, 12:52:12 AM
XMPP depends on encryption – check that you have development package for OpenSSL.
Look for "Encryption enabled" in configure output and also check config.log.
#534
Общие вопросы / Re: NXAgent & OpenWRT
September 07, 2015, 01:10:50 AM
Архив в аттаче.
#535
Общие вопросы / Re: ssmtp send email
September 02, 2015, 01:47:53 PM
NetXMS не умеет читать конфиги локального релея – это задача MTA – как тот будет читать свой конфиг.
Отсылка почты идет через SMTP, локальный или удаленный (без поддержки авторизации, так как полноценная поддержка – серьезный геморой, а различные MTA умеют это из коробки).

Я бы советовал заменить ssmtp на локальный postfix/exim4 в режиме smarthost (поднимает SMTP на localhost и отсылает всё на следующий сервер) – конфигурации там 10 строк у каждого.
Второй вариант – прописать на существующем релее исключение в авторизации для IP сервера, где запущен NetXMS.
Третий – добавить server action (configuration -> action configuration -> new -> type=execute on management server) c коммандой типа:echo %m | mail -s "subject" [email protected] и использовать этот action в EPP.
#536
Сейчас нельзя, но мы планируем это поправить. Не уверен насчет RC2, но в финальный 2.0 точно попадает.
#537
Hello.

Driver from this thead (websms) is designed to work with service websms.ru.

I've got in touch with eurosms guys and requested API – we'll add support in couple of days.

Quote from: juko on August 26, 2015, 12:38:22 PM
Please practical description of the settings for sending SMS from NETXMS through web pages specifically for me through: https://www.eurosms.com. NETXMS is installed on FEDORA21
#538
Я рекомендую делать бекап средствами базы (а если это sqlite3 - просто копировать файл при остановленном сервере).
Но в любом случае, неработающий экспорт – это косяк сборки инсталлятора. Замените dbschema_sqlite.sql этой версией: https://www.dropbox.com/s/imj7rfpd9tubqhm/dbschema_sqlite.sql?dl=0
#539
Server can't communicate with the device for some reason. Please show output of command "show pollers" (run it in tools -> server console).

Temperature is in vendor specific MIB, and you need to add it to use MIB browser.
However, you can just add DCI with OID 1.3.6.1.4.1.674.10895.5000.2.89.53.15.1.9.1 – that's temperature.

global status: 1.3.6.1.4.1.674.10895.3000.1.2.110.1.0
fan1: 1.3.6.1.4.1.674.10895.3000.1.2.110.7.1.1.3.67109249
fan2: 1.3.6.1.4.1.674.10895.3000.1.2.110.7.1.1.3.67109250
temp value: 1.3.6.1.4.1.674.10895.5000.2.89.53.15.1.9.1
temp status: 1.3.6.1.4.1.674.10895.5000.2.89.53.15.1.10.1
power ac: 1.3.6.1.4.1.674.10895.3000.1.2.110.7.2.1.3.67109185
power dc: 1.3.6.1.4.1.674.10895.3000.1.2.110.7.2.1.3.67109186
cpu util 1 minute: 1.3.6.1.4.1.674.10895.5000.2.89.1.8.0
cpu util 5 mintes: 1.3.6.1.4.1.674.10895.5000.2.89.1.9.0
#540
It should work even without MIBs.
Please show me output of the configuration poll (right click on the Dell switch, then select Poll -> Configuration (full))