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 - stoffmann

#16
General Support / WebUI questions
July 02, 2021, 04:00:13 PM
Hello,

I have some WebUI on Windows Server(3.8.12) questions, maybe someone can answer me.
My goal is to display some Dashboards to the ""normal" users without allowing the to change anything.

1. Anonymous logon
I found this thread: https://www.netxms.org/forum/general-support/webui-anon-access/msg10101/#msg10101
but as it's pretty old I this this method is not working anymore, isn't it? I tried, but can't get it to work.
[UPDATE] I got this working with the following URL syntax: http://<SERVER>:<PORT>/nxmc-clarity?auto&server=<servers>&login=<user>&dashboard=<dashboard>

2. Hide WebUI elements
Is it possible to hide the menus and toolbars? I just want to show a dashboard

3. Accessrights
What accessrights are required for a dashboard to work?
I created a user for the WebUI and gave it Read and  Read Agent Data rights.
After loging on to the WebUI I can open the dashboard, but there are no values displayed

4. Use HTTPS on windows server? Is this possible?

Thanks for helping

Best regards

Stefan
#17
General Support / Reading a Windows registry key
March 08, 2021, 12:25:23 PM
Hello,

is it possible to read a Windows registry key from HKLM using the NetXMS Agent?
It looks like it should be possible: https://www.netxms.org/forum/feature-requests/windows-registry/msg6053/#msg6053

Best regards

Stefan
#18
General Support / Re: Microsoft Teams notification
February 22, 2021, 09:00:53 AM
It's working now. The webhook URL didn't copy paste correct.
The nxadm -c "debug ncd.msteams 6" pointed me in the right direction.

Thank You Alex
#19
That was it! The service is starting and I can connect to it now.
Now I have to find out ho to create reports.
The manual is not really helpful on this topic. Is there another source I coukd check?
#20
General Support / Microsoft Teams notification
February 19, 2021, 03:58:42 PM
Hi,

does someone have MS Teams notification working?
What I've done so far:
- Created Webhook URL in Teams
- Configured notification channel (Attachment 1)
- Configured action (Attachment 2)
- Configured Event Policy to run action

I also have a Powershell script for testing the webhook notification. With the Powershell script it works.
When I raise the configured event in NetXMS I get no notification.

Is there a logfile I can check if it does not? In the netxmsd.log there is only


2021.02.19 14:35:01.610 *I* [ncd.msteams        ] Microsoft Teams driver instantiated


Thanks

Stefan
#21
Thanks a lot!
Alarm Key was what I was missing. Afetr configuring the Alarm Key in EPP it works.

Best regards

Stefan
#22
Hi,

I have an event configured that is fired if a DB file drops below 10% free space. I a DB reaches this limit the event is fired multiple times until it's fixed. Why is NetXMS displaying the events one by one instead of only increasing the count? (Picture 1)
I have a similar event for monitoring crashing applications where this is working (Picture 2), but I found no difference in event configuration.

What am I missing?

Best regards

Stefan
#23
We are a big step further! The Java version was a good tip, because I never installed Java on the server. NetXMS Core was running without it, so I totally missed that. After installing Java 15 the reporting service is starting, but the NetXMS Console is unable to connect to the service for some reason.

I've found that there are some settings in NetXMS related to reporting which I changed to match our environment (see attached screeenshot)

I now also have a nxreportd.log file which shows the following:


