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

#541
"unknown" interface is created when NetXMS can't get proper list of interfaces from the device. Check connectivity, firewall, and SNMP community settings.
You can also verify with nxsnmpget command line utility. Sample session (querying cisco c2900 switch):AirAlk:core(develop) $ nxsnmpget -c public 10.5.0.200 .1.3.6.1.2.1.1.1.0
.1.3.6.1.2.1.1.1.0 [STRING]: Cisco Internetwork Operating System Software
IOS (tm) C2900XL Software (C2900XL-C3H2S-M), Version 12.0(5)WC17, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2007 by cisco Systems, Inc.
Compiled Tue 13-Feb-07 15:27 by antonino

AirAlk:core(develop) $ nxsnmpget -c public 10.5.0.200 .1.3.6.1.2.1.1.2.0
.1.3.6.1.2.1.1.2.0 [OBJECT IDENTIFIER]: .1.3.6.1.4.1.9.1.217
#542
Announcements / Re: NetXMS 2.0-RC1 released
August 18, 2015, 02:12:55 AM
Debian packages updated to 2.0-RC1-2
#543
Есть несколько путей. Самый просто - сделать dummy DCI с примерно таким скриптом:ifSpeed=104857600;
val=GetDCIValueByName($node, "Existing.Metric.Name(param1)")
if (val != null) {
  return val * 100 / ifSpeed;
}
retun 0;


Настройка DCI: https://www.dropbox.com/s/sr14vq66xhy9nqg/Screenshot%202015-08-13%2012.23.43.png?dl=0

Что бы не настраивать ifSpeed руками – можно сделать DCI для 1.3.6.1.2.1.2.2.1.5 с временем опроса раз в сутки (или еще реже) и тоже читать его через GetDCIValueByName().
#544
Announcements / Re: NetXMS 2.0-RC1 released
August 12, 2015, 01:47:39 AM
PhysicalIndexOrZero is defined in ENITY-MIB.

You can get correct MIBs from git: https://git.netxms.org/public/netxms.git (it's in contrib/mibs, branch develop), or download this archive: https://www.dropbox.com/s/tt1r7ygc1eyyh05/mibs.tar.gz?dl=0
#545
1) Да, local command на вебе не работает – ограничение броузера. Server command должен работать и на вебе (для не интерактивных скриптов).
2) Работа с клипбордом в броузере тоже достаточно ограничена, поэтому меню отключено. Сейчас ситуация с поддержкой клипборда потихоньку улучшается (через document.execCommand('copy')) – но пока это еще не сделано.
#546
А что именно не работает в вебе? Должно всё работать.
#547
Большую часть этого можно сделать через Object Tools и внешние команды (на контейнерах они тоже работают).
#548
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.
#549
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.
#550
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.)
#551
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.
#552
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\*
#553
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.
#554
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.
#555
Общие вопросы / 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 -> [имя]