Quantcast
Channel: THWACK: All Content - Orion SDK
Viewing all 2677 articles
Browse latest View live

IPAM database how to map City from IPAM_GroupAttrData table to a IP in IPAM_node table

$
0
0

hello,
i am trying to query the IPAM database and get a list of all IP addresses. i would also need the city for each of the IP Address. i see a column called City in  IPAM_GroupAttrData, but there is no groupID column in the IPAM_node table to map these through a join. i am wondering how i can get this information, as for sure there has to be a way. The UI shows a tree of all cities and shows IP addresses inside each of the cities. sso wondereing from where the UI is fetching data to assign a city to an IP address?

any help is greatly appreciated.


Alert Suppression State via API

$
0
0

Hi All,

 

I've been trying to find a way of checking on the current status of a node (in terms of if it's in a scheduled outage or not). Digging through the documentation I've been trying to make use of the Orion.AlertSuppression Entities, mainly GetAlertSuppressionState.

 

I've successfully managed to execute this verb via the Swis PowerShell module using Invoke-SwisVerb, but I've not managed to find an example of doing this via a REST call (the end result will be to query this in PHP using Guzzle).

 

Does anyone have any idea how to call this through either Guzzle or Curl? I've been trying to replicate this using Invoke-RestMethod in PowerShell with limited results.

 

Any help would be appreciated.

 

Thanks,

Simon

Discovery profile parameters meaning

$
0
0

While creating discovery profile using api we have 2 parameters

1. Disable ICMP :- what is the significance of this parameter, what happens when icmp is disabled.

2. Allow duplicate nodes:- what happens when we allow duplicate nodes during discovery.

 

all help appreciated

AD Authentication with Curl

$
0
0

Hey tdanner,
We have been noticing a 403 error when we try to run a Curl Command with a AD Account, but if we use a local Orion account it passes.
Is that a known limitation with the API or could I be missing a setting?

Thanks!

add node using powershell

$
0
0

We are trying to automate the server build process so wanted to know how to add node in solarwinds using powershell for monitoring.

Powershell scripts to add a Node

$
0
0

I am using the following scripts but not successful to add a single Node. I am pretty much sure, i am doing something wrong.

 

# This sample script demonstrates how to add a new node using CRUD operations.

#

# Please update the hostname and credential setup to match your configuration, and

# information about the node you would like to add for monitoring.

 

# Connect to SWIS

$hostname = "localhost"

$username = "admin"

$password = New-Object System.Security.SecureString

$cred = New-Object -typename System.Management.Automation.PSCredential -argumentlist $username, $password

$swis = Connect-Swis -host $hostname -cred $cred

 

$ip = "10.0.0.1"

 

# add a node

$newNodeProps = @{

    IPAddress = $ip;

    EngineID = 1;

 

    # SNMP v2 specific

    ObjectSubType = "SNMP";

 

    SNMPVersion = 2;

 

    DNS = "";

    SysName = "";

   

    # === default values ===

 

    # EntityType = 'Orion.Nodes'

    # Caption = ''

    # DynamicIP = false

    # PollInterval = 120

    # RediscoveryInterval = 30

    # StatCollection = 10 

}

 

$newNodeUri = New-SwisObject $swis -EntityType "Orion.Nodes" -Properties $newNodeProps

$nodeProps = Get-SwisObject $swis -Uri $newNodeUri

 

# register specific pollers for the node

$poller = @{

    NetObject="N:"+$nodeProps["NodeID"];

    NetObjectType="N";

    NetObjectID=$nodeProps["NodeID"];

}

 

# Status

$poller["PollerType"]="N.Status.ICMP.Native";

$pollerUri = New-SwisObject $swis -EntityType "Orion.Pollers" -Properties $poller

 

# Response time

$poller["PollerType"]="N.ResponseTime.ICMP.Native";

$pollerUri = New-SwisObject $swis -EntityType "Orion.Pollers" -Properties $poller

 

# Details

$poller["PollerType"]="N.Details.SNMP.Generic";

$pollerUri = New-SwisObject $swis -EntityType "Orion.Pollers" -Properties $poller

 

# Uptime

$poller["PollerType"]="N.Uptime.SNMP.Generic";

