News:

We really need your input in this questionnaire

Main Menu

Recent posts

#1
Announcements / Re: NetXMS 5.0 released
Last post by Alex Kirhenshtein - Today at 12:13:40 AM
5.0.2 in published
#2
Announcements / Re: NetXMS 5.0 released
Last post by Alex Kirhenshtein - Today at 12:12:13 AM
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 installing
ref  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

Build for 24.04 is still on the way (there are some changes required and we were busy with other issues), but it will be available in next few days.
#3
General Support / Re: Bulk DCI removal
Last post by Alex Kirhenshtein - Today at 12:09:10 AM
They should've been removed when instance DCI was removed from the template. Also "nxdbmgr check" should handle that, if I remember correctly.

Anyway, you can delete them either via API (e.g. using nxshell or custom java app) or by modifying database directly. I'd recommend API.

Something like this (do not run as-is, just an example):
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()
#4
General Support / Bulk DCI removal
Last post by woodrivercontrols - May 07, 2024, 11:43:52 PM
I have somehow wound up with a large number of nodes (>1500) that have a DCI that was created by a template dci with instance discovery, but the instance discovery DCI is no longer part of the template. Because of this, if I want to remove these DCI (which I do), I have to go through every node and individually delete each one.
If I go to edit the DCI, I get the popup that says 'This DCI was created through instance discovery' , but there is no instance discovery DCI left on the node.
I am at a loss, it seems there is no way to automate deleting a DCI through API or scripting, and I really don't want to pay someone to go through all of these nodes and sort out which DCI need to be deleted.
Is there a way to bulk delete DCI that I am missing?
#5
Announcements / Re: NetXMS 5.0 released
Last post by lpolstor - May 07, 2024, 07:22:30 PM
Trying to install Netxms 5.0.1 on Ubuntu 24.04 Server, had some troubles installing
ref  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
#6
Announcements / Re: NetXMS 5.0 released
Last post by Victor Kirhenshtein - May 07, 2024, 06:32:25 PM
Update: I just checked, and seems that there is another bug with same conversion (of instance filter scripts), that may lead to script corruption. We are currently building version 5.0.2 with the fix in upgrade procedure. If possible, restore database from backup and run upgrade again with version 5.0.2. Alternatively, restore only content of column "instd_filter" in table "items", and do script conversion manually where needed.

Best regards,
Victor
#7
Announcements / Re: NetXMS 5.0 released
Last post by Victor Kirhenshtein - May 07, 2024, 06:10:48 PM
Hi!
This is instance filter script, number in script name is DCI ID. Please find this DCI and show the script.
Best regards,
Victor
#8
Announcements / Re: NetXMS 5.0 released
Last post by Egert143 - May 07, 2024, 04:09:04 PM
Why do most data collection entries appear as yellow after upgrade, but they are still collecting metrics?

and i see error "Script(DCI::NODE-NAME::177748::InstanceFilter) execution error: Error in line 1: sytnax error, unexpected '?', expecting $end" Where can i find the script that is generating this error ?

update was done directly to 5.0.1.
#9
General Support / networkmaps backgroundimge dis...
Last post by gkaudewitz - May 07, 2024, 03:22:25 PM
At my installation I'm using a networkmap for every floor with a jpg or png image as background and some other informations. These images are of different sizes. Til now it worked fine getting the image from image-library and it was displayed perfectly.
With version 5.0.1 mapsize within map properties has to be changed from width=0 and height=0 to a value that fits imagesize to be displayed correctly.
Is this a bug or intended behavior?
If this is intended behavior I have to change the values for many, many maps....
#10
General Support / Legacy - macOS (Apple Silicon)...
Last post by Maddog - May 07, 2024, 03:00:25 PM
Hi. Version 5.0.1 for macOS (Apple Silicon) is not available. Error 404 on download.