You are here

Monitor a Windows Service Only if Certain Conditions Apply

2 posts / 0 new
Last post
jfarr2008
jfarr2008's picture
Monitor a Windows Service Only if Certain Conditions Apply

I need to monitor some computers used by our retail staff.  I only need to monitor these computers if a user is logged in.  If a user is logged in I need to monitor a windows service that runs when they are using our banking software and possibly also monitor if the USB check scanner is properly detected by windows.  I'd prefer to do this via the opsview agent since that is what I'm most familiar with, but i'm open to other suggestions.  I'm thinking this is a good time to setup a dependency, but wanted to see what others' suggestions were. 

 

smarsh
smarsh's picture
Re: Monitor a Windows Service Only if Certain Conditions Apply

Hi, I dont believe its possible to achieve what you are trying to do without some scripting effort - i.e. write a script that registers that PC with Opsview when someone logs in and assigns the neccessary host template, then remove itself when someone logs out - however this is a large amount of effort.

It may be easier in the meantime just to setup monitoring for a 'workhours' time period i.e. 9-5 Monday-Friday.