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
3.0
2023-12-15
- Nagios 4.x
Other
1122
File | Description |
---|---|
check_win_processes_dotnetcore | check_win_processes_dotnetcore |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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!