Quote from: Filipp Sudanov on May 03, 2024, 12:10:56 PMCurrently you can have "Unbound stuff" container somewhere with this auto-bind script, it will pick objects that are not present in any other containers:Thanks Filipp.
for(p : $object.parents) {
println(classof(p));
if ((classof(p) == "Container") and p.id != $container.id) return false;
}
return true;
Quote from: lpolstor on May 07, 2024, 07:22:30 PMTrying to install Netxms 5.0.1 on Ubuntu 24.04 Server, had some troubles installingref Installation — NetXMS Administrator Guide (4.4.3) ... ( I assum 5.0.1 version is on it's way..)[color=#404040][size=2][font=SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace]wget http://packages.netxms.org/netxms-release-latest.deb
sudo dpkg -i netxms-release-latest.deb
sudo apt-get update[/font][/size][/color]
but when I tried to install netxms-server I got the following list when I tabbed at the end of the prompt:root@testhost:~# apt-get install netxms-
netxms-agent netxms-base netxms-dbdrv-sqlite3 netxms-release
Checked Index of /ubuntu/pool/noble/main/ (netxms.org) and it contains less directories as the same for Jammy, example Index of /ubuntu/pool/jammy/main/n/ (netxms.org) has netxms and all the useful deb packages, however the noble one does not.
Regards
Lars Petter
for node in [o for o in session.allObjects if isinstance(o, objects.Node)]:
c = session.openDataCollectionConfiguration()
try:
items_to_remove = []
for item in c.items:
if item.name == 'System.CPU.Usage':
items_to_remove.append(item.id)
for item_id in items_to_remove:
c.deleteObject(item_id)
if len(items_to_remove) > 0:
c.commit()
finally:
c.close()