This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

NetScaler CPU/RAM

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">&lt;Config xmlns:i="http://www.w3.org/2001/XMLSchema-instance" i:type="SnmpInventoryConfig" xmlns="schemas.solarwinds.com/.../DeviceStudio"&gt;

  &lt;Operations xmlns:d2p1="schemas.microsoft.com/.../Arrays"&gt;

    &lt;d2p1:anyType i:type="OidExists"&gt;

      &lt;Oid&gt;

        &lt;OID&gt;1.3.6.1.4.1.5951.4.1.1.41.6.1.2&lt;/OID&gt;

        &lt;Parser i:type="DefaultSnmpParser" /&gt;

      &lt;/Oid&gt;

      &lt;Method&gt;GetNext&lt;/Method&gt;

    &lt;/d2p1:anyType&gt;

    &lt;d2p1:anyType i:type="OidExists"&gt;

      &lt;Oid&gt;

        &lt;OID&gt;1.3.6.1.4.1.5951.4.1.1.41.2&lt;/OID&gt;

        &lt;Parser i:type="DefaultSnmpParser" /&gt;

      &lt;/Oid&gt;

      &lt;Method&gt;GetNext&lt;/Method&gt;

    &lt;/d2p1:anyType&gt;

    &lt;d2p1:anyType i:type="OidExists"&gt;

      &lt;Oid&gt;

        &lt;OID&gt;1.3.6.1.4.1.5951.4.1.1.41.4&lt;/OID&gt;

        &lt;Parser i:type="DefaultSnmpParser" /&gt;

      &lt;/Oid&gt;

      &lt;Method&gt;GetNext&lt;/Method&gt;

    &lt;/d2p1:anyType&gt;

  &lt;/Operations&gt;

&lt;/Config&gt;</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">&lt;Config xmlns:i="http://www.w3.org/2001/XMLSchema-instance" i:type="PollingConfig" xmlns="schemas.solarwinds.com/.../DeviceStudio"&gt;

  &lt;DataSourceCreateConfig i:type="SnmpCreateConfig"&gt;

    &lt;Operations xmlns:d3p1="schemas.microsoft.com/.../Arrays"&gt;

      &lt;d3p1:anyType i:type="SnmpGetTable"&gt;

        &lt;Table&gt;nsCPUTable&lt;/Table&gt;

        &lt;Columns&gt;

          &lt;Oid&gt;

            &lt;Name&gt;nsCPUusage&lt;/Name&gt;

            &lt;OID&gt;1.3.6.1.4.1.5951.4.1.1.41.6.1.2&lt;/OID&gt;

            &lt;Parser i:type="DefaultSnmpParser" /&gt;

          &lt;/Oid&gt;

        &lt;/Columns&gt;

      &lt;/d3p1:anyType&gt;

      &lt;d3p1:anyType i:type="SnmpGetNext"&gt;

        &lt;Oid&gt;

          &lt;Name&gt;resMemUsage&lt;/Name&gt;

          &lt;OID&gt;1.3.6.1.4.1.5951.4.1.1.41.2&lt;/OID&gt;

          &lt;Parser i:type="DefaultSnmpParser" /&gt;

        &lt;/Oid&gt;

      &lt;/d3p1:anyType&gt;

      &lt;d3p1:anyType i:type="SnmpGetNext"&gt;

        &lt;Oid&gt;

          &lt;Name&gt;memSizeMB&lt;/Name&gt;

          &lt;OID&gt;1.3.6.1.4.1.5951.4.1.1.41.4&lt;/OID&gt;

          &lt;Parser i:type="DefaultSnmpParser" /&gt;

        &lt;/Oid&gt;

      &lt;/d3p1:anyType&gt;

    &lt;/Operations&gt;

  &lt;/DataSourceCreateConfig&gt;

  &lt;DataSourceTransformConfig i:type="TransformConfig"&gt;

    &lt;Operations xmlns:d3p1="schemas.microsoft.com/.../Arrays"&gt;

      &lt;d3p1:anyType i:type="Expression"&gt;

        &lt;Output&gt;

          &lt;Property&gt;UsedMemoryFormula1&lt;/Property&gt;

        &lt;/Output&gt;

        &lt;Expression&gt;[memSizeMB]/100*[resMemUsage]&lt;/Expression&gt;

      &lt;/d3p1:anyType&gt;

      &lt;d3p1:anyType i:type="Expression"&gt;

        &lt;Output&gt;

          &lt;Property&gt;FreeMemoryFormula1&lt;/Property&gt;

        &lt;/Output&gt;

        &lt;Expression&gt;[memSizeMB]-([resMemUsage]*100)&lt;/Expression&gt;

      &lt;/d3p1:anyType&gt;

      &lt;d3p1:anyType i:type="Expression"&gt;

        &lt;Output&gt;

          &lt;Property&gt;UsedMemoryFormula2&lt;/Property&gt;

        &lt;/Output&gt;

        &lt;Expression&gt;MegaToByte([UsedMemoryFormula1])&lt;/Expression&gt;

      &lt;/d3p1:anyType&gt;

      &lt;d3p1:anyType i:type="Expression"&gt;

        &lt;Output&gt;

          &lt;Property&gt;FreeMemoryFormula2&lt;/Property&gt;

        &lt;/Output&gt;

        &lt;Expression&gt;MegaToByte([FreeMemoryFormula1])&lt;/Expression&gt;

      &lt;/d3p1:anyType&gt;

    &lt;/Operations&gt;

  &lt;/DataSourceTransformConfig&gt;

  &lt;DataSourceOutputConfig i:type="OutputConfig"&gt;

    &lt;Properties&gt;

      &lt;OutputProperty&gt;

        &lt;Name&gt;Used Memory&lt;/Name&gt;

        &lt;Mapping&gt;UsedMemoryFormula2&lt;/Mapping&gt;

        &lt;Type i:type="Double" /&gt;

      &lt;/OutputProperty&gt;

      &lt;OutputProperty&gt;

        &lt;Name&gt;Free Memory&lt;/Name&gt;

        &lt;Mapping&gt;FreeMemoryFormula2&lt;/Mapping&gt;

        &lt;Type i:type="Double" /&gt;

      &lt;/OutputProperty&gt;

    &lt;/Properties&gt;

    &lt;Tables&gt;

      &lt;OutputTable&gt;

        &lt;Name&gt;Processors&lt;/Name&gt;

        &lt;Mapping&gt;nsCPUTable&lt;/Mapping&gt;

        &lt;Properties&gt;

          &lt;OutputProperty&gt;

            &lt;Name&gt;CPU Load&lt;/Name&gt;

            &lt;Mapping&gt;nsCPUusage&lt;/Mapping&gt;

            &lt;Type i:type="Integer" /&gt;

          &lt;/OutputProperty&gt;

        &lt;/Properties&gt;

      &lt;/OutputTable&gt;

    &lt;/Tables&gt;

  &lt;/DataSourceOutputConfig&gt;

&lt;/Config&gt;</d3p1:Value>

      </d3p1:KeyValueOfanyTypeanyType>

    </contents>

  </Configs>

</Poller>