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')
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on LinkedIn0Pin on Pinterest0

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>

7 − 7 =

Facebook

Unable to display Facebook posts.
Show error

Error: Unsupported get request. Object with ID 'orchtechsoftwarehouse' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api
Type: GraphMethodException
Code: 100
Please refer to our Error Message Reference.