News:

We really need your input in this questionnaire

Main Menu
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

Topics - hkusulja

#1
Hello,
we are using latest NetXMS on Debian, and using only Web console.
Is it possible to have Single Sign On enabled, and configured to work with Azure Active Directory (Microsoft Entra ID / Office 365) users? If so, can somebody share configuration steps?
This is not LDAP authentication nor RADIUS.
As I understand it should be under
> Central Authentication Service (CAS) single sign-on is supported in web interface only.
User management — NetXMS Administrator Guide (4.2.433)
 but i do not see way to enter URLs, application id, secret etc., for newly created Azure AD Application Registration

Thank you for your support and great product.
#2
After upgrading to 3.0.0 we started regularly receiving the following errors in the nxagentd log:


[db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '4454-SQL Server 2012 Client Tools-11.2.5058.0' for key 'PRIMARY'
[db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '5956-SQL Server 2008 R2 SP1 Common Files-10.51.2500.0' for key 'PRIMARY'
[db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '6002-SQL Server 2008 R2 SP2 Common Files-10.52.4000.0' for key 'PRIMARY'
[db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '6014-Microsoft SQL Server 2008 Analysis Services-10.4.6000.29' for key 'PRIMARY'
[db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '6016-Microsoft SQL Server 2008 R2 Setup (English)-10.53.6000.34' for key 'PRIMARY'
[db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '6024-SQL Server 2008 R2 SP1 Common Files-10.51.2500.0' for key 'PRIMARY'
[db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '6340-SQL Server 2012 Common Files-11.0.2100.60' for key 'PRIMARY'
[db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '6783-SQL Server 2012 Common Files-11.3.6020.0' for key 'PRIMARY'
[db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '7049-Azure AD Authentication Connected Service-14.0.23107' for key 'PRIMARY'


The exact same nine errors repeat themselves every minute, in the same order.
How can we rectify this? We're ignoring the errors for now since there doesn't seem to be any negative effect from them, other than filling up the logs.
#3
General Support / NetXMS Debian buster packages?
July 17, 2019, 04:16:23 PM
Any info on when we might expect NetXMS Debian buster packages?

Thank you
#4
Ability to have multiple nodes with same public IP, but pooling using different ports (SNMP...).
Currently this causes node save IP conflict error.
#5
Hi,
I am running latest stable NetXMS 2.x.
I have few locations/clients, with one public IP, and in local area network there are only local routers and switches, without local server where I can place NetXMS agent.
I want to SNMP pool all local switches and routers using one public IP, but using different SNMP port (I have configured NAT and port forwarding).

The problem is that NetXMS says that I have IP conflict.

What is solution, without new feature requests? :)

Thank you
#6
General Support / Missing latest Debian packages ?
June 29, 2015, 01:44:36 PM
Regarding to: https://www.netxms.org/forum/announcements/new-debian-repository/

The latest Debian packages are missing. any news about this ?
#7
Hi,
I have configured monitoring Windows Event Logs, I do log message description (%m).

However, my NetXMS server started throwing events SYS_DB_QUERY_FAILED [52]
Example of  Event Message:


Database query failed (Query: INSERT INTO alarm_events (alarm_id,event_id,event_code,event_name,severity,source_object_id,event_timestamp,message) VALUES (?,?,?,?,?,?,?,?); Error: [Microsoft][SQL Server Native Client 10.0][SQL Server]Violation of PRIMARY KEY constraint 'PK__alarm_ev__E6249E6BFEDA1E4D'. Cannot insert duplicate key in object 'dbo.alarm_events'. The duplicate key value is (1704, 64513).)
AlarmText: Database query failed (Query: INSERT INTO alarm_events (alarm_id,event_id,event_code,event_name,severity,source_object_id,event_timestamp,message) VALUES (?,?,?,?,?,?,?,?); Error: [Microsoft][SQL Server Native Client 10.0][SQL Server]Violation of PRIMARY KEY constraint 'PK__alarm_ev__E6249E6BFEDA1E4D'. Cannot insert duplicate key in object 'dbo.alarm_events'. The duplicate key value is (1704, 64513).) Custom message:
UserTag:


I believe that is due to my initial error message which has ' sign. So this is SQL injection to NetXMS alarm_events table.

So this is a huge bug and big security risk for all NetXMS users.
I belive this should be fixed ASAP.

Also, please correct me if I am wrong...
#8
Hi,
sometimes we have routers that have configured public ip with /32, this is for a reason (VRRP for example), and in that case, NetXMS reports new Event - SYS_INCORRECT_NETMASK - "Invalid network mask 255.255.255.255 on interface eth1" should be ....". This is wrong in our case and I want to turn this check off completely.

I have disabled Event processing policy to stop creating alerts.

However, is there a way to disable such NetXMS-integrated event to stop showing in Event Monitor at all ?

Thank you
#9
Hi,
i have configured simple windows event logging using NetXMS agent nad XML file:


<parser>
<file>*Application</file>
  <rules>
    <rule>
      <level>1</level>
      <match>(.*)</match>
      <event params="1">100002</event>
    </rule>
</parser>


In my Event in Event Template, with message: %1

After I do have some Alarms generation in Event Processing Policy with message %m , etc.

Question is, how can I get more data from Windows Event Log - I am missing "Source" and "Event ID" from Event Log.
Which parameter it is (I have tried %2 and %3 in my Event template but does not work), so how to pull this info into the NetXMS server also?

Thank you
#10
Hi,
when I do create a new network service on a node, that is service type: HTTP or HTTPS, for intance:
Request: HOST_HEADER:http://www.example.com
Response: ^HTTP/1\.[01] 200.*Example.*

Sometimes it works, sometimes it does not.

Is there a way to find-out output which NetXMS Agent has gathered ? So I can troubleshoot in more detail why it does not work ?

Also, when I do create a DCI, is it possible to measure response time (in miliseconds) for a response ?

Thank you
#11
Hi,
I figured out that I can use DCI for monitoring filesystems with NetXMS agent for instance: FileSystem.UsedPerc({instance})
There is {instance} parameter and this will create for each filesystem it founds, its own DCI on node, and this is fine.

I am trying to achieve the same effect but with different Origin - WMI - Windows Performance Counters.
For instance:
\PhysicalDisk(C:)\Disk Reads/sec
\PhysicalDisk(D:)\Disk Reads/sec

i have tried to put \PhysicalDisk({instance})\Disk Reads/sec but it does not work.

Is this NetXMS limitation, that it does not support {instance} / reading WMI as a table, or I am doing something wrong ?
I need this feature for multiple stuff (disk space, disk io, network interfaces etc.) some stuff I can do with NetXMS agent Origin, but there is more stuff in WMI that I need which are missing in Agent.

Please advise.

Thank you
#12
Hi,
I do have some Templates with DCIs that I wish to monitor on some nodes that has NetXMS agent installed.
I have simple script that will automatically apply templates to nodes who has NetXMS Agent installed, my current script inside Template - Automatic Apply Rules is:

sub main() {
return $node->isAgent;
}

This script works and solves the problem.

However, I can not find proper documentation for $node object and its attributes / methods.
I need to write different script for my different template which will check if $node - platform name, contains string "windows" then to automatically apply different template.

Please help me with simple if expression, contains (or RegExp) and how to get platform name from $node object ?

Thank you
#13
Hi,
I have configured Template with DCI: NetXMS Agent, to monitor FileSystem.UsedPerc({instance})

This will create on each node monitoring of Used disk space on file system for every single drive it founds.

However I need to write some script / somewhere to ignore some filesystems, for example, on Windows this is (if instance name contains A: or B: ) because I do not want to monitor floppy disks.

Any suggestions, where to write this script / rule and what is syntax ?

Thank you
#14
Hi,
I have configured NetXMS server Event Processing Policy, to send me email alerts.

However, when node (which is network switch), for goes down, i got lot of events which generates alarms and also send lot of email alerts for each network interface on this switch.
So i get total of emails: 48 ports + each DCI + 1 for node down alert.

How to create a dependency or something to get this email alerts smaller, if node is down then not to alert me for interface status and DCI at all.

Please be aware that I do not want to disable interface monitoring (for instance if network switch is working and just one interface goes down, i still want to have email).

I suppose this should be solved on Event Processing Policy, but I do not have idea in which direction should I write those rules, any suggestions ?

Thank you
#15
Hi,
I use great NetXMS to monitor lot of Windows Server nodes, but only on one I have constantly a new alert generated (few times a day) :

Node capabilities changed (Old: 0x090C0002; New: 0x09040002)

Can somebody explain in more detail what were old and what are new capabilities, so I will try to figure out what is causing it, and stop necessary alerting.
(I do not want to turn of this alerting, just to solve problem causing it)

Thank you
#16
NetXMS Agent service, which is configured as a Proxy, should be able to receive SNMP traps, and Syslog messages from local network and relay them / proxy them to the NetXMS server.

I hope this will be implemented.
#17
General Support / NetXMS Agent use of UDP ports?
April 29, 2014, 04:26:07 PM
Hi,
as I saw documentation, it always says that NetXMS Agent uses by default port 4700, TCP and UDP.
As I see on my linux and windows servers, running NetXMS agent daemon only TCP is used.

For which purpose / when Agent uses/listens on incoming UDP 4700?

Thank you
#18
Hi,
I have few cases, where I do not have public static IP, only dynamic IP and I use dyndns.org to resolve to current correct IP address.
I use latest (1.2.13) server and console version.

I have added my node by using hostname, and my agent works, however after 24 hours / change of IP, it seems that netxms wrote previous IP to DB and now it uses only this / old IP. (Even on General communication, primary hostname is displayed correctly). Of course I do have low DNS A record TTL and other services works fine, so it's only netxms server problem. On node - object details , primary host name is fine, but primary IP address is an old one.

I found it in Unsorted Features List - http://wiki.netxms.org/wiki/Unsorted_Features_List
QuoteNetXMS can use DNS name as primary communication address. In that case, change in IP address will be reported via special event. Useful for monitoring machines with dynamic IP.

But I am not sure, how to achieve that netxms server does DNS resolution of node each time when pooling ?

edit:
when I manually Pull Configuration from node, it gets rediscovered and primary ip address changes, and then it works (although expected interface status are reset since they changed from unknown ethehrnet to correct list, is this expected behavior ? :/)
#19
Hi,
as I understand, netxms server, connects to the netxms agent on both TCP and UDP 4700 (default.)

However, is there a way, that agent connects to the server (instead oposite) and delivers the desired data?

I have few situations, where my monitored nodes are behind NAT and I can not do port forwarding. Only option is that agent delivers periodicaly (pools) data to the server, and if for some times agent does not report data to the server, we can mark node as down.

Is this feature supported and if so, how to configure it ?
#20
When will documentation be updated (mainly admin and database, but also a user one) ?
Lots of things are missing there, and its clearly unfinished and out-dated.

https://www.netxms.org/documentation/

Any plans to continue working on docs ?