Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check multiple windows processes dotnet core
Current Version
3.0
Last Release Date
2023-12-15
Compatible With
- Nagios 4.x
Owner
License
Other
Hits
950
Files:
File | Description |
---|---|
check_win_processes_dotnetcore | check_win_processes_dotnetcore |
This is the code by David Ligeret from the 'Check multiple Windows Processes v2' SNMP process check that exists on this site. It works the same but with some added features. You can specify the same program name twice or more to expect more than 1 running. I also added the ability to specify dotnet.exe,someapp.dll so that you can check if a specific dotnet core app is running based on the parameter of dotnet.exe. This is based on detecting dotnet.exe as a program name and then querying for the SNMP parameters of the exe to see what DLL is being called by dotnet. the ',' is used for the parameter delimiter when specifying the dll name for dotnet.exe.
An example... process1.exe process2.exe dotnet.exe,someapp.dll process2.exe
This would require 1 process1.exe to be running, two process2.exe to be running and 1 dotnet.exe to be running with the text someapp.dll as a part of the parameter that dotnet.exe is calling.
An example... process1.exe process2.exe dotnet.exe,someapp.dll process2.exe
This would require 1 process1.exe to be running, two process2.exe to be running and 1 dotnet.exe to be running with the text someapp.dll as a part of the parameter that dotnet.exe is calling.
Reviews (0)
Be the first to review this listing!