$pollerUri = New-SwisObject $swis -EntityType "Orion.Pollers" -Properties $poller

 

# CPU

$poller["PollerType"]="N.Cpu.SNMP.CiscoGen3";

$pollerUri = New-SwisObject $swis -EntityType "Orion.Pollers" -Properties $poller

 

# Memory

$poller["PollerType"]="N.Memory.SNMP.CiscoGen3";

$pollerUri = New-SwisObject $swis -EntityType "Orion.Pollers" -Properties $poller

 

I am getting the following error:

 

PS C:\Users\>

Connect-Swis : The term 'Connect-Swis' is not recognized as the name of a cmdlet, function, script file, or operable

program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

At line:1 char:9

+ $swis = Connect-Swis -host $hostname -cred $cred

+         ~~~~~~~~~~~~

    + CategoryInfo          : ObjectNotFound: (Connect-Swis:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException

 

It looks like i was not able to connect to SWIS. Could anyone please explain what i am doing wrong. Do i need to run first "Add-PSSnapin SwisSnapin"?

 

/MSarkar

How do you add volumes using the rest api?

$
0
0

Hi,

 

I would like to add volumes to be monitored in solarwinds using the rest api (not the swis sdk)

 

Thanks

Need API to add disk in monitoring

$
0
0

Hi,

 

We were able to add node via API through VRA using powershell script, we are unable to find API for volumes, please provide if any one has executed working script


SwisPowerShell 'error verifying security for message'

$
0
0

Hi Folks

 

I'm getting an error using SwisPowerShell cmdlets (v2.3.0.108)

 

e.g.

Get-SwisData : An error occurred when verifying security for the message.

At line:1 char:1

+ Get-SwisData -SwisConnection $swis -Query 'Select SysName from Orion. ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [Get-SwisData], MessageSecurityException

    + FullyQualifiedErrorId : SwisError,SwisPowerShell.GetSwisData

 

The problem appears to be intermittent in that I was successfully using the cmdlets 24 hours ago.

I also can't connect using SWQL Studio  although I can't verify that was working previously as I only found out about it today.

I'm using an AD login which allows successful access through the web console

 

Connect-Swis does not throw any errors

 

I have tested using SWQL Studio from both my workstation and Orion Server and powershell console both workstation and Orion Server..

 

I've read the previous posts on this subject but none of them are really offering me a solution

 

Any help greatly appreciated.

 

Steve

 

Update:  I noticed this in  Orion.InformationService log, may or may not be relevant ?

 

2018-10-10 12:53:45,156 [8] ERROR SolarWinds.Data.Providers.Orion.DynamicServicesHost - (null) (null)  Failed to Start IDynamicHostService SolarWinds.Orion.HighAvailability.Swis.SwisPoolPluginsProvider. System.ArgumentException: A service entry for 'SolarWinds.Orion.HighAvailability.Common.Plugins.PoolPluginsProviderBase' already exists

   at SolarWinds.InformationService.Core.InformationServiceHost.Add(String key, Object serviceImplementation)

   at SolarWinds.Data.Providers.Orion.DynamicServicesHost.InitializeDynamicServices()

SWQL VSCode Extension?

$
0
0

Forgive as I don't know the technical background for what would be required to do this but, I'm thinking it would be nice to have a Visual Studio Code extension for SWQL. Ideally it would be nice to duplicate the capabilities of SWQL Studio in VScode but, even a simple linting capability would be great. 

 

My main push for this is that I use a Chromebook full time at work with VScode running in Linux and any less reliance on Windows applications would be great.

Help with getting Invoke-SwisVerb ExecuteScript working in powershell

$
0
0

Can anyone provide some details on what Invoke-SwisVerb is looking for:

 

Invoke-SwisVerb -SwisConnection $SwisConn -EntityName Cirrus.ConfigArchive -Verb ExecuteScript ($NCMID, $TestScript, "admin")

 

 

I have tried $NCMID with and without ' in it, but same results.

PS W:\> $NCMID

'c51a6a39-25aa-4ce1-8884-ff181f194746'

 

PS W:\> $TestScript

show clock

 

Get the following response:

 

Invoke-SwisVerb : Verb Cirrus.ConfigArchive.ExecuteScript cannot unpackage parameter 0 of type System.Guid[]

At line:1 char:1

+ Invoke-SwisVerb -SwisConnection $SwisConn -EntityName Cirrus.ConfigAr ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1

    + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

PS newb Question / Export Alerts

$
0
0

Hello, I'm new to using Powershell for Orion. I am wanting to simply query a few things such as Active Alerts that I am unable to bulk export in the GUI.

 

In running Get-SwisObject | gm I am prompted for the uri and SwisConnection.

 

1. What are these parameters? I'm sure one is the DNS name, the other?

 

2. Is what I'm looking for even possible?

Python SDK Set Dynamic Thresholds

$
0
0

Good afternoon,

I am wondering if it is currently possible to set interfaces to use dynamic thresholds for RX and TX utilization and discards/errors using the Python SDK? (or Powershell if the Python is not supported).

 

My immediate need is to select, out of ~15k interfaces, ones which I would like to set the &{USE_BASELINE*} macro and set it. I have found that the SDK is ideal for this type of task.

 

Ideally, I would also like to be able to use the same method for CPU Load, Percent Memory Used, Response Time, and Percent Loss on Nodes as well and even Percent Disk Usage on Volumes.

 

Tangentially, does anyone know if it is possible to set an interface to go into warning/critical if the % utilization is either greater than or less than x times the standard deviation? Effectively alerting on the change? (I attempted to do this within an alert, but no luck)

 

 

Thank you!

Invoke-SwisVerb and how to find all the verbs and options available

$
0
0

Hi there,

 

I have spent the afternoon playing with Invoke-SwisVerb $swis "Orion.Discovery", and a rather enjoyable one it has been at that.

I have a few questions, around this, namely are there other verbs to play with?

 

I would love to be able to list the known Discovery Profiles, and even remove profiles (instead of creating duplicates), do such options exist?

Can anyone assist in shedding some light, or pointing out a decent document or post please?

(I have the Discovery · solarwinds/OrionSDK Wiki · GitHub link.)

 

 

 

Many thanks in advance,

Rich

(aka yaquaholic)

Adding a specific volume to monitoring

$
0
0

Hello everyone!

 

I am trying to add a specific file system to monitoring with SWIS API. So far I've been using the discovery method successfully, but there are situations where I need to add additional volumes after the node has been already discovered and added to SolarWinds.

I have tried to achieve this with "swis.create", but I'm not sure if it is supposed to work this way, since I would have to generate VolumeID & Volume Index and to set IDENTITY INSERT to ON for the table. I couldn't find any specific "verb" defined for Orion.Volumes for such an action. Does anyone know if this is the way to do it, or is there another way that I'm missing?

 

Example below:

 

    def create_volumes(self,volume,voldesc,volidx,voltype,volid,nodeid):

        """ provided a list of volumes and the nodeid from Orion.Nodes it adds them to monitoring """

        props = {

                'VolumeIndex': volidx,

                'VolumeDescription': voldesc,

                'VolumeID': volid,

                'NodeID': nodeid,

                'VolumeTypeID': voltype,

                'Caption': volume

        }

        results = self.swis.create('Orion.Volumes', **props)

        try:

            return results

        except IndexError:

            return False

 

 

 

Returns:

Traceback (most recent call last):

  File "./add_missing_hosts_new.py", line 366, in <module>

    result = c.create_volumes(volume,voldesc,volidx,voltype,volid,nodeid)

  File "/home/apop-sa/automations/monitoring/swtools/swtools/client.py", line 158, in create_volumes

    results = self.swis.create('Orion.Volumes', **props)

  File "/usr/local/lib/python2.7/dist-packages/orionsdk/swisclient.py", line 34, in create

    "Create/" + entity, properties).json()

  File "/usr/local/lib/python2.7/dist-packages/orionsdk/swisclient.py", line 59, in _req

    resp.raise_for_status()

  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 935, in raise_for_status

    raise HTTPError(http_error_msg, response=self)

