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 - Filipp Sudanov

#916
can you show snmpwalk for the following OIDs:

.1.3.6.1.2.1.4.20

.1.3.6.1.2.1.4.34

.1.3.6.1.2.1.4.32
#917
Hi!

It's a recent bug, a patch release is coming in next few days with a fix for that. The bug is on the server side, so after upgrading the server it should start working normally.
#918
On my system
SELECT * FROM timescaledb_information.hypertable;
shows the following:

table_schema |         table_name          | table_owner | num_dimensions | num_chunks | table_size | index_size | toast_size | total_size
--------------+-----------------------------+-------------+----------------+------------+------------+------------+------------+------------
public       | idata_sc_30                 | netxms      |              2 |         22 | 2304 kB    | 1056 kB    | 176 kB     | 3536 kB
public       | idata_sc_default            | netxms      |              2 |       1398 | 238 MB     | 110 MB     | 11 MB      | 359 MB
public       | idata_sc_90                 | netxms      |              2 |          0 |            |            |            |
public       | idata_sc_180                | netxms      |              2 |          0 |            |            |            |
public       | tdata_sc_default            | netxms      |              2 |         15 | 228 MB     | 528 kB     | 120 kB     | 228 MB
public       | tdata_sc_7                  | netxms      |              2 |          0 |            |            |            |
public       | tdata_sc_30                 | netxms      |              2 |          0 |            |            |            |
public       | tdata_sc_90                 | netxms      |              2 |          0 |            |            |            |
public       | tdata_sc_180                | netxms      |              2 |          0 |            |            |            |
public       | snmp_trap_log               | netxms      |              1 |          0 |            |            |            |
public       | idata_sc_other              | netxms      |              2 |          0 |            |            |            |
public       | tdata_sc_other              | netxms      |              2 |          0 |            |            |            |
public       | event_log                   | netxms      |              1 |         17 | 4584 kB    | 1304 kB    | 136 kB     | 6024 kB
public       | win_event_log               | netxms      |              1 |          0 |            |            |            |
public       | server_action_execution_log | netxms      |              1 |         14 | 168 kB     | 672 kB     | 112 kB     | 952 kB
public       | notification_log            | netxms      |              1 |         13 | 104 kB     | 624 kB     | 104 kB     | 832 kB
public       | syslog                      | netxms      |              1 |          0 |            |            |            |
public       | idata_sc_7                  | netxms      |              2 |         12 | 96 kB      | 384 kB     | 96 kB      | 576 kB
(18 rows)


idata and tdata (7, 30, 90, 180, default) tables should be there. You mentioned that there's no tables there on your system, that probably means that something went wrong when initializing the database.

I'd probably create a new database, initialize it and check that above tables are there.
After database creation you may need to execute that query to initialize timescale:
CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;
and then run nxdbmgr init.

Once you have new database you can use
nxdbmgr migrate
to copy from old database to the new one. You can omit collected data and logs by adding e.g. these keys:
-s -Z alarm -Z audit -Z event -Z snmptrap -Z syslog -Z winevent
(run nxdbmgr -h to see full list of keys).

This should happen fairly fast and after that you can start netxms. You will have all configuration in place, but no historical data and logs.
Then it depends on whether you need the historic data and logs. You can copy these in the background while netxms is running.

nxdbmgr does not currently support an option to select time range. If you need to copy part of your data, you either need to use some other tool, or you can try delete data older then some timestamp and then copy data.




#919
General Support / Re: Dashboards and templates
September 18, 2021, 12:25:45 AM
Can you give some details on what do you expect on these dashboards / what are the dashboards on these NMSes? Are they per-node dashboards, or they are system-wide dashboards? Do they show some data for all nodes?
#920
In context menu of that node you can select "Execute server script" and try your script there; The node that you right-clicked will be available as $node, so all the attributes will be there.
You can do
println $node->snmpOID;

to see what's actually in there.

Match operation ~= looks to be correct, but you could just use simple comparison with == , then you'd not need to escape with backslashes.
In out-of-the-box templates there's e.g. SNMP->UPS->APC that has automatic apply rule that is checking some SNMP data.

The other debugging approach is to use
PollerTrace("your text");
or
trace(0, "your text");
First one will produce debug output in nxmc when you do Poll-> Configuration poll from node context menu.
Second will put debug to server log (at debug level 0 in this example)
#921
General Support / Re: Dashboards and templates
September 17, 2021, 12:04:32 AM
A dashboard is typically something that displays data about some business-critical things - e.g. condition of all web servers, etc. So generally there are not many dashboards and it's hard to automate their creation, so yes, dashboards are created manyally (also some tweaks are possible, e.g. export dashboard's .xml, modifying it and importing back).

But dashboards are not the only way to see data in NetXMS. You can open last values for any node, you set up summary tables - in that a table with multiple predefined columns is displays for all nodes added to a specific container (that's folder of nodes, one node can be present in multiple containers). From last values you can easily open graph and history for each metric. And there's performance tab that allows to display graphs for one node - it's configuration is coming from templates, so e.g. for web servers you could have additional template that's collecting nginx metrics, these metrics could have checkbox "display in performance tab".
#922
General Support / Re: Customizing Port View
September 15, 2021, 12:33:55 PM
Currently not possible, created issue for that: https://track.radensolutions.com/issue/NX-2120
There's no exact time when this could be implemented, but eventually it should get done.
#923
Общие вопросы / Re: SNMP и UFT-8
September 15, 2021, 12:29:45 PM
Похоже, что этот принтер отдает в UTF-8. На windows поскольку мы берем кодировку из control panel, а там нет варианта utf-8, то там пока никак. Или перебираться на линукс, или через какое-то время будет или поддержка кодировки в свойствах ноды, или NXSL функции для перекодировки (тогда их можно будет в transformation script использовать).
#924
А какой тип элемента добавляете на dashboard?
#925
Общие вопросы / Re: SNMP и UFT-8
September 14, 2021, 06:59:53 PM
А что в Control Panel -> Regional settings -> Language for non-unicode programs?
#926
What's exactly version of Netxms? What version of Postgres and Timescale addon? Is Timescale addon actually installed?

If you connect to your Postgres database, what's the output of:

\d+ tdata_sc_default;



#927
General Support / Re: What I need to send mails??
September 14, 2021, 06:51:21 PM
Email sending is configured in Configuration->Server configuration. Look for parameters that start from SMTP.

Netxms currently works only with SMTP servers that do not require encryption.
You can use email relay software, e.g. http://emailrelay.sourceforge.net/ for Windows. For linux it could be e.g. postfix.

#928
General Support / Re: SMTP Setup
September 14, 2021, 06:47:59 PM
Netxms currently works only with SMTP servers that do not require encryption. You can use email relay software, e.g. http://emailrelay.sourceforge.net/ for Windows. For linux it could be e.g. postfix.
#929
General Support / Re: Debian bullseye release
September 14, 2021, 06:38:42 PM
Packages for bullseye should be available now.
#930
This was fixed in development branch today, fix will be included in next patch release.