Specific Service Monitoring

  • 1 April 2021
  • 8 replies
  • 414 views

Userlevel 1

Hello,

I am curious on how i would be able to discover specific services from Windows and or Linux machines and alert and monitor based on their status...

Thanks in Advance!

 


8 replies

There are built in datasources that do this. You just need to manually add the instances you want to monitor. 

There are community datasources that automate the addition of instances: https://github.com/sweenig/lmcommunity/tree/master/ProcessMonitoring

Userlevel 1

Hmmm...

So will these discover the services that are running on the system as well?

 

These will discover the ones you tell it to discover, if they are present on the system. You have to specify the list of services/processes to monitor as a property. Instructions are on that same page.

Userlevel 1

Ah I See.  

My apologies i checked out the XML for the Windows one and saw some variables for the Windows Processes and assumed there...

So aside from the GitHub scripts to discover specific processes what about an ability to discover ALL processes on a windows machine or even Linux?

Yeah, those scripts will work. You'd just set the include property to:

.*

 

As discover happens and you notice that there are some services you want to exclude, you'd just define a RegEx that excludes those ones that you don't want.

Userlevel 4
Badge +2

Where can the datasource for the automated addition of instances be found? When I use the link above, https://github.com/sweenig/lmcommunity/tree/master/ProcessMonitoring it tells me page not found.

Userlevel 7
Badge +20

https://github.com/sweenig/lm/tree/main/ProcessMonitoring

Userlevel 4
Badge +2

Thank you! This is exactly what I've been looking for. 

Reply