requests.exceptions.HTTPError: 400 Client Error: Cannot insert explicit value for identity column in table 'Volumes' when IDENTITY_INSERT is set to OFF. for url:

 

 

Thank you!!!


Discovery Function Question (PowerShell)

$
0
0

I am attempting to create some functions inside of a larger script that will create a basic SNMP Discovery job. All of the details in the function were pulled from my base script that works without any issues. It seems that something about passing the values across in this manner is causing a ruckus.

 

SAMPLE

 

#region Connect to SWIS
# Import the SolarWinds PowerShell Module if needed


If (!(Get-Module SwisPowerShell)) {
    Import-Module SwisPowerShell
}


# Connect to SWIS


$hostname = "hostname here"
$swis = Connect-Swis -Trusted -Hostname $hostname


#endregion 


#region Functions
# $nodeList $snmpID
FUNCTION New-CoreParameter ($ipAddresses, $snmpCredentialID) {
<#
.SYNOPSIS    Creates the Core Parameter for Sonar Discovery
.DESCRIPTION    Building block for New-DiscoveryJob
.EXAMPLE    $coreParameter = New-CoreParameter $nodeList $snmpID
.PARAMETER ipAddresses    Value of $nodeList from the File Select Region
.PARAMETER snmpCredentialID    Value of $snmpID from the SNMP Community String Region
#>    $ipList = @()    foreach ($ip in $ipAddresses) {        $ipList += '<IpAddress><Address>{0}</Address></IpAddress>' -f ($ip)    }    $core = ([xml]"<CorePluginConfigurationContext xmlns:i='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://schemas.solarwinds.com/2012/Orion/Core'>    <BulkList>        $ipList             </BulkList>    <IpRanges></IpRanges>    <Subnets></Subnets>    <Credentials>             <SharedCredentialInfo>            <CredentialID>$snmpCredentialID</CredentialID>            <Order>1</Order>        </SharedCredentialInfo>       </Credentials>    <WmiRetriesCount>1</WmiRetriesCount>    <WmiRetryIntervalMiliseconds>1000</WmiRetryIntervalMiliseconds>    </CorePluginConfigurationContext>").DocumentElement    # Build the Core Plugin Config, and grab its XML    $coreConfig = Invoke-SwisVerb $swis Orion.Discovery CreateCorePluginConfiguration @($core)    $coreConfigInnerXml = $coreConfig.InnerXml    RETURN $coreConfigInnerXML
}


