cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Danny_Htoi
Engaged Sweeper
Hi Lansweeper,

I have File Server, Web Server.
Is there a way to monitor services whether it's up or down? e.g. File server: file service is up and running etc. Webserver, all the webservices are working fine.
Example, a monitoring system to send an email when something is down.
1 ACCEPTED SOLUTION
Bruce_B
Lansweeper Alumni
Unfortunately, Lansweeper currently doesn't do live monitoring. We do an item on our internal wishlist regarding live monitoring features, we've added your feedback to this.

The closest you could currently come to live monitoring of your services would be the following:
  1. Go to Scanning\Scanning Targets and set up a scanning target that will very frequently scan these "critical" servers (Recurring every X minutes)
  2. Go to Scanning\Scanned Item Interval and set the interval of the item "SERVICES" to 0, this will ensure that services are rescanned every time a Windows computer is rescanned.
  3. Create a report that shows the status of the relevant services, that only lists these services when not "running",
    we've added an example of such a report below for the Lansweeper server service, replace the highlighted text with the name of the relevant asset. You can add this report to your Lansweeper installation by copying the SQL code below and pasting it in the report editor under Reports\Create New Report.
  4. Set up an email alert on a frequent schedule using such a report. Email alerts are only sent when the accompanying report yields results, so if the report is set up correctly you should only receive one when it's relevant.


Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblServicesUni.Caption,
tblServicesUni.Name,
tblServiceState.State
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblServices On tblAssets.AssetID = tblServices.AssetID
Inner Join tblServiceState On tblServiceState.StateID = tblServices.StateID
Inner Join tblServicesUni On tblServicesUni.ServiceuniqueID =
tblServices.ServiceuniqueID
Where tblAssets.AssetName = 'Assetname' And tblServicesUni.Caption =
'Lansweeper Server' And tblServiceState.State != 'Running'

View solution in original post

1 REPLY 1
Bruce_B
Lansweeper Alumni
Unfortunately, Lansweeper currently doesn't do live monitoring. We do an item on our internal wishlist regarding live monitoring features, we've added your feedback to this.

The closest you could currently come to live monitoring of your services would be the following:
  1. Go to Scanning\Scanning Targets and set up a scanning target that will very frequently scan these "critical" servers (Recurring every X minutes)
  2. Go to Scanning\Scanned Item Interval and set the interval of the item "SERVICES" to 0, this will ensure that services are rescanned every time a Windows computer is rescanned.
  3. Create a report that shows the status of the relevant services, that only lists these services when not "running",
    we've added an example of such a report below for the Lansweeper server service, replace the highlighted text with the name of the relevant asset. You can add this report to your Lansweeper installation by copying the SQL code below and pasting it in the report editor under Reports\Create New Report.
  4. Set up an email alert on a frequent schedule using such a report. Email alerts are only sent when the accompanying report yields results, so if the report is set up correctly you should only receive one when it's relevant.


Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblServicesUni.Caption,
tblServicesUni.Name,
tblServiceState.State
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblServices On tblAssets.AssetID = tblServices.AssetID
Inner Join tblServiceState On tblServiceState.StateID = tblServices.StateID
Inner Join tblServicesUni On tblServicesUni.ServiceuniqueID =
tblServices.ServiceuniqueID
Where tblAssets.AssetName = 'Assetname' And tblServicesUni.Caption =
'Lansweeper Server' And tblServiceState.State != 'Running'