Comments
-
Hi, Your method for finding the orphaned volumes looks correct. Removing a orphaned volume from the system use the below provided powershell script. This will work for volumes that are already added to the system. $uris = Get-SwisData $swis "Select Uri from Orion.Volumes where VolumeIndex = 0 and VolumeResponding =…
-
Hi, Tim and I are on the same team and worked on the solution I proved below. I hope that will satisfy your need.
-
sw_ross, The problem is with Guid. When you assign the value to IPAddressGUID, make the below mentioned change. (Here we are explicitly declaring that IPAddressGUID is of type Guid. IPAddressGUID=[System.Guid]$ipGuid; The issue is your powershell_ise should be running in powershell 2.0 version. Execute $PSVersionTable and…
-
1) How do you calculate the Utc dates provided as parameters? Can you share us the logic you use to get the dates. 2) Are you having a single application to manage both Node and application? Here you have mentioned Orion.APM.Application but trying to manage a Node.
-
Hi, You can view the MIB.cfg information from the Conditions Tab in Add New Rule option.
-
get-swisdata $swis "SELECT ContainerID, Name, Owner, Frequency, StatusCalculator, RollupType, IsDeleted, PollingEnabled, LastChanged FROM Orion.Container where Name = 'Sample Powershell Group'" Modify the select statement to select only ContainerID in case you need only container ID. You can have a look at the…
-
AddConnectionProfile verb accepts 1 argument. * ConnectionProfile - ConnectionProfile object. Incase you are creating a new connection profile. I've provided the ConnectionProfile class and the code to fill in the necessary values and create ConnectionProfile. This sample uses dummy values and fill with real values and use…
-
Hi, [DOWN TIME IN MINUTES] is just an alias. Use the below mentioned query. (Replace [DOWN TIME IN MINUTES] with the query which returns downtime in minutes. SELECT NodeName AS [Node Name], '/Orion/images/StatusIcons/Small-' + StatusIcon AS [_IconFor_Node Name], DetailsUrl AS [_LinkFor_Node Name], DOWNEVENT.EVENTTIME AS…
-
Hi, Provided below the modified query. This query will support only 2 level of groups. (Nodes -> child Group -> Parent Group). If it is more than 2 groups (like Nodes -> child Group -> Parent 1 Group -> Parent 2 Group), it will not work and not possible to represent in a single swql query. This query would be much more…
-
Provide the values to Core Plugin configuration in such a way that IP AddressRange and SubnetList are empty tag present in the xml. I get the perfect core plugin configuration xml when I provide IPRanges and Subnets with null value in json input.…
-
Powershell snapin should be added first to execute swis commands. Add-PSSnapin swissnapin Once you execute the above command, you should be able to execute swis commands.
-
Hi, Post the query you are trying. You will be getting "Expecting select" error, this means that you are using the right method with right connection but using incorrect query. Post your query so that we can help you. SDK samples has scripts which would help you in understanding the script execution steps. If you want more…
-
Hi, The custom fields you added to the select should also be added to the group by. ex : GROUP BY NodeName, StatusIcon, DetailsUrl, Nodes.CustomProperties.Alert_Team, Nodes.CustomProperties.Support_Priority, Nodes.CustomProperties.Comments
-
There is a property RediscoveryInterval which you can provide an integer value (Minutes). Say if the current RediscoveryInterval is 30 minutes, if you change it to 40, Rediscovery will happen every 40 minutes.
-
Hi, Still not sure why do you need to update IPAddress and Caption of Orion.Nodes as it may affect the functionality. but provided below the PS script which takes the Name and IPAddress from Wireless_AccessPoint for matching nodeid and update Caption and IPAddress with this. You cannot update properties of…
-
Hi, Add the below provided pollers to volumes mapped to the nodes. V.Details.WMI.Windows V.Statistics.WMI.Windows V.Status.WMI.Windows
-
Hi, The syntax for PollNow is correct. How do you confirm that the node is not getting polled? Check the PollInterval, to see how what is the interval set for polling (by default it is 120 seconds, so every 2 minutes polling should happen.) If you want to check if the pollNow via SDK is working, increase the polling…
-
Hi, Provided below the powershell script to discover and import results. This is for automatic discovery. In order to add a node via SDK and all the resources of it needs to be discovered and added automatically, follow the below provided steps. In case you need to add a resource that is not found in discovery (like non…
-
Hi, I've provided the REST api sample below which I used to create a node and assign pollers. It does work and polling happens. Please let me know if there is something missing/ added in your script from what is provided below. If not provide the script that you use for creating the node via REST. Details provided for…
-
Hi, In this version of NCM, Cirrus tables and Orion tables are in two different databases. SWIS takes care of getting the data from these tables and joining in memory. That's the reason you are not seeing db names in the formed query. Did you get this query from log file or SQL profiler? Moreover, whether the SWQL query…
-
Hi, NodeName and Caption both correspond to the same property of a Node. Remove NodeName from the list of properties provided as input and try. I hope this should solve the issue. If not we need more details as I tried with the same parameters and was not able to reproduce this issue.
-
Hi, I'm not able to simulate this script to check where the issue is as there are lot of file dependencies, but looking at the script I see that there is an issue when fetching the mastergroupid in section "# Attach Sub Groups to Master Groups." It is hardcoded to 394. $mastergroupid = Get-SwisData $swis "select…
-
Hi, Create method returns Url of the new node created. Url is unique and gives complete information about a record. Url will be something like 'swis://SERVERNAME/Orion/Orion.Nodes/NodeID=1', here we have ServerName, Entity and NodeID (Key). You can use this Url, parse it and get the nodeid (as RichardLetts, or you can use…
-
Hi, Yes, you can use the link to generate Guid (Global Unique Identifier) Confirm that the value is unique. Do not use the same Guid for all conditions. Randomly created - not constant.
-
Hi, Provided the code to add one or more members to a group. Here the you need to replace the bolded with groupid and uri / condition. # ADDING A NEW GROUP MEMBER Invoke-SwisVerb $swis "Orion.Container" "AddDefinition" @( # group ID $groupId, # group member to add ([xml]" <MemberDefinitionInfo…
-
Step 1 : Get NodeID for which application template needs to be assigned curl -k -u admin: -X POST -H "Content-Type: application/json" https://localhost:17778/SolarWinds/InformationService/v3/Json/Query -d @"GetNodeID.txt" Content of GetNodeID.txt {"query":"SELECT NodeID FROM Orion.Nodes WHERE…
-
Can you please look at "C:\programdata\Solarwinds\InformationService\v3.0\Orion.InformationService.log". This should have the reason for why the verb invoke was not successful. Provided below the classes which gives information about the parameters for creating the core plugin configuration. For Discovery, parameters are…
-
Creating the node does not add interfaces automatically. You can invoke DiscoverInterfacesOnNode verb on Orion.NPM.Interfaces and get the information on discovered interfaces and invoke AddInterfacesOnNode to add them to a node. There is a powershell sample (NPM.DiscoverAndAddInterfacesOnNode.ps1) as part of SDK which does…
-
Hi, Programmatically configuring Asset Inventory is not supported right now. Have created a internal ticket to add it as a feature.
-
Hi, please let us know the product version details. This may be version specific. Also, do you have Orion Sdk installed? You can try out various swql queries using sdk.