|
INSERT INTO [WhatsUp].[dbo].[PivotActiveMonitorTypeToDevice] ( [nDeviceID], [nActiveMonitorTypeID],
[nNetworkInterfaceID],
[bAssumedState], [nMonitorStateID],
[dLastInternalStateTime],
[nActionPolicyID],
[nPollInterval], [bGatherPerformanceData],
[bFireActions], [bDisabled], [bRemoved], [sArgument], [sComment] ) SELECT [nDeviceID], 85, NULL, 0, 5, '5/27/2005
8:00:00', 111, 1800, NULL, 0, 0, 0, '', '' FROM [WhatsUp].[dbo].[Device] WHERE nDeviceTypeID = 64 First, I added the new ActiveMonitor. I then
looked at the new row in PivotActiveMonitorTypeToDevice to obtain the values I needed
for the insert. I wanted to add this monitor to every device of a certain type,
so I looked up the DeviceTypeID to use in the query. You can easily adjust this
to do it by group. From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Patel, Can you share your SQL INSERT query out?
Do you also insert the device’s location on the page using SQL? From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of I was able to write a SQL INSERT query to
do this for me. From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of No Bulk add, but a Discovery will find new monitors. You
could create an Active Discovery and run that and it will present you with a
list of new devices/monitors and when you approve it, they will be added. May
take a few minutes to run the discovery...and not quite as simple as Bulk
change, but easier than doing it by hand... -----Original Message----- Is there not a way to add a new monitor to
a group of devices without have to do it one at a time? |
Title: Message
- [WhatsUp Forum] Bulk Add Active Monitor Sean McAnally
- FW: [WhatsUp Forum] Bulk Add Active Monitor Daniel Donnelly
- RE: [WhatsUp Forum] Bulk Add Active Monitor Sean McAnally
- RE: [WhatsUp Forum] Bulk Add Active Monitor Patel, Kushal
- Sean McAnally