# $discName $selectedEngineID $coreParamter $vimParameter $interfaceParameter
FUNCTION New-DiscoveryJob($discoveryName, $engineID, $core) {
<#
.SYNOPSIS    Builds a new Orion Sonar Discovery Job for SNMPv1/2c
.DESCRIPTION    Leverages the New-CoreParameter, New-VimParameter, and New-InterfaceParamater functions
.EXAMPLE    $newDiscovery = New-DiscoveryJob $discName, $selectedEngineID, $coreParamter, $vimParamter, $interfaceParameter
.PARAMETER discoveryName    The value of the $discName parameter from the Variables Region
.PARAMETER engineID    The value of the $selectedEngineID parameter from the Polling Engines Region
.PARAMETER core    The value of the New-CoreParameter function return
.PARAMETER vim    The value of the New-VimParameter function return
.PARAMETER interface    The value of the New-InterfaceParameter function return
#>    ([xml]"<StartDiscoveryContext xmlns:i='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://schemas.solarwinds.com/2012/Orion/Core'>    <Name>$discoveryName</Name>    <EngineId>$engineID</EngineId>    <JobTimeoutSeconds>3600</JobTimeoutSeconds>    <SearchTimeoutMiliseconds>2000</SearchTimeoutMiliseconds>    <SnmpTimeoutMiliseconds>3000</SnmpTimeoutMiliseconds>    <SnmpRetries>3</SnmpRetries>    <RepeatIntervalMiliseconds>1800000</RepeatIntervalMiliseconds>    <SnmpPort>161</SnmpPort>    <HopCount>0</HopCount>    <PreferredSnmpVersion>SNMP2c</PreferredSnmpVersion>    <DisableIcmp>false</DisableIcmp>    <AllowDuplicateNodes>false</AllowDuplicateNodes>    <IsAutoImport>false</IsAutoImport>    <IsHidden>false</IsHidden>    <PluginConfigurations>        <PluginConfiguration>           <PluginConfigurationItem>$core</PluginConfigurationItem>        </PluginConfiguration>    </PluginConfigurations>    </StartDiscoveryContext>").DocumentElement
}


