
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2016 10:36 PM
Hi Everyone,
Names Bob and I'm new to LANsweeper. We are a small VoIP company. We want to know when a customers site has gone off-line. We have a couple of things in place for that. One of the things is a PING monitor. It sends a PING to the customers Public IP address every thirty minutes. It will email us when it does a PING and does not get a response. I'd like to know if LANsweeper can be setup to do the same thing? ANy ideas would be greatly appreciated. Thank You again in advance.
Names Bob and I'm new to LANsweeper. We are a small VoIP company. We want to know when a customers site has gone off-line. We have a couple of things in place for that. One of the things is a PING monitor. It sends a PING to the customers Public IP address every thirty minutes. It will email us when it does a PING and does not get a response. I'd like to know if LANsweeper can be setup to do the same thing? ANy ideas would be greatly appreciated. Thank You again in advance.
Solved! Go to Solution.
Labels:
- Labels:
-
General Discussion
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2016 01:43 PM
A possible solution would be to use the code underneath to create a custom report. The report below will show a list of assets for which the "last seen" time differs from the "last tried" time.
If this time differs, and your scanning credentials are correct, it means that the asset is offline.
Afterwards you can set up an e-mail alert for this report.
Do note that you'll have to set the scanning frequency for this range to scan at least as frequently as the email alert interval. This email will only be sent if the report returns a result.
For instructions on how to add a report to Lansweeper, you can consult this post.
Additionally, if you wish to filter for specific assets, you can assign them to a static asset group under Configuration\Asset Groups. For more information on asset grouping you can consult this article.
You can change what you filter for by editing this part of the code : tblAssetgroup.assetgroup Like 'Test '
If this time differs, and your scanning credentials are correct, it means that the asset is offline.
Afterwards you can set up an e-mail alert for this report.
Do note that you'll have to set the scanning frequency for this range to scan at least as frequently as the email alert interval. This email will only be sent if the report returns a result.
For instructions on how to add a report to Lansweeper, you can consult this post.
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where tblAssets.Lasttried != tblAssets.Lastseen And tblAssetCustom.State = 1
Additionally, if you wish to filter for specific assets, you can assign them to a static asset group under Configuration\Asset Groups. For more information on asset grouping you can consult this article.
You can change what you filter for by editing this part of the code : tblAssetgroup.assetgroup Like '
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblAssetGroupLink On tblAssets.AssetID = tblAssetGroupLink.AssetID
Inner Join tblAssetGroups On tblAssetGroups.AssetGroupID =
tblAssetGroupLink.AssetGroupID
Where tblAssets.Lasttried != tblAssets.Lastseen And tblAssetCustom.State = 1 And
tblAssetGroups.AssetGroup Like 'Test'
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2021 12:15 AM
genius. thanks.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2016 01:43 PM
A possible solution would be to use the code underneath to create a custom report. The report below will show a list of assets for which the "last seen" time differs from the "last tried" time.
If this time differs, and your scanning credentials are correct, it means that the asset is offline.
Afterwards you can set up an e-mail alert for this report.
Do note that you'll have to set the scanning frequency for this range to scan at least as frequently as the email alert interval. This email will only be sent if the report returns a result.
For instructions on how to add a report to Lansweeper, you can consult this post.
Additionally, if you wish to filter for specific assets, you can assign them to a static asset group under Configuration\Asset Groups. For more information on asset grouping you can consult this article.
You can change what you filter for by editing this part of the code : tblAssetgroup.assetgroup Like 'Test '
If this time differs, and your scanning credentials are correct, it means that the asset is offline.
Afterwards you can set up an e-mail alert for this report.
Do note that you'll have to set the scanning frequency for this range to scan at least as frequently as the email alert interval. This email will only be sent if the report returns a result.
For instructions on how to add a report to Lansweeper, you can consult this post.
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where tblAssets.Lasttried != tblAssets.Lastseen And tblAssetCustom.State = 1
Additionally, if you wish to filter for specific assets, you can assign them to a static asset group under Configuration\Asset Groups. For more information on asset grouping you can consult this article.
You can change what you filter for by editing this part of the code : tblAssetgroup.assetgroup Like '
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblAssetGroupLink On tblAssets.AssetID = tblAssetGroupLink.AssetID
Inner Join tblAssetGroups On tblAssetGroups.AssetGroupID =
tblAssetGroupLink.AssetGroupID
Where tblAssets.Lasttried != tblAssets.Lastseen And tblAssetCustom.State = 1 And
tblAssetGroups.AssetGroup Like 'Test'

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2016 10:02 AM
Have you tried Paessler PRTG or Uptime Robot or similar?