07:58:21.889 [Main Thread] DEBUG org.netxms.reporting.Server - Initializing server instance
07:58:21.893 [Main Thread] INFO  org.netxms.reporting.Server - Properties file nxreportd.properties not found
07:58:22.008 [Main Thread] DEBUG org.netxms.reporting.Server - Starting server instance
07:58:22.008 [Main Thread] INFO  o.n.reporting.services.ReportManager - Deploying *.jar/*.zip in D:\Program Files\NetXMS\var\nxreportd\definitions
07:58:22.018 [Main Thread] INFO  org.netxms.reporting.Startup - Server instance initialized
07:58:22.018 [FileMonior] INFO  o.n.reporting.services.FileMonitor - File monitor started
07:59:28.561 [Main Thread] INFO  org.netxms.reporting.Startup - Server instance destroyed
07:59:28.563 [Network Listener] ERROR org.netxms.reporting.Server - Error accepting incoming connection
java.net.SocketException: Socket closed
at java.base/sun.nio.ch.NioSocketImpl.endAccept(NioSocketImpl.java:689)
at java.base/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:762)
at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:684)
at java.base/java.net.ServerSocket.platformImplAccept(ServerSocket.java:650)
at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:626)
at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:583)
at java.base/java.net.ServerSocket.accept(ServerSocket.java:540)
at org.netxms.reporting.Server$2.run(Server.java:151)
at java.base/java.lang.Thread.run(Thread.java:832)


It looks like the reporting server is refusing the connection for some reason. Is there some thing like a whitelist I have to configure?

And one additional question. Where can I find some example reports, or is there a manual on how to create reports?

Thanks a lot for Your help
#24
Hi,

now it looks different. After changing to Local System I now get:

Windows could not start the NetXMS Reporting Server service on Local Computer.
Error 1067: The process terminated unexpectedly.

On the log is only:

[2021-02-16 14:41:10] [info]  [ 9168] Apache Commons Daemon procrun (1.2.4.0 64-bit) started.
[2021-02-16 14:41:10] [info]  [ 9168] Running Service 'nxreportd'...
[2021-02-16 14:41:10] [info]  [ 1112] Starting service...


Any ideas?

Best regards

Stefan
#25
Let me know if there is more information required.
#26
Hi,

thanks for the fas reply. Please check the attached screenshots to see how I installed NetXMS, hardened permissions are enabled. I installed it to D:\Program Files\NetXMS, so I assume the logfiles should be there. I found a file named commons-daemon.2021-02-15.log which looks like the right one. Does this help?


[2021-02-15 08:57:57] [info]  [ 4068] Apache Commons Daemon procrun (1.2.4.0 64-bit) started.
[2021-02-15 08:57:57] [info]  [ 4068] Installing service 'nxreportd' name 'NetXMS Reporting Server'.
[2021-02-15 08:57:57] [error] [ 4068] The specified service already exists.
[2021-02-15 08:57:57] [error] [ 4068] Failed installing service 'nxreportd'.
[2021-02-15 08:57:57] [error] [ 4068] The specified service already exists.
[2021-02-15 08:57:57] [error] [ 4068] Apache Commons Daemon procrun failed with exit value: 8 (failed to install service).
[2021-02-15 08:57:57] [error] [ 4068] The specified service already exists.
[2021-02-15 08:57:57] [info]  [ 7524] Apache Commons Daemon procrun (1.2.4.0 64-bit) started.
[2021-02-15 08:57:57] [info]  [ 7524] Updating service...
[2021-02-15 08:57:57] [warn]  [ 7524] Failed to obtain service description
[2021-02-15 08:57:57] [info]  [ 7524] Updated service 'nxreportd'.
[2021-02-15 08:57:57] [info]  [ 7524] Finished updating service 'nxreportd'.
[2021-02-15 08:57:57] [info]  [ 7524] Apache Commons Daemon procrun finished.
[2021-02-15 08:57:57] [info]  [ 2120] Apache Commons Daemon procrun (1.2.4.0 64-bit) started.
[2021-02-15 08:57:57] [info]  [ 2120] Starting service 'nxreportd'...
[2021-02-15 08:57:57] [warn]  [ 2120] Failed to obtain service description
[2021-02-15 08:57:58] [error] [ 2120] apxServiceControl(): dwState(4) != dwCurrentState(1); dwWin32ExitCode = 0, dwWaitHint = 2000, dwServiceSpecificExitCode = 0
[2021-02-15 08:57:58] [error] [ 2120] Access is denied.
[2021-02-15 08:57:58] [error] [ 2120] apxServiceControl(): returning FALSE
[2021-02-15 08:57:58] [error] [ 2120] Access is denied.
[2021-02-15 08:57:58] [error] [ 2120] Failed to start service 'nxreportd'.
[2021-02-15 08:57:58] [error] [ 2120] Access is denied.
[2021-02-15 08:57:58] [info]  [ 2120] Finished starting service 'nxreportd', returning 0.
[2021-02-15 08:57:58] [error] [ 2120] Apache Commons Daemon procrun failed with exit value: 5 (failed to start service).
[2021-02-15 08:57:58] [error] [ 2120] Access is denied.
[2021-02-15 08:59:21] [info]  [ 6096] Apache Commons Daemon procrun (1.2.4.0 64-bit) started.
[2021-02-15 08:59:21] [info]  [ 6096] Running Service 'nxreportd'...
[2021-02-15 08:59:21] [info]  [ 5564] Starting service...
[2021-02-15 09:02:06] [info]  [ 5932] Apache Commons Daemon procrun (1.2.4.0 64-bit) started.
[2021-02-15 09:02:06] [info]  [ 5932] Running Service 'nxreportd'...
[2021-02-15 09:02:06] [info]  [ 6276] Starting service...
[2021-02-15 09:39:33] [info]  [ 9200] Apache Commons Daemon procrun (1.2.4.0 64-bit) started.
[2021-02-15 09:39:33] [info]  [ 9200] Installing service 'nxreportd' name 'NetXMS Reporting Server'.
[2021-02-15 09:39:34] [error] [ 9200] The specified service already exists.
[2021-02-15 09:39:34] [error] [ 9200] Failed installing service 'nxreportd'.
[2021-02-15 09:39:34] [error] [ 9200] The specified service already exists.
[2021-02-15 09:39:34] [error] [ 9200] Apache Commons Daemon procrun failed with exit value: 8 (failed to install service).
[2021-02-15 09:39:34] [error] [ 9200] The specified service already exists.
[2021-02-15 09:39:34] [info]  [ 4696] Apache Commons Daemon procrun (1.2.4.0 64-bit) started.
[2021-02-15 09:39:34] [info]  [ 4696] Updating service...
[2021-02-15 09:39:34] [warn]  [ 4696] Failed to obtain service description
[2021-02-15 09:39:34] [info]  [ 4696] Updated service 'nxreportd'.
[2021-02-15 09:39:34] [info]  [ 4696] Finished updating service 'nxreportd'.
[2021-02-15 09:39:34] [info]  [ 4696] Apache Commons Daemon procrun finished.
[2021-02-15 09:39:34] [info]  [ 8744] Apache Commons Daemon procrun (1.2.4.0 64-bit) started.
[2021-02-15 09:39:34] [info]  [ 8744] Starting service 'nxreportd'...
[2021-02-15 09:39:34] [warn]  [ 8744] Failed to obtain service description
[2021-02-15 09:39:35] [error] [ 8744] apxServiceControl(): dwState(4) != dwCurrentState(1); dwWin32ExitCode = 0, dwWaitHint = 2000, dwServiceSpecificExitCode = 0
[2021-02-15 09:39:35] [error] [ 8744] Access is denied.
[2021-02-15 09:39:35] [error] [ 8744] apxServiceControl(): returning FALSE
[2021-02-15 09:39:35] [error] [ 8744] Access is denied.
[2021-02-15 09:39:35] [error] [ 8744] Failed to start service 'nxreportd'.
[2021-02-15 09:39:35] [error] [ 8744] Access is denied.
[2021-02-15 09:39:35] [info]  [ 8744] Finished starting service 'nxreportd', returning 0.
[2021-02-15 09:39:35] [error] [ 8744] Apache Commons Daemon procrun failed with exit value: 5 (failed to start service).
[2021-02-15 09:39:35] [error] [ 8744] Access is denied.

#27
Hello,

I installed the latest NetXMS version (Windows) together with the Reporting Service, but the Reporting Service refuses to start with the following error: System error 5 has occurred. Access is denied.

The service is running under a Local Service account (set by installer).

Is there a log where I can check for further details?

Best regards

Stefan
#28
General Support / Reporting improvements in NetXMS 3.8
February 12, 2021, 01:20:16 PM
Hi,

the description of NetXMS3.8 shows "Improved reporting server". As I never was able to tget he reporting server running in our Windows environment, I wonder what this improvements are. Is there any explanation?

Best regards and thanks a lot for Your work

Stefan
#29
Hi,

I use a lot of MS SQL server queries to monitor our environment. At the moment we us an SQL login to perfrom these queries. Our companies security rules recommend to disable SQL logins in MS SQL and this recommendation will become a rule soon.
Is there a way to use Windows Authentication for the NetXMS Agent to connect to MSSQL? If not, is this planned?
#30
General Support / NetXMS Console fails to start
January 29, 2021, 12:27:31 PM
Hi,

my NetXMS console suddenly won't start anymore and gives me the error message:

---------------------------
Nxmc
---------------------------
Failed to load the JNI shared library "C:\Program Files (x86)\Zulu\zulu-8-jre\bin\client\jvm.dll".

---------------------------
OK   
---------------------------

The jvm.dll exists and is located at the shown path. Until Yesterday everytihong worked without problem.
Our company uses I the OpenJDK from Azul and I never had a problem with it. https://www.azul.com/downloads/zulu-community/

I reinstalled the Azul JRE but no change. A colleague who is using the same environment has no problems.

Is there some log to check that can help to find where the problem is, or is there the possibility to get some debug info?

Best regards

Stefan