apt-get dist-upgrade должно помочь
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
// Library script "lib1"
function collect() {
// collect data and return as array of records
}
// transformation script on the DCI or source script:
records = lib1::collect();
return records[0]; // add logic here
// for tables:
records = lib1::collect();
t = Table(); // or use $1 if it's transformation script
t->addColumn("col1"); // required only when creating table from scratch
t->addColumn("col2");
for (r : records) { // add logic here
row = t->addRow();
t->set(row, 0, r[0]);
t->set(row, 1, r[1]);
}
// GetDCIValue() and GetDCIValueByDescription() might be usefull (see https://www.netxms.org/documentation/nxsl-latest/#_data_collection)
t = GetDCIValueByName($node, "My.Table.DCI"); // result will be either String or Table object
return t->findRowByInstance("peer1")->get("col1"); // you can use either column names or indexes in get()
(nx-stable) ➜ netxms-stable git:(stable-3.8) nxagentd -h
Usage: nxagentd [options]
Where valid options are:
...
-T : Reset agent identity
...
Action=Agent.ResetID=C:\NetXMS\bin\nxagentd -T
2020.12.14 12:34:48.558 *I* [ ] Data directory: /opt/netxms/stable/var/lib/netxmsExternalParameter=RegQuery:reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /f NetXMSSessionAgent /t REG_SZ /v /e
ExternalList=RegQuery:reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /sAction=RegQuery:reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /s