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 - SKYnv

#61
Скрипты трансформации имеют небольшой недочет в логике.

скрипт ниже вернет 500 если значение больше 1000 и 0 для все остальных значений.
if ($1>1000)
return 500;


скрипт ниже отработает как и ожидалось, вернет 500 для значений выше 1000 и оригинальное значение если меньше.
if ($1>1000)
return 500;
else
return $1;


это или исправить или большими буквами описать этот нюанс в мануале. Данное поведение тянеться и с ранних версий и уже на форуме была темка где я предлагал нижний скрипт в качестве решения.
#62
возможность отображения значений в процентах.
#63
добавить по аналогии с dummy dci, для того чтобы на него можно было вешать расчеты dummy dci не захламляю другие узлы.
#64
добавить возможность указать в качестве source objecct скрипт. Чтобы можно было оперерировать суммой двух DCI.
#65
dashboards
tube/bar chart без множителей для значений работают.
tube chart имеет легенду от bar chart

да и вообще все кроме line chart работает без множителей.
#66
General Support / Re: auto map
December 08, 2012, 04:22:30 PM
Quote from: [email protected] on December 08, 2012, 03:51:52 PM
(trendent) TGE-240WS and SMC8612XL3 (SMC) and DES-6500 (DLINK).
please also how to configure switch port as cascade (not trunk) so the console display all the MAC addresses for this port.
thx
seems TGE-240WS, DES-6500 and SMC8612XL3 does not support any auto discovery protocols.
i can't find it in their specs.
Create your maps manually.
#67
General Support / Re: auto map
December 08, 2012, 03:30:10 PM
Quote from: [email protected] on December 08, 2012, 02:05:19 PM
I am using DLINK and TRENDENT switch, i didn't find any configuration for LLDP !
\
models?
#68
General Support / Re: auto map
December 08, 2012, 01:02:34 PM
Quote from: [email protected] on December 08, 2012, 11:56:55 AM
Hi
i am using version 1.2.4, i discovered many snmp switches but when i tried to create auto map and selected the seed node nothing was done, it only display the seed node, what's the problem ?
other point, in some switches i got the switches doesn't support layer2 discovery, who Netxms know if the switch have this feature or not ?
in the case of cascade port in the switch the console only display one MAC address, are there any way to tell the console that this is cascade port and can have many MAC that it have to display them ?
best regards
enable any discovery protocol. CDP or LLDP.
#69
General Support / Re: Monitor APC UPS via SNMP
December 07, 2012, 12:47:26 PM
i'm use these oids

1) upsAdvInputLineVoltage
.1.3.6.1.4.1.318.1.1.1.3.2.1.0

2) upsAdvOutputVoltage
.1.3.6.1.4.1.318.1.1.1.4.2.1.0

3) upsAdvOutputLoad
.1.3.6.1.4.1.318.1.1.1.4.2.3.0

3) upsAdvBatteryCapacity
.1.3.6.1.4.1.318.1.1.1.2.2.1.0

4) upsAdvBatteryTemperature
.1.3.6.1.4.1.318.1.1.1.2.2.2.0

5) upsAdvRunTimeRemaining
.1.3.6.1.4.1.318.1.1.1.2.2.3.0

6) upsBasicBatteryTimeOnBattery
.1.3.6.1.4.1.318.1.1.1.2.1.2.0

for this oid i use this transformation script for converting to minutes.

sub main()
{
return ($1/6000);
}


7) upsBasicBatteryStatus
.1.3.6.1.4.1.318.1.1.1.2.1.1.0

don't forget about instance ('.0' on the end of oid)
#70
General Support / Re: Web GUI - Ports
December 07, 2012, 12:39:26 PM
Quote from: jdl on December 07, 2012, 12:11:35 PM
Hi,

would you be so kind to give us some information about how the communication is setup between any Web GUI (remote laptop for example) and the NetXMS server?

Which port is effectively used? Wireshark shows only traffic to server port 4701. No traffic seems to be going on 8787.

How secure is the link between the remote laptop running the Web GUI dashboard and the NetXMS server?

We try to understand how likely it is that comm between remote dashboard and server will cross firewalls and how secure this comm can be.

Many thanks in advance.

Best regards,
Jdamien
For connecting to netxms server web gui using port from server configuration=ClientListenerPort (usually 4701).
For connecting to Web Gui you use web_gui_server_ip:webgui_port. Usualy it 8080, but you can change it, configure you servlet engine or configure routing.
If web gui (servlet engine) running on netxms server machine then
1) you using netxms_ip:webgui_port for connecting to web gui
2) web gui using 127.0.0.1:ClientListenerPort for connecting to netxms server.

for security use encryption.
understand?
#71
при наведении на граффик отображается raw значение, что абсолютно нечитаемо. Может лучше отображать совпадение по вертикальной оси? Также с множителем.
#72
1) Сделали множители, стало гораздо удобнее. Может еще сделать автоматическую кновертацию в биты ($1*8)? Или выбор между тем в каком виде отображать.
#73
если приходит известный трэп (который занесен в конфигурацю snmp traps и имеет правила обработки) приходит от неизвестного узла, то такой трэп никак не обрабатывается. Вернее он отображается в списке пришедших трэпов, но в евентах или алармаъ никак не фигурирует. Может следует добавить для такого случая автоматическое добавление такого узла в дерево обьектов? Эдакая active discovery только с другого конца.
#74
по прежнему попытка записать кирилицу в UTF через nxmc приводит к
Quote[07-Dec-2012 10:29:26] SQL query failed (Query = "SELECT var_value FROM config WHERE var_name=?"): Commands out of sync; you can't run this command now
то есть к невозможности записать после этого в базу вообще что либо. Например попытка задать русское описание event. Хотя например написание комментария к alarm не вызывает никаких проблем.
#75
Виктор, свежий backtrace

(gdb) core netxmsd.core
Core was generated by `netxmsd'.
Program terminated with signal 6, Aborted.
#0  0x0000000803782a7c in ?? ()
(gdb) backtrace
#0  0x0000000803782a7c in ?? ()
#1  0x000000080381fd3b in ?? ()
#2  0x00000008038221fc in ?? ()
#3  0xffffffdf00000001 in ?? ()
#4  0xffffffffffffffff in ?? ()
#5  0x00000000ffffffff in ?? ()
#6  0x000000080351ba50 in ?? ()
#7  0x000000080351ba78 in ?? ()
#8  0x00000000000001a8 in ?? ()
#9  0x000000080351adf5 in ?? ()
#10 0x000000082c21d100 in ?? ()
#11 0x000000080e85b000 in ?? ()
#12 0x0000000000000000 in ?? ()
#13 0x00000008035163f1 in ?? ()
#14 0x00000000000001d7 in ?? ()
#15 0x000000080e38ed60 in ?? ()
#16 0x000000080e85b000 in ?? ()
#17 0x0000000801789308 in ?? ()
#18 0x00000000000001d7 in ?? ()
#19 0x000000080e38ed60 in ?? ()
#20 0x0000000803c07400 in ?? ()
#21 0x00000008017979f9 in ?? ()
#22 0x0000000000000000 in ?? ()
#23 0x0000000803c0b800 in ?? ()
#24 0x0000000803c0b808 in ?? ()
#25 0x0000000803510274 in ?? ()
#26 0x0000000000000000 in ?? ()
#27 0x0000000000000000 in ?? ()
#28 0x0000000000000000 in ?? ()
#29 0x0000000000000007 in ?? ()
#30 0x0000000000000000 in ?? ()
#31 0x0000000000000000 in ?? ()
Cannot access memory at address 0x7fffff8fb000
(gdb)