Greetings Thwack community,
We have a script in place that currently runs a query on our kiosk database for new systems, and then creates nodes for them in SolarWinds. We have 2 different types of kiosks in the db, with the main difference being the local storage on it. Kiosk type 1 only has a C drive. Kiosk type 2 has a C drive and an M drive. Looking at our nodes, we are seeing C drive utilization on all of our nodes, but we do not see any of the M drive data. I don't know if it makes much of a difference but the Kiosk type 2 could either be Windows Embedded 2009 or a Server 2008 system. I've included what I believe to be the pertinent part of the script for our node creation.
$newNodeProps = @{ | ||||
EntityType="Orion.Nodes"; | ||||
IPAddress=$ip; | ||||
IPAddressGUID=$ipGuid; | ||||
Caption=""; | ||||
DynamicIP=$False; | ||||
EngineID=3; | ||||
Status=1; | ||||
UnManaged=$False; | ||||
Allow64BitCounters=$False; | ||||
SysObjectID=""; | ||||
MachineType=""; | ||||
VendorIcon=""; | ||||
ObjectSubType="WMI"; | ||||
SNMPVersion=0; | ||||
Community=""; | ||||
Location = ""; | ||||
Contact = ""; | ||||
NodeDescription=""; | ||||
Vendor=""; | ||||
IOSImage=""; | ||||
IOSVersion=""; | ||||
} |
#Creating the node
$newNodeUri = New-SwisObject $swis –EntityType "Orion.Nodes" –Properties $newNodeProps
#Write-Host "newNodeURI is: "$newNodeUri
$nodeProps = Get-SwisObject $swis -Uri $newNodeUri
$poller = @{
NetObject="N:"+$nodeProps["NodeID"];
NetObjectType="N";
NetObjectID=$nodeProps["NodeID"]}
#Status
AddPoller("N.Status.ICMP.Native");
#ResponseTime
AddPoller("N.ResponseTime.ICMP.Native");
#Details
AddPoller("N.Details.WMI.XP");
#Uptime
AddPoller("N.Uptime.WMI.XP");
#CPU
AddPoller("N.Cpu.WMI.Windows");
#Memory
AddPoller("N.Memory.WMI.Windows");
#IP Address
AddPoller("N.IPAddress.WMI.Generic");
#Volumes
AddPoller("V.Details.WMI.Windows");
#Statistics
AddPoller("V.Statistics.WMI.Windows");
#Memory Utilization
AddPoller("N.Memory.WMI.Windows");
Thank you for any input