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

#31
General Support / Threshold with if clause?
March 24, 2022, 10:38:20 AM
Hi,
I have the following problem. I need to monitor a folder for changes. I do this by using a File.Size DCI and comparing the size of the folder with the previous read size. The DCI runs every hour. If the size is the same, it's a sign that our process has a problem.
My problem now is, that the folder can be empty for long time and this is totally ok. How can I tell a threshold not to fire an alarm if the value is zero?

Regards

Stefan
#32
Any idea? Do You need more informations?

Best regards

Stefan
#33
Hi,

the alarms are back, so the Cofiguration Poll had no effect. So I think it's the "isLocalManagement flag".
If I understand You right, is has to be true if this is the active NetXMS server. How can I set it to true?.

Regards

Stefan
#34
Hi Alex,
thanks for Your reply.

Here are my answers:
1) It is the active server (we only have one)
2) I think no. The command returns false. Please see the attache screenshot.
3) I did the poll today, let's see if the alarms come back tomorrow

Some additional info that I think might help.
- After terminating the alarms they come back the next day.
- In addition to the update, the NetXMS installation was moved to a new server.

Best regards

Stefan
#35
Hi,

after updating NetXMS to the latest version, I get a lot of alarms because of unsupported DCIs (see attachment 1).
I had this once in the past and was able to fix this by setting the "ImportConfigurationOnStartup" setting to always. This time it doesn't help.
Any suggestions?

Best regards

Stefan
#36
General Support / Re: WebUI questions
July 05, 2021, 10:18:02 AM
HI,

thanks a lot. I'm a big step further now. The fullscreen-dashboard is a really useful option.

Now there is only one thing I can't get working. I see the Dashboard but its not displaying any values.
The user 'EB' has read access on the dashboard and on the objects referenced in it.
I attached some screenshots showing the configuration and the result.
As soon as I add the 'EB' user to the admins group it works.

Any idea?
#37
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
#38
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
#39
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
#40
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?
#41
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
#42
Thanks a lot!
Alarm Key was what I was missing. Afetr configuring the Alarm Key in EPP it works.

Best regards

Stefan
#43
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
#44
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
#45
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