Share

Read next article:

"Syslog Messages"

Read previous article:

"Export all Passive Monitor"

Change Polling Type

In Default | 0 comments

In DHCP network, there is a problem of changing IPs and we need WUG to continue monitoring the devices without any problem so we need to change the polling type to use DNS Name instead of IP Address.

bPollUsingNetworkName = 1 (Poll using DNS Name)
bPollUsingNetworkName = 0 (Poll using IP Address) 

To update the polling type for all devices, use the following query

UPDATE NetworkInterface
SET bPollUsingNetworkName = 1

To update the polling type for range of addresses, use the following query

UPDATE NetworkInterface
SET bPollUsingNetworkName = 1
WHERE sNetworkAddress BETWEEN '192.168.1.100' AND '192.168.1.110'

To update the polling type for devices using part of their names, use the following query

UPDATE NetworkInterface
SET bPollUsingNetworkName = 1
WHERE sNetworkName LIKE 'ot-%'

To update the polling type for certain device group, use the following query

UPDATE NetworkInterface
SET bPollUsingNetworkName = 1
WHERE nDeviceID in (
SELECT PDG.nDeviceID AS DeviceID
FROM PivotDeviceToGroup AS PDG
LEFT OUTER JOIN Device ON Device.nDeviceID = PDG.nDeviceID
LEFT OUTER JOIN DeviceGroup ON DeviceGroup.nDeviceGroupID = PDG.nDeviceGroupID
WHERE sGroupName = 'Orchtech')

Leave a Reply

Allowed Tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

1 + 4 =

Facebook

Unable to display Facebook posts.
Show error

Error: (#10) To use 'Page Public Content Access', your use of this endpoint must be reviewed and approved by Facebook. To submit this 'Page Public Content Access' feature for review please read our documentation on reviewable features: https://developers.facebook.com/docs/apps/review.
Type: OAuthException
Code: 10
Please refer to our Error Message Reference.