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,
maybe someone can give me some advice for this problem.
I have several Azure AVDs I' monitoring with NetXMS, which in general is working fine.
We use FSLogiix to manage the user profiles, which is Microsoft's recommended way.
FSLogix stores the profile in VHDX file (Hard drive image) which is then mounted when the user logs on
and dismounted on logoff. And here is my problem.

NetXMS recognizes when a drive gets mounted or dismounted, which in general is a good thing.
I my case it results in a crazy high number of DCIs (see screenshot), some active some disabled.

Is there a way to avoid this? I only want to monitor the fixed drives of the server.

Also, why is it showing a Template with the same name as the host for this DCIs?

Thanks for Your help
#2
I try to monitor some events in the Microsoft-Windows-TaskScheduler%4Operational.evtx log
to get notified when scheduled tasks failed.

My parser config is:



I try to monitor some events in the Microsoft-Windows-TaskScheduler%4Operational.evtx log
to get notified when scheduled tasks failed.

My parser config is:


[color=#cccccc][size=2][font=Consolas, Courier New, monospace][color=#808080]<[/color][color=#569cd6]parser[/color][color=#808080]>[/color]
[color=#cccccc]    [/color][color=#808080]<[/color][color=#569cd6]file[/color][color=#808080]>[/color][color=#cccccc]*Application[/color][color=#808080]</[/color][color=#569cd6]file[/color][color=#808080]>[/color]
[color=#cccccc]    [/color][color=#808080]<[/color][color=#569cd6]file[/color][color=#808080]>[/color][color=#cccccc]*System[/color][color=#808080]</[/color][color=#569cd6]file[/color][color=#808080]>[/color]
[color=#cccccc]    [/color][color=#808080]<[/color][color=#569cd6]file[/color][color=#808080]>[/color]
[color=#cccccc]        *Microsoft-Windows-TaskScheduler%4Operational[/color][color=#808080]</[/color][color=#569cd6]file[/color][color=#808080]>[/color]
[color=#cccccc]    [/color][color=#808080]<[/color][color=#569cd6]rules[/color][color=#808080]>[/color]
[color=#cccccc]        [/color][color=#808080]<[/color][color=#569cd6]rule[/color][color=#808080]>[/color]
[color=#cccccc]            [/color][color=#808080]<[/color][color=#569cd6]id[/color][color=#808080]>[/color][color=#cccccc]101-104[/color][color=#808080]</[/color][color=#569cd6]id[/color][color=#808080]>[/color]
[color=#cccccc]            [/color][color=#808080]<[/color][color=#569cd6]match[/color][color=#808080]>[/color][color=#cccccc].*[/color][color=#808080]</[/color][color=#569cd6]match[/color][color=#808080]>[/color]
[color=#cccccc]            [/color][color=#808080]<[/color][color=#569cd6]event[/color] [color=#9cdcfe]params[/color][color=#cccccc]=[/color][color=#ce9178]"1"[/color][color=#808080]>[/color][color=#cccccc]100086[/color][color=#808080]</[/color][color=#569cd6]event[/color][color=#808080]>[/color]
[color=#cccccc]        [/color][color=#808080]</[/color][color=#569cd6]rule[/color][color=#808080]>[/color]
[color=#cccccc]        [/color][color=#808080]<[/color][color=#569cd6]rule[/color][color=#808080]>[/color]
[color=#cccccc]            [/color][color=#808080]<[/color][color=#569cd6]id[/color][color=#808080]>[/color][color=#cccccc]202[/color][color=#808080]</[/color][color=#569cd6]id[/color][color=#808080]>[/color]
[color=#cccccc]            [/color][color=#808080]<[/color][color=#569cd6]match[/color][color=#808080]>[/color][color=#cccccc] .*[/color][color=#808080]</[/color][color=#569cd6]match[/color][color=#808080]>[/color]
[color=#cccccc]            [/color][color=#808080]<[/color][color=#569cd6]event[/color] [color=#9cdcfe]params[/color][color=#cccccc]=[/color][color=#ce9178]"1"[/color][color=#808080]>[/color][color=#cccccc]100086[/color][color=#808080]</[/color][color=#569cd6]event[/color][color=#808080]>[/color]
[color=#cccccc]        [/color][color=#808080]</[/color][color=#569cd6]rule[/color][color=#808080]>[/color]
[color=#cccccc]    [/color][color=#808080]</[/color][color=#569cd6]rules[/color][color=#808080]>[/color]
[color=#808080]</[/color][color=#569cd6]parser[/color][color=#808080]>[/color][/font][/size][/color]


In the Agent debug log (Level 7) I find the following entry which looks like it's the reason taht I don't get an event in NetXMS. Especially the last line where it says "The specified channel could not be found."

[color=#808080][size=2][font=Consolas, Courier New, monospace]2025.08.29 10:36:44.860 *D* [logwatch          ] Registered parser for file "*Application" (GUID = 00000000-0000-0000-0000-000000000000)[/font][/size][/color]
[color=#808080][size=2][font=Consolas, Courier New, monospace]2025.08.29 10:36:44.860 *D* [logwatch          ] Process RSS after parser creation is 20897792 bytes[/font][/size][/color]
[color=#808080][size=2][font=Consolas, Courier New, monospace]2025.08.29 10:36:44.860 *D* [logwatch          ] Registered parser for file "*System" (GUID = 00000000-0000-0000-0000-000000000000)[/font][/size][/color]
[color=#808080][size=2][font=Consolas, Courier New, monospace]2025.08.29 10:36:44.860 *D* [logwatch          ] Process RSS after parser creation is 20897792 bytes[/font][/size][/color]
[color=#808080][size=2][font=Consolas, Courier New, monospace]2025.08.29 10:36:44.860 *D* [logwatch          ] Registered parser for file "*Microsoft-Windows-TaskScheduler%4Operational" (GUID = 00000000-0000-0000-0000-000000000000)[/font][/size][/color]
[color=#808080][size=2][font=Consolas, Courier New, monospace]2025.08.29 10:36:44.860 *D* [logwatch          ] Process RSS after parser creation is 20897792 bytes[/font][/size][/color]
[color=#808080][size=2][font=Consolas, Courier New, monospace]2025.08.29 10:36:44.860 *D* [logwatch          ] AddLogwatchPolicyFiles(): Log parser policy directory: C:\WINDOWS\system32\config\systemprofile\AppData\Local\nxagentd\logparser_ap\[/font][/size][/color]
[color=#808080][size=2][font=Consolas, Courier New, monospace]2025.08.29 10:36:44.860 *D* [logwatch          ] Start watching event log "Application"[/font][/size][/color]
[color=#808080][size=2][font=Consolas, Courier New, monospace]2025.08.29 10:36:45.080 *D* [logwatch          ] Start watching event log "System"[/font][/size][/color]
[color=#808080][size=2][font=Consolas, Courier New, monospace]2025.08.29 10:36:45.287 *D* [logwatch          ] Unable to open event log "Microsoft-Windows-TaskScheduler%4Operational" with EvtSubscribe(): The specified channel could not be found.[/font][/size][/color]



Any idea what the reason could be?
#3
Hi,
I have to monitor if a process is running under a specific user in Windows.

I use Process.CountEx for doing that.

In Taskmanager the username is shown like AD001\z004abcd
Processname is EB_BPM.exe

I tried: Process.CountEx("EB_BPM.exe",,"AD001\z004abcd")
and ( in case the Backslash is the problem):  Process.CountEx("EB_BPM.exe",,"(?i)z004abcd")

Both fail.
Using just  Process.CountEx("EB_BPM.exe") works, but I need to have the username.


Using  NetXMS 5.2.1
Any idea?

Stefan
#4
General Support / Favicon for Webinterface
May 27, 2025, 09:00:08 AM
Hi,
we are using the Web interface (windows installer) Version 5.2.1 to connect to our NetXMS.
To avoid accidentely closing the browser, we use the edge (chrome) functionality to install the NetXMS site
as app which is working nice.
You have the NetXMS interface directly available in the taskbar or as a desktop shortcut.
The only downside is that the Web interface has no Favicon defined, which would be used as icon for the app.
At the moment, in the taskbar we just have a generic letter representing NetXMS.
Is it possible to configure a favicon for the webinterface somehow?

Regards

Stefan
#5
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
#6
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
#7
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 
 
#8
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
#9
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
#10
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
#11
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
#12
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
#13
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
#14
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
#15
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
#16
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
#17
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
#18
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
#19
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
#20
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?