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

#1
Hi,
I updated our NetXMS installation from 4.2 to 4.4.5 today and have a problem with getting values from ExternalParameter.

I used the following line in 4.2 to get the value of a registry key:
ExternalParameter=RegQuery.EBTransfer720:"D:\Program Files\NetXMSAgent\custom\CheckRegKey\CheckRegKey.exe" "HKLM\SOFTWARE\WOW6432Node\Aucotec\Engineering Base\7.2.0\Server\Files" "ImageFilePath"

After update the showed the following in value:
'D:\Program' is not recognized as an internal or external command

After some reading I found that  ExternalParameter is replaced by ExternalMetric,
so I tried:

ExternalMetric=RegQuery.EBTransfer720:"D:\Program Files\NetXMS\custom\CheckRegKey\CheckRegKey.exe" "HKLM\SOFTWARE\WOW6432Node\Aucotec\Engineering Base\7.2.0\Server\Files" "ImageFilePath"
But the result us the same:  'D:\Program' is not recognized as an internal or external command

Any idea what could be the reason?

Regards

Stefan
#2
General Support / Best way to check if a file exists
November 16, 2022, 01:29:34 PM
Hi,
I want to raise an alarm in case an outdated Office dll exists.
The path of the file is
C:\Program Files (x86)\Common Files\microsoft shared\OFFICE11\mso.dll

At the moment I use this File.Count DCI:
File.Count("C:\Program Files (x86)\Common Files\microsoft shared\OFFICE11","mso.dll",0,0)

As long as the OFFICE11 folder exists this works fine, but if the folder doesn't exist it returns an error.

I can't count recursive from  \microsoft shared\  for mso.dll as there is a OFFICE16 folder below it containing a mso.dll as well.

Regards

Stefan
#3
Hi,
does anybody else have the problem that the context menu in the Dashboards is not working anymore?
In older versions I could define a timespan by right clicking on a graph when the interactive option was set.
I'm on 4.0.2227 and right clicking on a graph does nothing.
Left click and marking an area works.

Do I miss something that changed in this version?

Regards

Stefan
#4
General Support / FileMgr subagent access denied
March 30, 2022, 10:45:08 AM
Hi,

in my Agents configuration file, I added the NetXMS Agent folder to the filemgr section like this:
*FILEMGR
RootFolder = D:\Program Files\NetXMS # read/write access


It basically works. In the console I can see now the defined folder using the File Manager. (see screenshot)
But when I try to show or download a file, I always get an Access Denied error.

I tried runnning the agent as Local System (default as far as I know), and as an account who is member of the Adminitrator group.

Any idea what the problem could be?

Regards

Stefan
#5
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
#6
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
#7
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
#8
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
#9
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
#10
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
#11
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
#12
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
#13
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?
#14
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
#15
General Support / Event Log Retention Time
January 28, 2021, 02:30:24 PM
Hi,

I've set the EventLogRetentionTime setting to 90 days, but when I view the eventlog I only see the last two days, with no filter applied.
When I filter for a specific source or event I see about 30 days. How can I get the whole history?

Thanks in advance

Stefan
#16
Hello,

when I check the Data Collection Configuration on each of my monitored server I see DCIs from a template that's named like the servername.
These DCIs are alwas related to drive size. (see attached screenshot)
As the Operating System template also includes this information I find the useless, but I have no idea how to get rid of them.



#17
Hello,

I have a recurring error message in all of my agents log files, which I have no idea where they come from.
They appear about every hour and fill the log. The agent itself seems to have no problem with it.
Sometimes an agent crashes, but I don't know if it related to this.
Core agent version: 3.5-125-g35c04417dd
I checked if there is a DCI that is polled only once per hour, but there is none.

Here is an example of a log file:

