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

#571
General Support / Re: SMS config
August 06, 2015, 02:28:50 PM
That's not an error, just diagnostics. Try to send one more message to verify that it works.
#572
General Support / Re: Alarm viewer filtering
August 06, 2015, 02:00:30 PM
No, it's not possible.
You can, however, configure it in slightly different way:

Create nodes:
1) server1 (physical server, with correct IP)
2) IIS (node without IP address)
3) SQL Server (node without IP address)

In server1 properties, add IIS and "SQL Server" to trusted nodes list

Create corresponding DCIs on IIS and "SQL Server", for each one of them set "proxy node" (in DCI configuration, not in node configuration) to "server1".
This was DCIs will be collected on server1, but will be shown on IIS or SQL Server (same goes for alarms, etc.)

Then you can have multiple rules in EPP for IIS and SQL Server nodes.
#573
General Support / Re: SMS config
August 06, 2015, 01:54:45 PM
I'm pretty much sure that you use wrong port. Most USB modems provide multiple ports – one for communications, one for diagnostic messages, and one or two for other purposes. Looks like you are using diagnostic port. Try other /dev/ttyUSB* ports with screen – it should respond to "ATI" command with modem information (vendor, model, etc.)
#574
General Support / Re: SMS config
August 05, 2015, 05:03:22 PM
Yes, server can't open /dev/ttyUSB2 for some reason.

You can check port using "screen" command (if you have it installed):screen /dev/ttyUSB2 9600
Press enter couple of times, try to enter "AT" and press enter – you should get reply from modem.
#575
General Support / Re: SMS config
August 05, 2015, 03:40:44 PM
/opt/netxms is just an example from my system.
Try find / -name libnxsms_generic\*
#576
General Support / Re: SMS config
August 05, 2015, 03:23:53 PM
Driver was not loaded, hence no debug messages.

Try to set SMSDriver to full file name with path, then restart server.
Sample setup:AirAlk:core(develop) $ find /opt/netxms -name \*generic\*
/opt/netxms/lib/libnxsms_generic.1.dylib
/opt/netxms/lib/libnxsms_generic.2.dylib
/opt/netxms/lib/libnxsms_generic.dylib
AirAlk:core(develop) $ ls -al /opt/netxms/lib/libnxsms_generic.dylib
lrwxr-xr-x  1 alk  wheel  24 Jul 26 12:14 /opt/netxms/lib/libnxsms_generic.dylib -> libnxsms_generic.2.dylib
AirAlk:core(develop) $ nxdbmgr get SMSDriver
NetXMS Database Manager Version 2.0-RC1 Build 8032

/opt/netxms/lib/libnxsms_generic.dylib


P.S. You can also change debug level in runtime. Go to Tools -> Server Console and type "debug X", where "X" is desired debug level.
#577
General Support / Re: SMS config
August 04, 2015, 03:10:02 AM
1) verify driver name, it should be "generic.sms"
2) Check driver configration:SMSDrvConfig=/dev/ttyUSB2,9600,8,N,1,T

Fields in SMSDrvConfig are:
1 - device name
2 - speed
3 - data bits
4 - parity: n/o/e (none/odd/even)
5 - stop bits: 1/2
6 - sending mode, T / P (text / PDU. Some modems support only text, some works only with PDU. Unicode can be send only in PDU mode)

3) Increase debug level of the server to 5 and look for "SMS: " in the log.
#578
Общие вопросы / Re: Таблица
August 04, 2015, 02:28:21 AM
Сделать summary table в Configuration -> DCI Summary table
Menu path: путь в контекстном меню, "->" разделяет вложенные меню.
Пример: https://www.dropbox.com/s/v9d0puamtji1alv/Screenshot%202015-08-04%2002.26.38.png?dl=0

Когда есть хоть одна таблица, можно кликнуть правой кнопкой на любом контейнере и выбрать Summary tables -> [имя]
#579
Общие вопросы / Re: nxshell API
July 29, 2015, 11:28:02 PM
Примерно так:
node_id=180
dcc=s.openDataCollectionConfiguration(node_id)
disabled_items = [x for x in dcc.getItems() if x.status == DataCollectionObject.DISABLED]
for item in disabled_items:
print item.name, item.description
dcc.close()
#580
Общие вопросы / Re: nxshell API
July 29, 2015, 01:05:38 PM
А что хочется получить?
Если нужны последние значения, то NXCSession.getLastValues()
Если нужно менять что-то в DCI, то NXCSession.openDataCollectionConfiguration()
#581
Just add additional rule into EPP. Set events=(list), source=container, action=email-to-additional-user
#582
Используйте ServiceResponseTime.HTTPS(...)
#583
General Support / Re: Management Console in FreeBSD
July 18, 2015, 11:32:08 AM
Sources are available in out GIT: http://git.netxms.org/public/netxms.git
Checkout by tag release-2.0-M5.
Desktop UI sources are located in src/java/netxms-eclipse

Here is a list of required components you need to install into eclipse: http://git.netxms.org/public/netxms.git/blob/refs/heads/develop:/src/java/eclipse_addons.txt?js=1
#584
General Support / Re: Management Console in FreeBSD
July 17, 2015, 11:27:24 AM
Hello.

I don't have much experience with FreeBSD lately, but I think that Linux build of management console should work fine using linux emulation layer.
I did a quick search and can't really find native FreeBSD build of the Eclipse either, to be honest (or it's available only in ports?).
#585
Мы отвечаем в форуме, как только появляется свободное время – коммерческий саппорт всегда имеет более высокий приоритет, и к сожалению мы не успеваем отслеживать весь форум.

1) Да, можно сделать.
2) Тоже можно сделать.
3) На данный момент – нет.
4) Можно указать несколько серверов – разделенные пробелом. Перебираются по порядку, пока какой-то не ответит.

Зарегистрируйте пожалуйста тикеты для #1 и #2 (тут: https://dev.raden.solutions/projects/netxms/issues/new)