News:

We really need your input in this questionnaire

Main Menu
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

#2596
Maybe using script DCIs will be better solution in your case. You can create script in a library which will be called by data collector, and that script will have access to all attributes of a node and can read appropriate data from agent or SNMP using AgentReadParameter or SNMPGetValue functions.

Best regards,
Victor
#2597
General Support / Re: dashboard
April 21, 2016, 04:36:52 PM
Hi,

no, currently it's not possible.

Best regards,
Victor
#2598
General Support / Re: Network switch SNMP acting up
April 21, 2016, 04:36:25 PM
Hi,

could you please provide results of SNMP walk on OID .1.3.6.1.2.1.2.2.1 for that switch?

Best regards,
Victor
#2599
There is section in manual on log monitoring (including Windows Event Log): https://www.netxms.org/documentation/adminguide/common-tasks.html#log-monitoring

Best regards,
Victor
#2600
Hi,

you cannot add another placeholder, but you can concatenate anything you need into {instance-name} in filter script. For example, to add prefix "instance" to every instance name return from script as following:

return %(true, $1, "instance: " . $1);

first element is acceptance indicator, second is instance ({instance} will be replaced by it), third is instance name. There should be examples on the forum for filtering scripts used to return meaningful interface names in {instance-name}.

Best regards,
Victor

#2601
General Support / Re: Deleting files script
April 21, 2016, 04:28:56 PM
Hi,

yes, you can define action in agent (using Action or ActionShellExec entries in nxagentd.conf) and then define object tool to run it manually or server side action of type "execute action on remote agent" to run it automatically from event processing policy.

Best regards,
Victor
#2602
Hi,

it seems that actual problem was cache load without locking: CacheLoadingThread calls updateDciCache on every node, which in turn calls updateCacheSize on every DCI, and there was no lock on DCI level inside, so any access to DCI at that moment may cause unpredictable results. And because you have NXSL scripts accessing DCI data running at same moment as well as templates removal it happens. I've changed cache loading to use proper locks on DCIs, that should solve this issue (changes already pushed to develop and stable-2.0 branches).
Btw, you could avoid template unbinding on startup by checking return value of GetDCIValue function for being null aborting auto-apply script (using abort statement) - system will make no change in current binding status if script completes with runtime error.

Best regards,
Victor
#2603
General Support / Re: MIB Browser problem
April 19, 2016, 06:08:34 PM
It should be C:\NetXMS\var\netxms.mib

Best regards,
Victor
#2604
Hi,

it's actually a bug, diff definitely should be treated as signed value. I'll register it in our issue tracker.

Best regards,
Victor
#2605
General Support / Re: Windows updates
April 19, 2016, 04:34:43 PM
Hi,

it's time of last system update detection, download, and installation as UNIX time (seconds since epoch).

Best regards,
Victor
#2606
Hi,

what direction you need to transform? From UNIX timestamp to textual representation or vice versa?

Best regards,
Victor
#2607
General Support / Re: MIB Browser problem
April 19, 2016, 04:32:41 PM
Hi,

did you put compiled MIB file into correct location? Also, console synchronize MIB file only on startup, so you need to re-login after updating it.

Best regards,
Victor
#2608
Hi,

try to use ActionShellExec instead of Action in nxagentd.conf.

Best regards,
Victor
#2609
Конкретно с btrfs это точно не связано, ну и судя по тому что в таблице данные показываются, все системные вызовы также работают как надо. Я правильно понял что данные не возвращаются только если запрашивать их через nxget?
#2610
Добавил сборку web интерфейса в тот-же каталог.