-
Re: Adding nodes with powershell using CRUD.AddWMINode
dusting Jun 8, 2015 10:00 AM (in response to dusting)Maybe a better way to ask this question is how are people automating the "choose resources" step? When I manually add a server the second step(choose resources) has default items checked but when I use the CRUD.AddWMINode.ps1 the resource are not monitored. The screenshot below shows how to choose resources when manually adding node. This is what I want to automate.
-
Re: Adding nodes with powershell using CRUD.AddWMINode
madhavan Jun 9, 2015 3:26 AM (in response to dusting)Hi,
To get the details of the newly added WMI node, check if you have the necessary pollers added to it.
Adding the below mentioned pollers should work in most of cases:
"N.Status.ICMP.Native", "N.ResponseTime.ICMP.Native", "N.Details.WMI.Vista", "N.Uptime.WMI.XP", "N.Cpu.WMI.Windows", "N.Memory.WMI.Windows"
Also if you need to automate discovering nodes programmatically, How do we programmatically discover the non-interface properties [in Orion] and enable them
I hope this helps.
-
Re: Adding nodes with powershell using CRUD.AddWMINode
dusting Jun 9, 2015 8:52 AM (in response to madhavan)Madhavan,
Thanks for the response. Most of the monitoring appears to work such as machine type, Node Status, CPU Load and Memory utilization. I am having issues adding disk utilization. Is there a poller that is suppose to be for disk volumes?
Thanks again!
Dustin
-
Re: Adding nodes with powershell using CRUD.AddWMINode
madhavan Jun 11, 2015 7:04 AM (in response to dusting)Hi,
Add the below provided pollers to volumes mapped to the nodes.
V.Details.WMI.Windows
V.Statistics.WMI.Windows
V.Status.WMI.Windows
-
Re: Adding nodes with powershell using CRUD.AddWMINode
dusting Jun 11, 2015 8:46 AM (in response to madhavan)Madhavan,
At the very bottom of the script(CRUD.AddWMINode.ps1) I added the pollers you specified but still not seeing disk utilization. Is there more I need to add?
#pollers for volumes mapped to the nodes
AddPoller("V.Details.WMI.Windows");
AddPoller("V.Statistics.WMI.Windows");
AddPoller("V.Status.WMI.Windows");
Thanks again for the help,
Dustin Giles
-
Re: Adding nodes with powershell using CRUD.AddWMINode
mstroh@docutap.com Dec 11, 2015 3:27 PM (in response to dusting)Hi Dustin,
I'm having the same issue with adding polling for volumes. Did you ever get this figured out? If so, I'd greatly appreciate it if you could share with me how you added the disk utilization polling?
Thanks.
-
Re: Adding nodes with powershell using CRUD.AddWMINode
madhavan Dec 15, 2015 2:23 AM (in response to mstroh@docutap.com)Hi,
Just to confirm, did you add the pollers to the node or the volumes?
To add those pollers to the volumes,
Step 1) Get the volume id of the volumes added to the node.
Query Sample : Select VolumeID from orion.volumes where nodeid = 1
Step 2) Add pollers to the volumes.
Sample code : (Here 2 is volume id mapped to nodes)
$poller = @{
NetObject="V:2";
NetObjectType="V";
NetObjectID=2;
}
# Status
$poller["PollerType"]="V.Statistics.WMI.Windows";
$pollerUri = New-SwisObject $swis -EntityType "Orion.Pollers" -Properties $poller
Thanks
-
Re: Adding nodes with powershell using CRUD.AddWMINode
mstroh@docutap.com Dec 15, 2015 11:44 AM (in response to madhavan)Thank you for the assistance. I'm still new to Solarwinds. Using your code in my script to add a new node and then add volume polling to the node, this is what I now have. Is this correct? Thanks!
#get volume id of the volumes added to the node
$Node = Get-SwisData $swis "Select nodeid From Orion.Nodes Where Caption = '$vmName'"
$VolumeId = Get-SwisData $swis "SELECT volumeID FROM Orion.volumes where NodeID = '$Node'"
#add pollers to the volumes
foreach ($volume in $VolumeId) {
$poller = @{
NetObject="V:"+$volume;
NetObjectType="V";
NetObjectID=$volume;
}
$poller["PollerType"]="V.Statistics.WMI.Windows";
$pollerUri = New-SwisObject $swis -EntityType "Orion.Pollers" -Properties $poller
}
-
Re: Adding nodes with powershell using CRUD.AddWMINode
madhavan Dec 15, 2015 11:12 PM (in response to mstroh@docutap.com)Looks correct. Now you should be able to see the volume details. Let us know if any issues.
-
Re: Adding nodes with powershell using CRUD.AddWMINode
mstroh@docutap.com Dec 16, 2015 10:21 AM (in response to madhavan)Thank you. I do have another question. When I run the script above, no volumes get added to the node as the volumes are not currently in the Orion.Volumes table. If I perform the following query, nothing is found:
$VolumeId = Get-SwisData $swis "SELECT volumeID FROM Orion.volumes where NodeID = '$Node'"
Thus, how do I add the volumes for the node to the Orion.Volumes table for a new node that I'm adding?
Thanks again.
-
Re: Adding nodes with powershell using CRUD.AddWMINode
madhavan Dec 22, 2015 6:17 AM (in response to mstroh@docutap.com)
-
-
-
-
-
-
-
-
-
Re: Adding nodes with powershell using CRUD.AddWMINode
phanikumar_a Sep 2, 2015 4:27 AM (in response to madhavan)Hi
I am able to add WMI node via SWIS API but when I try to edit the same node using "Edit Node" from Node details page, it shows the following error:
"
Unexpected Website Error
The given key was not present in the dictionary
"
Can you please help me in this issue?
Thanks
-
Re: Adding nodes with powershell using CRUD.AddWMINode
tdanner Sep 2, 2015 4:05 PM (in response to phanikumar_a)When you get this error, there should be a "Save Error Report Locally" button. Please click that to get a text file with details and post it here.
-
Re: Adding nodes with powershell using CRUD.AddWMINode
phanikumar_a Sep 2, 2015 11:07 PM (in response to tdanner)Hi tdanner
Following is the report:
"
Time: 09/03/2015 10:43:35.2431
Server: Microsoft-IIS/8.5
Pipeline: Integrated
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36
Error Instance: 8e70ca7b65ed4f3bb5abfda8967b7341
User: admin
Message: The given key was not present in the dictionary.
ErrorSite: mscorlib.Dictionary`2.get_Item
ErrorType: System.Collections.Generic.KeyNotFoundException
Stack:
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Orion_Nodes_Controls_WmiInfo.Initialize(IList`1 nodes, NodePropertyPluginExecutionMode mode, Dictionary`2 pluginState)
at Orion_Nodes_Controls_PollingMethodSelector.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Assemblies:
Version Assembly
------------------ ----------------------------------------------------
3.1.0.39271, Antlr3.Runtime
8.2.20082.1000, Infragistics2.WebUI.Shared.v8.2
8.2.20082.1000, Infragistics2.WebUI.UltraWebChart.v8.2
8.2.20082.1000, Infragistics2.WebUI.UltraWebGauge.v8.2
8.2.20082.1000, Infragistics2.WebUI.UltraWebNavigator.v8.2
8.2.20082.1000, Infragistics2.WebUI.WebDataInput.v8.2
4.0.0.0, Accessibility
4.0.0.0, CustomMarshalers
12.1.20121.2038, Infragistics4.Documents.Excel.v12.1
4.0.0.0, Microsoft.Build.Framework
4.0.0.0, Microsoft.Build.Utilities.v4.0
4.0.0.0, Microsoft.CSharp
10.0.0.0, Microsoft.JScript
10.0.0.0, Microsoft.VisualBasic
4.0.0.0, mscorlib
4.0.0.0, ReachFramework
4.0.0.0, SMDiagnostics
4.0.0.0, System
4.0.0.0, System.Activities
4.0.0.0, System.ComponentModel.Composition
4.0.0.0, System.ComponentModel.DataAnnotations
4.0.0.0, System.Configuration
4.0.0.0, System.Core
4.0.0.0, System.Data
4.0.0.0, System.Data.DataSetExtensions
4.0.0.0, System.Data.Services.Design
4.0.0.0, System.Design
4.0.0.0, System.DirectoryServices
4.0.0.0, System.DirectoryServices.AccountManagement
4.0.0.0, System.DirectoryServices.Protocols
4.0.0.0, System.Drawing
4.0.0.0, System.Dynamic
4.0.0.0, System.EnterpriseServices
4.0.0.0, System.IdentityModel
4.0.0.0, System.IdentityModel.Selectors
4.0.0.0, System.Management
4.0.0.0, System.Net.Http.WebRequest
4.0.0.0, System.Numerics
4.0.0.0, System.Runtime.Caching
4.0.0.0, System.Runtime.Serialization
4.0.0.0, System.Security
4.0.0.0, System.ServiceModel
4.0.0.0, System.ServiceModel.Activation
4.0.0.0, System.ServiceModel.Activities
4.0.0.0, System.ServiceModel.Internals
4.0.0.0, System.ServiceModel.Web
4.0.0.0, System.Transactions
4.0.0.0, System.Web
4.0.0.0, System.Web.ApplicationServices
4.0.0.0, System.Web.DynamicData
4.0.0.0, System.Web.Entity
4.0.0.0, System.Web.Extensions
4.0.0.0, System.Web.Mobile
4.0.0.0, System.Web.RegularExpressions
4.0.0.0, System.Web.Services
4.0.0.0, System.Windows.Forms
4.0.0.0, System.WorkflowServices
4.0.0.0, System.Xml
4.0.0.0, System.Xml.Linq
4.1.50927.0, AjaxControlToolkit
4.2.0.0, AntiXssLibrary
2.7.7.3, antlr.runtime
0.1.0.39272, Antlr3.Utility
1.8.0.0, AspNet.ScriptManager.jQuery
1.0.0.0, AxInterop.C1Query80
5.5.0.0, AxTomSawyer
3.3.0.0, Castle.Core
3.3.0.0, Castle.Windsor
5.0.34.2, EO.Pdf
1.0.1.6, FiftyOne.Foundation
1.4.0.0, HtmlAgilityPack
4.2.0.0, HtmlSanitizationLibrary
0.85.5.452, ICSharpCode.SharpZipLib
1.0.0.0, Interop.C1Query80
1.0.0.0, Interop.cdosys
1.1.0.0, Interop.SHDocVw
2.0.0.0, Interop.stdole
1.2.10.0, log4net
1.1.0.0, Microsoft.AspNet.SignalR.Client
1.1.0.0, Microsoft.AspNet.SignalR.Core
1.1.0.0, Microsoft.AspNet.SignalR.Owin
1.1.0.0, Microsoft.AspNet.SignalR.SystemWeb
1.0.0.0, Microsoft.Owin.Host.SystemWeb
1.0.0.0, Microsoft.Practices.ServiceLocation
2.1.505.0, Microsoft.Practices.Unity
1.0.0.0, Microsoft.Web.Infrastructure
3.0.0.0, Microsoft.Web.Services3
2.0.0.0, MiniProfiler
7.0.3300.0, MSDATASRC
4.1.0.591, NetflowConfig
4.1.0.591, NetflowReporting
4.1.0.592, NetflowWeb
2015.1.25300.8197, NetPerfMonWeb
4.5.0.0, Newtonsoft.Json
3.2.0.0, Ninject
9.0.5077.0, nsoftware.IPWorksSSNMP
2015.1.25300.8197, OrionWeb
1.0.0.0, Owin
2.0.0.0, SmartThreadPool
1.3.0.1, SolarWinds.AgentManagement.Common
1.3.0.1, SolarWinds.AgentManagement.Contract
1.3.0.1, SolarWinds.AgentManagement.Strings
1.3.0.1, SolarWinds.AgentManagement.Web
7.4.0.1368, SolarWinds.Cirrus.IS.Client
7.4.0.1368, SolarWinds.Cirrus.OrionLayer
7.4.0.1368, SolarWinds.Cirrus.Web
2015.1.25300.8197, SolarWinds.Common
7.4.0.1368, SolarWinds.ConfigManagement.Core
1.0.0.0, SolarWinds.Data
2011.11.1.6134, SolarWinds.Data.Entity
2.1.0.17, SolarWinds.DeviceStudio.Common
2.1.0.20, SolarWinds.DeviceStudio.CpuMemory.Strings
2.1.0.17, SolarWinds.DeviceStudio.Framework
2.1.0.20, SolarWinds.DeviceStudio.NodeDetails.Strings
2.1.0.17, SolarWinds.DeviceStudio.Strings
2.1.0.17, SolarWinds.DeviceStudio.Web
2.0.4.565, SolarWinds.DPI.Common
2.0.4.565, SolarWinds.DPI.Strings
2.0.4.565, SolarWinds.DPI.Web
5.1.0.12, Solarwinds.F5.Common
5.1.0.12, SolarWinds.F5.Strings
5.1.0.12, SolarWinds.F5.Web
6.1.0.17, SolarWinds.HardwareHealth.Auditing
6.1.0.17, SolarWinds.HardwareHealth.Common
6.1.0.17, SolarWinds.HardwareHealth.Strings
6.1.0.17, SolarWinds.HardwareHealth.Web
2011.11.1.6134, SolarWinds.InformationService.Addons
1.0.0.0, SolarWinds.InformationService.Contract
2015.1.1.6134, SolarWinds.InformationService.Contract2
1.2.0.13, SolarWinds.Interfaces.Common
1.2.0.13, SolarWinds.Interfaces.Discovery.Strings
1.2.0.13, SolarWinds.Interfaces.Discovery.Web
5.2.0.0, SolarWinds.Interfaces.Import.Common
3.1.0.10, SolarWinds.Interfaces.SNMP.Common
6.1.0.39, SolarWinds.Interfaces.Strings
6.1.0.39, SolarWinds.Interfaces.Web
2015.1.25300.8197, SolarWinds.Internationalization
1.6.0.28, SolarWinds.JobEngine.Contract
2.10.0.34, SolarWinds.JobEngine.Contract2
3.0.0.658, SolarWinds.Licensing.Framework
2.0.0.0, SolarWinds.Logging
1.13.0.431, SolarWinds.MapEngine
1.13.0.431, SolarWinds.MapStudio.Common
1.13.0.431, SolarWinds.MapStudio.Strings
1.13.0.431, SolarWinds.MapStudio.Web
7.4.0.1368, SolarWinds.NCM.AlertAction
7.4.0.1368, SolarWinds.NCM.Common
7.4.0.1368, SolarWinds.NCM.Contracts
7.4.0.1368, SolarWinds.NCM.NodeManagement
7.4.0.1368, SolarWinds.NCM.Reporting
7.4.0.1368, SolarWinds.NCM.Strings
1.0.0.0, SolarWinds.NCMModule.Web.Inventory
7.4.0.1368, SolarWinds.NCMModule.Web.Resources
7.4.0.1368, SolarWinds.NCMModule.Web.Search
2015.1.25300.8197, SolarWinds.Net.ICMP
2015.1.25300.8197, SolarWinds.Net.SNMP
2015.1.25300.8197, SolarWinds.Net.WMI
4.1.0.591, SolarWinds.Netflow.Common
4.1.0.591, SolarWinds.Netflow.Contracts
4.1.0.591, SolarWinds.Netflow.FastBit.Client
4.1.0.591, SolarWinds.Netflow.FastBit.Contract
4.1.0.591, SolarWinds.Netflow.Reporting.Common
4.1.0.591, SolarWinds.Netflow.Strings
4.1.0.591, SolarWinds.Netflow.Utils
11.5.25300.254, SolarWinds.NPM.Auditing
11.5.25300.254, SolarWinds.NPM.Common
11.5.25300.254, SolarWinds.NPM.Strings
11.5.25300.254, SolarWinds.NPM.Ucs
11.5.25300.254, SolarWinds.NPM.Web
1.0.0.0, SolarWinds.NPM.Web.Gauge.V1
2.0.0.0, SolarWinds.Orion.Common
2015.1.25300.8197, SolarWinds.Orion.Core.Actions
2015.1.25300.8197, SolarWinds.Orion.Core.Alerting
2015.1.25300.8197, SolarWinds.Orion.Core.Alerting.Plugins
2015.1.25300.8197, SolarWinds.Orion.Core.Common
2015.1.25300.8197, SolarWinds.Orion.Core.Data
2015.1.25300.8197, SolarWinds.Orion.Core.Jobs
2015.1.25300.8197, SolarWinds.Orion.Core.Models
2015.1.25300.8197, SolarWinds.Orion.Core.Reporting
2015.1.25300.8197, SolarWinds.Orion.Core.SharedCredentials
2015.1.25300.8197, SolarWinds.Orion.Core.Strings
2015.1.25300.8197, SolarWinds.Orion.Core.Web
2015.1.25300.8197, SolarWinds.Orion.Discovery.Contract
2015.1.1.0, SolarWinds.Orion.MacroProcessor
7.4.0.1368, SolarWinds.Orion.NCM.Actions
2015.1.25300.8197, SolarWinds.Orion.Pollers.Framework
2015.1.25300.8197, SolarWinds.Orion.Security
2015.1.25300.8197, SolarWinds.Orion.Web.Integration.Common
2.4.10.0, SolarWinds.OrionImprovement.Common
2.4.10.0, SolarWinds.OrionImprovement.Strings
1.1.0.8, SolarWinds.RecommendationEngine.Common
1.1.0.8, SolarWinds.RecommendationEngine.Contract
1.1.0.8, SolarWinds.RecommendationEngine.Strings
1.1.0.8, SolarWinds.RecommendationEngine.Web
2015.1.25300.8197, SolarWinds.Reporting
2015.1.25300.8197, SolarWinds.Shared
1.0.0.18, SolarWinds.SSO.Provider
2013.2.0.1, SolarWinds.Syslog
2013.2.0.1, SolarWinds.Syslog.Strings
2.1.0.582, SolarWinds.VIM.Actions
2.1.0.582, SolarWinds.VIM.Common
2.0.1.1173, SolarWinds.VIM.SSO
2.1.0.582, SolarWinds.VIM.Strings
2.1.0.582, SolarWinds.VIM.Web
1.0.0.0, SolarWinds.Wireless.Common
1.1.0.45, SolarWinds.Wireless.Heatmaps.Common
1.1.0.45, SolarWinds.Wireless.Heatmaps.Strings
1.1.0.45, SolarWinds.Wireless.Heatmaps.Web
6.1.0.52, SolarWinds.Wireless.Strings
1.0.0.0, SolarWinds.Wireless.Web
3.0.1.6846, StringTemplate
1.0.0.0, SWPicExtFactoryLib
2.0.0.0, System.Net.Http
4.0.0.0, System.Net.Http.Formatting
4.0.0.0, System.Web.Http
4.0.0.0, System.Web.Http.WebHost
5.5.0.0, TomSawyer
5.5.0.0, TSEDefaultExtFactoryLib
0.0.0.0, App_Code.devuegy9
0.0.0.0, App_global.asax.he7q35jj
0.0.0.0, App_GlobalResources.ilfzeyg_
0.0.0.0, App_Web_0a34cfwp
0.0.0.0, App_Web_0nwbqcdg
0.0.0.0, App_Web_0qqmjp02
0.0.0.0, App_Web_0w2uffug
0.0.0.0, App_Web_0z1iqfw0
0.0.0.0, App_Web_1a2zpfu3
0.0.0.0, App_Web_1hfge0iy
0.0.0.0, App_Web_1n3unjs1
0.0.0.0, App_Web_1zbwmxvy
0.0.0.0, App_Web_25gnm2pl
0.0.0.0, App_Web_2jwzdkry
0.0.0.0, App_Web_2q3iovlx
0.0.0.0, App_Web_2uyuvrdb
0.0.0.0, App_Web_3b4pnaxo
0.0.0.0, App_Web_3eyap00u
0.0.0.0, App_Web_451vferw
0.0.0.0, App_Web_4avdptie
0.0.0.0, App_Web_4dqkpazg
0.0.0.0, App_Web_4ekhjlf2
0.0.0.0, App_Web_4exjbbnd
0.0.0.0, App_Web_4k1dxtyc
0.0.0.0, App_Web_4vu2j0nm
0.0.0.0, App_Web_5bhi5hzy
0.0.0.0, App_Web_5l1gcjna
0.0.0.0, App_Web_adou5a1j
0.0.0.0, App_Web_af0nobjm
0.0.0.0, App_Web_altwugc0
0.0.0.0, App_Web_b44g3fuo
0.0.0.0, App_Web_bosvmqa0
0.0.0.0, App_Web_busc1bwk
0.0.0.0, App_Web_c0ncixkr
0.0.0.0, App_Web_cbqoslegendpolicies.ascx.be89cd80.ioi40hya
0.0.0.0, App_Web_cc2m2pdt
0.0.0.0, App_Web_clsbe5pb
0.0.0.0, App_Web_clupi4dz
0.0.0.0, App_Web_cofg2nu2
0.0.0.0, App_Web_custompagelinkhidding.ascx.2b7060db.stihhbsd
0.0.0.0, App_Web_cz32lbw0
0.0.0.0, App_Web_dvsdb5ab
0.0.0.0, App_Web_dwxmgsm0
0.0.0.0, App_Web_dyj0co1i
0.0.0.0, App_Web_eldlbayc
0.0.0.0, App_Web_error.aspx.b6031896.qyoq7ajr
0.0.0.0, App_Web_ew251ups
0.0.0.0, App_Web_eyhqqwvx
0.0.0.0, App_Web_f4c3rszo
0.0.0.0, App_Web_fbf3so1o
0.0.0.0, App_Web_fiuflodl
0.0.0.0, App_Web_fqqdbq1z
0.0.0.0, App_Web_g3acfgqs
0.0.0.0, App_Web_gblxitug
0.0.0.0, App_Web_gud0bgu4
0.0.0.0, App_Web_h531vglt
0.0.0.0, App_Web_haes4iar
0.0.0.0, App_Web_hfba3wo5
0.0.0.0, App_Web_hfd2n42i
0.0.0.0, App_Web_hma4neqz
0.0.0.0, App_Web_hyjuy1d1
0.0.0.0, App_Web_i2m2cncl
0.0.0.0, App_Web_i4l132sl
0.0.0.0, App_Web_ifjengxf
0.0.0.0, App_Web_interfacelink.ascx.be89cd80.ozvpmgml
0.0.0.0, App_Web_ivce0ydl
0.0.0.0, App_Web_iwaucpcu
0.0.0.0, App_Web_jyqha22d
0.0.0.0, App_Web_k23dtoz5
0.0.0.0, App_Web_kcwpctzz
0.0.0.0, App_Web_knykgdbs
0.0.0.0, App_Web_kqbg42xo
0.0.0.0, App_Web_ljmdex31
0.0.0.0, App_Web_lkuqfd41
0.0.0.0, App_Web_llvah4ds
0.0.0.0, App_Web_mhg2pofm
0.0.0.0, App_Web_mi4virnd
0.0.0.0, App_Web_mmxlqce3
0.0.0.0, App_Web_myejmeoy
0.0.0.0, App_Web_nbyelb4v
0.0.0.0, App_Web_ncmzzhz0
0.0.0.0, App_Web_njswmov5
0.0.0.0, App_Web_nodelink.ascx.be89cd80.mrp73dnz
0.0.0.0, App_Web_nzh5drbq
0.0.0.0, App_Web_ocb3ky4e
0.0.0.0, App_Web_orionminreqs.master.b6031896.-zqdgsxj
0.0.0.0, App_Web_pjog5ffm
0.0.0.0, App_Web_pldbc0lb
0.0.0.0, App_Web_qnptmc4x
0.0.0.0, App_Web_r12hivgj
0.0.0.0, App_Web_rcco2viy
0.0.0.0, App_Web_resourcewrapper.ascx.b6031896.31-nehvk
0.0.0.0, App_Web_rfav35we
0.0.0.0, App_Web_rgqbn3iq
0.0.0.0, App_Web_rmii0qtq
0.0.0.0, App_Web_rv1jren4
0.0.0.0, App_Web_s2lpslpl
0.0.0.0, App_Web_s31fajdi
0.0.0.0, App_Web_so0s4hgg
0.0.0.0, App_Web_srbzbyxk
0.0.0.0, App_Web_sx35atq3
0.0.0.0, App_Web_sxqyvh4u
0.0.0.0, App_Web_ta0zngza
0.0.0.0, App_Web_tupvvese
0.0.0.0, App_Web_tuyd5lco
0.0.0.0, App_Web_ulnzkxcf
0.0.0.0, App_Web_uyxyb5cp
0.0.0.0, App_Web_view.aspx.b6031896.1ubtgoqx
0.0.0.0, App_Web_viludhhl
0.0.0.0, App_Web_vlegjpg3
0.0.0.0, App_Web_vp42zsnx
0.0.0.0, App_Web_vq2ohlaq
0.0.0.0, App_Web_vrqkjhqb
0.0.0.0, App_Web_vwyef4vv
0.0.0.0, App_Web_wiwvxvvk
0.0.0.0, App_Web_wq2vxuaf
0.0.0.0, App_Web_wwnm1u0w
0.0.0.0, App_Web_xgm3r3ul
0.0.0.0, App_Web_xj0vmr30
0.0.0.0, App_Web_xjnurdje
0.0.0.0, App_Web_ycvzbsww
0.0.0.0, App_Web_ycybsztc
0.0.0.0, App_Web_ynw44uvu
0.0.0.0, App_Web_z2l4rgta
0.0.0.0, App_Web_zqny14mp
0.0.0.0, App_Web_zw1trkmx
0.0.0.0, A_0f7b5ead_9d71_4592_a08f_09e21a36af8d
0.0.0.0, A_20b9dabd_6578_4cb4_a7ee_aa6c1ab588e2
0.0.0.0, A_51acf11a_9e48_438f_953c_3fb22fe125f2
0.0.0.0, Anonymously Hosted DynamicMethods Assembly
1.0.0.0, Microsoft.GeneratedCode
1.0.0.0, Microsoft.GeneratedCode
"
Thank you
-
Re: Adding nodes with powershell using CRUD.AddWMINode
tdanner Sep 8, 2015 1:38 PM (in response to phanikumar_a)From looking over the relevant code, it looks like this error would come from missing the "WMICredential" entry in NodeSettings for this node. In the sample script (OrionSDK/CRUD.AddWMINode.ps1 at master · solarwinds/OrionSDK · GitHub), this entry is provided by these lines:
#Adding NodeSettings $nodeSettings = @{ NodeID=$nodeProps["NodeID"]; SettingName="WMICredential"; SettingValue=($credentialId.ToString()); } #Creating node settings $newNodeSettings = New-SwisObject $swis -EntityType "Orion.NodeSettings" -Properties $nodeSettings
Do you have this or something equivalent in your code?
-
Re: Adding nodes with powershell using CRUD.AddWMINode
phanikumar_a Sep 9, 2015 6:16 AM (in response to tdanner)thanks a lot tdanner. It worked after adding the credential ID.
-
-
-
-
-
-