NetScaler CPU and RAM
<?xml version="1.0" encoding="utf-8"?>
<Poller xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.solarwinds.com/2008/DeviceStudio">
<PollerID>7ed307c1-be89-42b0-831b-3e4dda500a46</PollerID>
<TechnologyID>ba9f862c-8249-4ac3-aa93-0aa1383acad8</TechnologyID>
<PollingMethod>Snmp</PollingMethod>
<Name>NetScaler CPU/RAM </Name>
<Description>NetScaler CPU and RAM </Description>
<Author>Frank M</Author>
<Vendor></Vendor>
<Tags>NetScaler, Citrix, CPU, RAM</Tags>
<Priority>600</Priority>
<Enabled>true</Enabled>
<Version>2</Version>
<Configs xmlns:d2p1="http://schemas.datacontract.org/2004/07/SolarWinds.DeviceStudio.Common.Models">
<contents xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/System.Collections.Specialized">
<d3p1:KeyValueOfanyTypeanyType>
<d3p1:Key xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string">inventory</d3p1:Key>
<d3p1:Value xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string"><Config xmlns:i="http://www.w3.org/2001/XMLSchema-instance" i:type="SnmpInventoryConfig" xmlns="schemas.solarwinds.com/.../DeviceStudio">
<Operations xmlns:d2p1="schemas.microsoft.com/.../Arrays">
<d2p1:anyType i:type="OidExists">
<Oid>
<OID>1.3.6.1.4.1.5951.4.1.1.41.6.1.2</OID>
<Parser i:type="DefaultSnmpParser" />
</Oid>
<Method>GetNext</Method>
</d2p1:anyType>
<d2p1:anyType i:type="OidExists">
<Oid>
<OID>1.3.6.1.4.1.5951.4.1.1.41.2</OID>
<Parser i:type="DefaultSnmpParser" />
</Oid>
<Method>GetNext</Method>
</d2p1:anyType>
<d2p1:anyType i:type="OidExists">
<Oid>
<OID>1.3.6.1.4.1.5951.4.1.1.41.4</OID>
<Parser i:type="DefaultSnmpParser" />
</Oid>
<Method>GetNext</Method>
</d2p1:anyType>
</Operations>
</Config></d3p1:Value>
</d3p1:KeyValueOfanyTypeanyType>
<d3p1:KeyValueOfanyTypeanyType>
<d3p1:Key xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string">polling</d3p1:Key>
<d3p1:Value xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string"><Config xmlns:i="http://www.w3.org/2001/XMLSchema-instance" i:type="PollingConfig" xmlns="schemas.solarwinds.com/.../DeviceStudio">
<DataSourceCreateConfig i:type="SnmpCreateConfig">
<Operations xmlns:d3p1="schemas.microsoft.com/.../Arrays">
<d3p1:anyType i:type="SnmpGetTable">
<Table>nsCPUTable</Table>
<Columns>
<Oid>
<Name>nsCPUusage</Name>
<OID>1.3.6.1.4.1.5951.4.1.1.41.6.1.2</OID>
<Parser i:type="DefaultSnmpParser" />
</Oid>
</Columns>
</d3p1:anyType>
<d3p1:anyType i:type="SnmpGetNext">
<Oid>
<Name>resMemUsage</Name>
<OID>1.3.6.1.4.1.5951.4.1.1.41.2</OID>
<Parser i:type="DefaultSnmpParser" />
</Oid>
</d3p1:anyType>
<d3p1:anyType i:type="SnmpGetNext">
<Oid>
<Name>memSizeMB</Name>
<OID>1.3.6.1.4.1.5951.4.1.1.41.4</OID>
<Parser i:type="DefaultSnmpParser" />
</Oid>
</d3p1:anyType>
</Operations>
</DataSourceCreateConfig>
<DataSourceTransformConfig i:type="TransformConfig">
<Operations xmlns:d3p1="schemas.microsoft.com/.../Arrays">
<d3p1:anyType i:type="Expression">
<Output>
<Property>UsedMemoryFormula1</Property>
</Output>
<Expression>[memSizeMB]/100*[resMemUsage]</Expression>
</d3p1:anyType>
<d3p1:anyType i:type="Expression">
<Output>
<Property>FreeMemoryFormula1</Property>
</Output>
<Expression>[memSizeMB]-([resMemUsage]*100)</Expression>
</d3p1:anyType>
<d3p1:anyType i:type="Expression">
<Output>
<Property>UsedMemoryFormula2</Property>
</Output>
<Expression>MegaToByte([UsedMemoryFormula1])</Expression>
</d3p1:anyType>
<d3p1:anyType i:type="Expression">
<Output>
<Property>FreeMemoryFormula2</Property>
</Output>
<Expression>MegaToByte([FreeMemoryFormula1])</Expression>
</d3p1:anyType>
</Operations>
</DataSourceTransformConfig>
<DataSourceOutputConfig i:type="OutputConfig">
<Properties>
<OutputProperty>
<Name>Used Memory</Name>
<Mapping>UsedMemoryFormula2</Mapping>
<Type i:type="Double" />
</OutputProperty>
<OutputProperty>
<Name>Free Memory</Name>
<Mapping>FreeMemoryFormula2</Mapping>
<Type i:type="Double" />
</OutputProperty>
</Properties>
<Tables>
<OutputTable>
<Name>Processors</Name>
<Mapping>nsCPUTable</Mapping>
<Properties>
<OutputProperty>
<Name>CPU Load</Name>
<Mapping>nsCPUusage</Mapping>
<Type i:type="Integer" />
</OutputProperty>
</Properties>
</OutputTable>
</Tables>
</DataSourceOutputConfig>
</Config></d3p1:Value>
</d3p1:KeyValueOfanyTypeanyType>
</contents>
</Configs>
</Poller>