# $newDiscovery
FUNCTION Start-Discovery($discoveryJob) {
<#
.SYNOPSIS    Starts to newly-created Orion Sonar Discovery
.DESCRIPTION    Utilizes the results of the New-DiscoveryJob function
.EXAMPLE    $discoveryProfileID = Start-Discovery $newDiscovery
.PARAMETER discoveryJob    The value of the New-DiscoveryJob function return
#>    (Invoke-SwisVerb $swis Orion.Discovery StartDiscovery @($discoveryJob)).InnerText    
}


#endregion


$nodeList = Get-Content -Path "C:\Testing\ipDemo.txt"
$snmpID = 3
$discName = "gentleTest"
$selectedEngineID = 8
$coreParameter = New-CoreParameter $nodeList $snmpID
$newDiscovery = New-DiscoveryJob $discName $selectedEngineID $coreParamter
Start-Discovery $newDiscovery













 

Investigation of the $coreParameter and $newDiscovery variables look good; not idea why but the Start-Discovery function returns the following:

 

Invoke-SwisVerb : ProvideFault failed, check fault information.
At line:116 char:6
+     (Invoke-SwisVerb $swis Orion.Discovery StartDiscovery @($discover ...
+      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1    + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

 

So it's failing on the (Invoke-SwisVerb $swis Orion.Discovery StartDiscovery @($discoveryJob)).InnerText  execution...

 

Here's the Original Script (sans-Functions) that works

 

#region Connect to SWIS
# Import the SolarWinds PowerShell Module if needed


If (!(Get-Module SwisPowerShell)) {
    Import-Module SwisPowerShell
}


# Connect to SWIS


$hostname = "redacted"
$swis = Connect-Swis -Trusted -Hostname $hostname


#endregion 


#####-----------------------------------------------------------------------------------------#####


#region Variables
# Name your discovery job
$discName = "gentleTest_old"


# Build an array of IP addresses
$ipAddresses = Get-Content -Path "C:\Testing\ipDemo.txt"
$ipList = @()


foreach ($ip in $ipAddresses) {
    $ipList += '<IpAddress><Address>{0}</Address></IpAddress>' -f ($ip)
}


# Get the SNMP Community String ID
$credID = 3


# Get the Polling Engine ID
$engineID = 8


#endregion 


#####-----------------------------------------------------------------------------------------#####


#region Core Plugin Configuration


# Build the Core parameter, using the $ipList and $credID variables from above
$coreParameter = ([xml]"<CorePluginConfigurationContext xmlns:i='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://schemas.solarwinds.com/2012/Orion/Core'><BulkList>    $ipList         </BulkList><IpRanges></IpRanges><Subnets></Subnets><Credentials>         <SharedCredentialInfo>        <CredentialID>$credID</CredentialID>        <Order>1</Order>    </SharedCredentialInfo>   </Credentials><WmiRetriesCount>1</WmiRetriesCount><WmiRetryIntervalMiliseconds>1000</WmiRetryIntervalMiliseconds></CorePluginConfigurationContext>").DocumentElement


# Build the Core Plugin Config, and grab its XML


$coreConfig = Invoke-SwisVerb $swis "Orion.Discovery" "CreateCorePluginConfiguration" @($coreParameter)
$coreConfigInnerXml = $coreConfig.InnerXml


#endregion 


#####-----------------------------------------------------------------------------------------#####


#region Discovery Context


# Build the Discovery Configuration
$newDiscovery = ([xml]"<StartDiscoveryContext xmlns:i='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://schemas.solarwinds.com/2012/Orion/Core'>    <Name>$discName</Name>    <EngineId>$engineID</EngineId>    <JobTimeoutSeconds>3600</JobTimeoutSeconds>    <SearchTimeoutMiliseconds>2000</SearchTimeoutMiliseconds>    <SnmpTimeoutMiliseconds>3000</SnmpTimeoutMiliseconds>    <SnmpRetries>3</SnmpRetries>    <RepeatIntervalMiliseconds>1800000</RepeatIntervalMiliseconds>    <SnmpPort>161</SnmpPort>    <HopCount>0</HopCount>    <PreferredSnmpVersion>SNMP2c</PreferredSnmpVersion>    <DisableIcmp>false</DisableIcmp>    <AllowDuplicateNodes>false</AllowDuplicateNodes>    <IsAutoImport>false</IsAutoImport>    <IsHidden>false</IsHidden>    <PluginConfigurations>        <PluginConfiguration>           <PluginConfigurationItem>$coreConfigInnerXml</PluginConfigurationItem>        </PluginConfiguration>    </PluginConfigurations></StartDiscoveryContext>").DocumentElement


#endregion


#####-----------------------------------------------------------------------------------------#####


#region Start The Discovery


# Start the discovery


(Invoke-SwisVerb $swis Orion.Discovery StartDiscovery @($newDiscovery)).InnerText


#endregion

































 

After running the original script:

 

My assumption is something trivial has been overlooked by me being too deep in the script; so any and all feedback is welcome.

 

Any help is appreciated!

Change NCM Device Template Passwords via API

$
0
0

Hi Guys,

i am challenged with the task to change the passwords of technical users more frequently. Those technical users are used in the NCM templates. The process should be somehow automated.

Is there a possibility to modify passwords via API?

If more input is needed let me know.

Thanks,

Holger

Orion SDK API

$
0
0

Hi

 

Is there a difference between using

 

Import-Module SwisPowerShell

 

and

 

Add-PSSnapin

 

?

 

On the GitHub site, it is referencing to use Import-Moduel SwisPowerShell, however in order website documents, it says to use Add-PSSnapin.  Does it matter which is used?  Or is it just a matter of preference?

No SWIS proxy layer available.

$
0
0

Got this lovely error message when I was trying to update user account credentials today.

The last message I saw about this in the forums was from 6 years ago and was wondering if there is anything more recent as to fixing the issue?  Is it still Orion IIS related?

 

Thanks in advance!

Disabling Hardware Health Sensors

$
0
0

tdanner et. al;

 

Can anyone identify what the "DisableSensors" verb is looking for in Orion.HardwareHealth.HardwareItem ?

 

Trying the ID is coming back with an error in PowerShell:

 

Script:

 

# Clear PowerShell and add the SwisSnapin
Clear-Host

if (-not (Get-PSSnapin | Where-Object { $_.Name -eq 'SwisSnapin' })) {
    Add-PSSnapin 'SwisSnapin'
}

# Connect to SWIS using AD pass-through
$hostname = 'SolarWindsPoller'
$swis = Connect-Swis -Hostname $hostname -Trusted

# Query SWIS to get an array of Sensor IDs to disable
$query = "SELECT ID, FullyQualifiedName FROM Orion.HardwareHealth.HardwareItem WHERE Name LIKE 'System Memory'"
$results = Get-SwisData $swis $query

#  Loop through the array to disable the sensors
Foreach($sensor in $results){    Invoke-SwisVerb $swis Orion.HardwareHealth.HardwareItem DisableSensors $($sensor[0].ID)    Write-Host "Disabling Hardware Sensor On: $($sensor[0].FullyQualifiedName)"
}

 

 

This is an example of what is being passed (adding a Write-Host to the front of the Invoke)

 

Invoke-SwisVerb SolarWinds.InformationService.Contract2.InfoServiceProxy Orion.HardwareHealth.HardwareItem DisableSensors 136

Disabling Hardware Sensor On: System Memory on hostname.domain.local

 

 

And this is the error:

 

Invoke-SwisVerb : Verb Orion.HardwareHealth.HardwareItem.DisableSensors cannot unpackage parameter 0 of type System.Collections.Generic.IEnumerable`1[SolarWinds.HardwareHealth.Common.Models.HardwareHealth.HardwareHealthItemKey]

At line:36 char:2

+     Invoke-SwisVerb $swis Orion.HardwareHealth.HardwareItem DisableSe ...

+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1

    + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

 

 

Any and all help is appreciated!

Viewing all 2677 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>