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 - Victor Kirhenshtein

#3106
Cacti насколько я помню не интерпретирует полученные OID'ы, просто берет хвост после базового для индексации. В NetXMS instance discovery скажем тоже будет работать. Проблема именно в создании объектов интерфейсов - там сервер рассчитывает на стандартный MIB. Решить это можно только добавлением поддержки таких устройств в ядро (т.е. сделать помимо/вместо индекса некое новое свойство интерфейса - суффих в ifMIB, или сделать поддержку составных индексов). А что это за производитель и устройства? В их поддержку нельзя обратится на тему ошибки в реализации стандартного миба?
#3107
Для %I:

$node->id


для %i:

"0x" . right(d2x($node->id), 8, "0")

#3108
Hi,

currently there is no way to send SMS from device behind proxy agent - all drivers requires direct connection from NetXMS server. Easier way I can suggest is that I can add proxy agent support to nxagent SMS driver (which sends SMS through NetXMS agent on machine with connected GSM phone/modem). Then you'll be able to install Raspberry Pi with GSM phone or modem connected via USB and send SMS via agent on it.

Best regards,
Victor
#3109
Hi,

you can use script for threshold checking.

Best regards,
Victor
#3110
Это может быть связано с тем, что какие-то файлы из инсталляции агента заблокированы на запись. Наиболее вероятно - nxagentd.exe, поскольку в нем содержатся сообщения для event log'а, и если в момент обновления открыт скажем Event Log, то nxagentd.exe будет заблокирован от записи.
#3111
Из серверного скрипта (NXSL) этого сделать нельзя. Можно через nxshell, он предоставляет доступ к полному клиентскому API. Описание nxshell: https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations.
#3112
Can you please set debug level to at least 2, reset system again, and check agent's log for message like

LogWatch: reading old events between ... and ...

and possibly also like this:

LogWatch: EvtQuery failed (...)

and post those lines and timestamp of "unexpected shutdown" event.

Best regards,
Victor
#3113
If you build server from sources, you can try replace files src/server/include/nms_dcoll.h and src/server/core/nxsl_classes.cpp with attached and recompile the server. Other than that, there are no workarounds.

Best regards,
Victor
#3114
Yes, comments attribute was missing in DCI class. I've added it, will be available in 2.0-M5.

Best regards,
Victor
#3115
Just fixed this. If quick fix is needed, just replace file src/server/core/beacon.cpp with attached one and recompile server.

Best regards,
Victor
#3116
Only topology events are correlated - data collection events can be originated elsewhere (from script DCI for example) and may or may not be affected by network connectivity.

Best regards,
Victor
#3117
Hi,

yes, there was a bug in WINPERF subagent. I just fixed it. Fix will be included in 2.0-M5. Also, attached is winperf.nsm for 2.0-M4 x64 with a fix.

Best regards,
Victor
#3118
Announcements / Re: NetXMS 2.0-M4 released
April 30, 2015, 12:39:47 PM
Hi,

I've fixed VPN connector issue. 2.0-M5 will contain this fix.

Best regards,
Victor
#3119
General Support / Re: Release
April 30, 2015, 12:38:21 PM
Hi,

most likely near end of June.

Best regards,
Victor
#3120
As it turns out event ID and root cause event ID are not shown in event log. I've fixed it for next release, but currently you can check server log for message like

CorrelateEvent: event SYS_NODE_DOWN id ...

followed by

CorrelateEvent: finished, rootId=...

Number after rootId= will be ID of root cause event. You can find it either in server log or select directly from database by running SQL

SELECT * FROM event_log WHERE event_id=<id>

Best regards,
Victor