2020.12.14 03:52:18.609 *D* [comm.cs.1378       ] Server ID set to 2C03B84F800043D7
2020.12.14 04:32:11.128 *D* [comm.cs.1379       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 04:52:22.593 *D* [comm.cs.1380       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 04:52:23.681 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 04:52:23.687 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 04:52:23.901 *D* [comm.cs.1380       ] Server ID set to 2C03B84F800043D7
2020.12.14 05:45:13.180 *D* [comm.cs.1381       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 05:52:27.989 *D* [comm.cs.1382       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 05:52:28.871 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 05:52:28.875 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 05:52:29.051 *D* [comm.cs.1382       ] Server ID set to 2C03B84F800043D7
2020.12.14 06:52:33.360 *D* [comm.cs.1383       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 06:52:34.309 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 06:52:34.312 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 06:52:34.478 *D* [comm.cs.1383       ] Server ID set to 2C03B84F800043D7
2020.12.14 06:55:10.729 *D* [comm.cs.1384       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 07:30:54.759 *D* [notifications      ] Notification housekeeper thread started
2020.12.14 07:30:54.768 *D* [notifications      ] Notification housekeeper thread stopped
2020.12.14 07:42:11.388 *D* [comm.cs.1385       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 07:52:38.808 *D* [comm.cs.1386       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 07:52:39.569 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 07:52:39.576 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 07:52:39.768 *D* [comm.cs.1386       ] Server ID set to 2C03B84F800043D7
2020.12.14 08:25:11.134 *D* [comm.cs.1387       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 08:52:44.273 *D* [comm.cs.1388       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 08:52:45.217 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 08:52:45.225 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 08:52:45.493 *D* [comm.cs.1388       ] Server ID set to 2C03B84F800043D7
2020.12.14 09:25:10.951 *D* [comm.cs.1389       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 09:52:49.715 *D* [comm.cs.1390       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 09:52:50.195 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 09:52:50.199 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 09:52:50.400 *D* [comm.cs.1390       ] Server ID set to 2C03B84F800043D7
2020.12.14 09:55:10.474 *D* [comm.cs.1391       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 10:35:10.262 *D* [comm.cs.1392       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 10:52:55.012 *D* [comm.cs.1393       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
2020.12.14 10:52:55.706 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 10:52:55.711 *W* [                   ] H_PdhObjectItems: PDH Error C0000BB8 in call to PdhEnumObjectItems (The specified object was not found on the computer.)
2020.12.14 10:52:55.987 *D* [comm.cs.1393       ] Server ID set to 2C03B84F800043D7
2020.12.14 10:55:25.283 *D* [comm.cs.1394       ] Server capabilities: IPv6: yes; bulk reconciliation: yes; compression: yes
#18
I have this problem since a while now. I think it started with 3.1. It's the same problem as described here:
https://www.netxms.org/forum/general-support/some-internal-dcis-change-to-unsupported-after-upgrade-to-3-1-343/msg27721/#msg27721

Every day i get these alarms (see screenchot) and just terminate them. Disabling in template doesn't help, as they get recerated.

How can I avoid to get these alarms?

I use the latest NetXMS Version with SQL Server 2016.

Best regards

Stefan
#19
Hi,

I know this sounds strange, but let me explain why I need this.
We have some test servers we only need 2 to 3 times in  the year and we pay for them only when the are running on a hourly base.
It happens that we miss to shut down these servers which leads to unnecessary costs.
So what i need is:

- A daily alarm if the server is running
- No alarm if the node is down, like NetXMS is doing by default I think and I found no way to change this. I can't find what is fireing the "SYS_IF_DOWN" event.

Can someone give me a hint on ho to achieve this?

Best regards

Stefan
#20
General Support / Reporting in NetXMS 3.5
October 01, 2020, 02:14:39 PM
Hello,
is there a manual on how to setup and use the reporting functions in NetXMS 3.5 under Windows?
All I found is this https://wiki.netxms.org/wiki/Reporting_server_setup, but it looks outdated to me and it's not for Windows.

Thanks

Stefan