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

#2101
пример 1:

return $node->name like "*SRV*";


или без учета регистра:

return $node->name ilike "*SRV*";


пример 2:

value = AgentReadParameter($node, "System.Uptime");
return (value != null) && (value > 0);


либо если такой параметр собирается как DCI:

value = GetDCIValueByName($node, "System.Uptime");
return (value != null) && (value > 0);

#2102
попробуйте включить опцию "make columns equal width" в свойствах дашборда.
#2103
Например

2017-04-30T02:52:04.748266+00:00 netxms netxmsd[18272]: Error compiling library script Hook::StatusPoll (ID: 11): Error in line 1: Invalid character '\' (0x5C)

означает что в библиотеке скриптов (Configuration -> Script Library) есть скрипт с именем Hook::StatusPoll и он не компилируется. Похоже на баг в инициализации базы, но хотелось бы посмотреть что попало в текст скрипта. Да, и какая база используется?
#2104
Можно написать nxshell скрипт (это python с доступом к NetXMS API - https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations).

С портами можно сделать configuration poll hook скрипт, который будет проверять интерфейсы и выставлять unmanage либо expected state = ignore для всех портов кроме 25 и 26.
#2105
Hi,

it's already done for performance tab, we will implement same logic for other tab types (https://track.radensolutions.com/issue/NX-1251).

Best regards,
Victor
#2106
General Support / Re: Auto unbind
May 15, 2017, 11:04:43 PM
You can create scheduled task that will iterate through nodes in given container and call UnbindObject as needed.

Best regards,
Victor
#2107
Hi,

check that your user has access right "all alarm categories" (either directly or via group).

Best regards,
Victor
#2108
Hi,

it's hard to tell anything without more detailed diagnostic. Packet capture of SNMP packets to problematic node may help.

Best regards,
Victor
#2109
Hi,

how did you open it?

Best regards,
Victor
#2110
Hi!

1. Server can read ARP cache and routing table from agent and use it for passive network discovery. Active network discovery through agent is not supported.

2. Discovery itself (and filtering) occurs on server, agents just provide ARP and routing information.

3. No, discovery polls only run on schedule.

4. Depends on where you have information about those nodes and in what format. It could be easier to write simple nxshell script that will read information from external source and create nodes in the system.

Best regards,
Victor
#2111
Hi,

could you please show screenshot of trap and trap mapping configuration (with all sensitive information masked, I only interested in configuration and actual OIDs in the trap)?

Best regards,
Victor
#2112
Hi,

DataCollectionObject is a base class for DataCollectionItem and DataCollectionTable. You should create new DataCollectionItem object and pass it to createItem. Pass 0 is ID for new DCI.

Best regards,
Victor
#2113
Hi,

could you please run netxmsd under debugger and post a backtrace (https://wiki.netxms.org/wiki/Running_NetXMS_under_debugger)?

Best regards,
Victor
#2114
General Support / Re: agent-to-server connections
May 12, 2017, 07:15:36 PM
Hi,

it's strange that 0.0.0.0 is not working - it did on my system. Are you sure that after you set system IP server uses tunnel istead of direct connection? Also, in 2.1-RC1 that just released we have added tunnel manager in the GUI, so you can see active tunnels and bind/unbind them from UI.

Best regards,
Victor
#2115
Announcements / NetXMS 2.1-RC1 released
May 12, 2017, 06:35:56 PM
Hi all!

NetXMS version 2.1-RC1 is released. It is release candidate, and if there will be no big issues, next release will be officially declared stable.

Changes since previous release:

- External tables in agent
- Script source for table DCIs
- Driver for IgniteNet devices
- Network device database (allows some device specific information to be provided without drivers)
- Server certificate's key can be stored in separate file
- Multiple CA certificates can be specified in server configuration file
- Number of samples can be configured for table thresholds
- Null value can be used as "no change" option in auto bind scripts
- Grafana integration
- Management console:
        - Node's zone name shown in alarm browser and object overview when zoning is enabled
        - Sorting option in table based charts on dashboards (to implement "Top N" style charts)
        - Full text object search
        - Agent tunnel manager view
- Fixed issues: NX-386, NX-1127, NX-1128, NX-1210, NX-1211, NX-1222, NX-1231, NX-1239, NX-1240, NX-1242

Best regards,
Victor