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
Perfect! That sounds exactly like what I need.
#17
Hi,

what is the "External resources" or "Custom Attributes", in the Node properties meant for?
My idea was that I e.g. enter the managament URL from our Azure VMs there and then have a way to
open that URL by adding it to the Tools menu to open that URL. Is that possible?

It should open a webbrowser pointing to the URL configured in eather "External Resources" or "Custom Attributs". Whatever is easier.

Best regards

Stefan
#18
Works! Thank You!

#19
Hi,
I have different agent configurations for different server types. Depnding on their type also the naming of the servers is different, like db01 for DB server and vd01 for virtual desktops. Only the number change

Is it possibe to e.g. check if the node name starts with "db" in the agent configuration filter?
Maybe like:

return $node.Name like 'db*';

Or is it limited to the $1 - $5 parameters?

Best regards

Stefan
#20
Perfect. Thank You.
#21
General Support / Recommended MariaDB Version?
May 06, 2025, 11:41:31 AM
In the admin guide it says this versions of MariaDB are supported: 
  • MariaDB 10.1, 10.2, 10.3, 10.4

Is this still valid? 

Best regards

Stefan 
 
#22
I checked the agent log and after invreasing the debug level to 7; found thi. Maybe it can help identify the reason:
2023.12.13 13:02:47.458 *D* [comm.cs.1          ] Requesting metric "RegQuery.EBTransfer720"
2023.12.13 13:02:47.458 *D* [comm.cs.1          ] H_ExternalMetric called for "RegQuery.EBTransfer720" ""D:\Program Files\NetXMSAgent\custom\CheckRegKey\CheckRegKey.exe" "HKLM\SOFTWARE\WOW6432Node\Aucotec\Engineering Base\7.2.0\Server\Files" "ImageFilePath""
2023.12.13 13:02:47.458 *D* [exec              ] RunExternal called for "RegQuery.EBTransfer720" ""D:\Program Files\NetXMSAgent\custom\CheckRegKey\CheckRegKey.exe" "HKLM\SOFTWARE\WOW6432Node\Aucotec\Engineering Base\7.2.0\Server\Files" "ImageFilePath""
2023.12.13 13:02:47.458 *D* [exec              ] RunExternal: command line is ""D:\Program Files\NetXMSAgent\custom\CheckRegKey\CheckRegKey.exe" "HKLM\SOFTWARE\WOW6432Node\Aucotec\Engineering Base\7.2.0\Server\Files" "ImageFilePath""
2023.12.13 13:02:47.473 *D* [procexec.13        ] ProcessExecutor::executeWithOutput(): process "CMD.EXE /C "D:\Program Files\NetXMSAgent\custom\CheckRegKey\CheckRegKey.exe" "HKLM\SOFTWARE\WOW6432Node\Aucotec\Engineering Base\7.2.0\Server\Files" "ImageFilePath"" started (PID=14800)
2023.12.13 13:02:47.739 *D* [procexec.13        ] ProcessExecutor::readOutput(): stopped on GetOverlappedResult (The pipe has been ended.)
2023.12.13 13:02:47.739 *D* [procexec.13        ] ProcessExecutor::stop(): cannot terminate process (Access is denied.)
2023.12.13 13:02:47.739 *D* [comm.cs.1          ] GetMetricValue("RegQuery.EBTransfer720"): 0 (SUCCESS) value = "'D:\Program' is not recognized as an internal or external command,"
2023.12.13 13:02:47.739 *D* [comm.cs.1          ] Sending message CMD_REQUEST_COMPLETED (ID 3839; size 112; uncompressed)


To me it looks like Net XMS is adding a CMD.EXE /C before my command, witch I don't understand. Shoudn't this be only the case if I use ExternalMetricShellExec?
#23
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
#24
Is this meanwhile implemented? If not, what is the easy workaround?

Best regards

Stefan
#25
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
#26
Hi,

right clicking on the axis works! Thanks a lot.

Regards

Stefan
#27
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
#28
General Support / Re: FileMgr subagent access denied
April 05, 2022, 09:28:34 AM
That fixed it! Thanks a lot.

Regards

Stefan
#29
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
#30
General Support / Re: Threshold with if clause?
March 28, 2022, 11:35:11 AM
Thank You.