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 - Alex Kirhenshtein

#1
Announcements / Re: NetXMS 5.0 released
Today at 12:13:40 AM
5.0.2 in published
#2
Announcements / Re: NetXMS 5.0 released
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
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 / Re: Signing Key
May 02, 2024, 05:56:39 PM
Hi

It's already renewed and uploaded a while ago.

I highly recommend to use netxms-release package, which update keys automatically.

Key locations:
https://packages.netxms.org/netxms-keyring.gpg -- binary keyring
https://packages.netxms.org/netxms.gpg -- armoured key

Also it's available from key servers.

Make sure that key is not imported into trusted keys (e.g. using apt-key), but is stored in separate key store, as recommended in recent Debian/Ubuntu.
#5
Driver is unrelated to templates, it's a loadable server extension which provide vendor (or device) specific information which is either not available via common SNMP OIDs, or not available via SNMP at all (like physical ports layout on the switch).
GENERIC is a default driver for all devices which works in standard way. In ideal world it would be the only driver in the system.

You can check sources here: https://github.com/netxms/netxms/tree/master/src/server/drivers.
#6
Пока никак, это требует небольшого изменения в коде драйвера.
#7
Please show output of "lsb_release -a" from that system
#8
Quote from: lukexjin on April 03, 2024, 11:27:50 AMNetxms client show me a tip:only 4096 most recent alarms shown
how to config this alarsm threshold?
or how to clear  the alarms I  don't care about
bro


right click -> terminate
#9
Наложите вот такой патч:

diff -ur netxms-4.5.4.orig/src/ncdrivers/smtp/smtp.cpp netxms-4.5.4/src/ncdrivers/smtp/smtp.cpp
--- netxms-4.5.4.orig/src/ncdrivers/smtp/smtp.cpp      2024-03-07 10:27:02.000000000 +0000
+++ netxms-4.5.4/src/ncdrivers/smtp/smtp.cpp    2024-03-11 10:50:15.852157003 +0000
@@ -124,10 +124,6 @@
    {
      driver->m_authMetod = CURLAUTH_NTLM;
    }
-  else if (!_tcscmp(authMethod, _T("negotiate")))
-  {
-      driver->m_authMetod = CURLAUTH_NEGOTIATE;
-  }

    if (driver->m_port == 0)
    {
#10
General Support / Re: LDAP sync error
February 26, 2024, 11:47:04 AM
What kind of error you got?

Also check with ldapsearch:

ldapsearch \
    -x \
    -H "ldaps://devfg.rbc.com:3268/" \
    -D "..." \
    -w "..." \
    -b "..." \
    "(objectClass=user)"
#11
Check access rights for the user / group and make sure that "Edit server configuration variables" is enabled.
Since you are using "admin" user, it inherits access right from group "Admins" (in default configuration).
This permission is enabled by default, but maybe someone removed it for some reason.
#12
Попробуйте сейчас
#13
Announcements / Re: NetXMS 4.5 patch release 1
January 31, 2024, 05:23:19 PM
No, it's just a website issue -- it was rolled back to previous build by accident. It will be updated shortly.

UPDATE: it's back
#14
Make sure that either InstantClient or full Oracle client is installed and available in libpath.
#15
Install package "netxms-dbdrv-mariadb", then change DBDriver parameter in netxmsd.conf "mariadb" from "mysql"