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.

SDK 1.4: Adding a node, but tooltip never populates when you hover over node in GUI

Hi all,

SDK 1.4, Orion Core 2011.2.1, APM 4.2.0 SP1, NPM 10.2.1

Using a powershell script (as per the SDK examples) to add a node to Orion as ICMP only node. I can add it just fine, but when you hover over the node under Admin -> Node Management it should display a tooltip with some information on the node, the uptime etc. Instead all I get is "Sorry the content could not be loaded", yet this works just fine for any node I add via the GUI. An example of what I mean is shown below.

What makes this work? Is it a particular poller? If so, which one?

Even if I edit the node's details in the GUI and change it to be WMI or SNMP node instead of ICMP only, thetooltip details never show up.

  • Just making sure of your configuration: your script is just a modification of the sample script, and you are sure that pollers you assign to the node are valid for the node, correct? Have you compared that the set of pollers is the same as you added the node using the Orion Web Console?

  • Tom - yes, these are slight modifications on the scripts in the SDK documents. Doesn't seem to matter if I add pollers or not (i've tried several including the 5 listed in the add node example on page 23) - the tooltip details don't populate.

    To prove that it's not a poller thing, I added an ICMP node manually in the GUI and that doesn't make any entries in the Orion.Pollers table for that NodeID. But yet, when adding ICMP node manually in the GUI, the tooltip works just fine. So doesn't look to me like it's a poller thats populating these details.

    Example code I'm using:

       $newNodeProps = @{
        EntityType="Orion.Nodes";
        Caption="mynode";
        IPAddress="10.2.64.140";
        DynamicIP=$False;
        EngineID=1;
        Status=1;
        UnManaged=$False;
        Allow64BitCounters=$True;
        ObjectSubType="ICMP";
        SysObjectID="";
        MachineType="";
        VendorIcon="";
       }

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

  • When you hover over a node link, the page makes an ajax request to /Orion/NetPerfMon/NodePopup.aspx?NetObject=N:123 (where 123 is the actual NodeID, of course). For some reason, this page is failing to load. The best way to diagnose this would be to know the actual error that is occurring on the server. You could get this by loading that page directly (paste the link into your browser and change the NodeID) or by looking at the web's log file at C:\ProgramData\SolarWinds\Logs\Orion\OrionWeb.log.

    Could you find that error and reply back?

  • Hi Tim,

    Tried pasting in the URL manually. Throws an error page in Orion with the following details:

    Unexpected Website Error

    Specified cast is not valid.

    Details of the error are here:

    Time: 02/07/2012 17:13:20.7631
    Server: Microsoft-IIS/7.5
    Pipeline: Integrated
    User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
    Error Instance: 98073e6eabb94d78a03483f76d883734
    User: admin
    URL: http://usadc-vsslwp01:8787/Orion/NetPerfMon/NodePopup.aspx?NetObject=N:2855
    Referrer: http://usadc-vsslwp01:8787/Orion/NetPerfMon/NodePopup.aspx?NetObject=N:2855
    Message: Specified cast is not valid.
    ErrorSite: NetPerfMonWeb.Node.get_CPULoad
    ErrorType: System.InvalidCastException
    Stack:
    at SolarWinds.Orion.NPM.Web.Node.get_CPULoad()
    at Orion_NetPerfMon_NodePopup.Page_Load(Object sender, EventArgs e)
    at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
    at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
    at System.Web.UI.Control.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Assemblies:
    Version          Assembly
    ---------------- -----------------------------------------------------------
    2.0.0.0,         Accessibility
    2.0.0.0,         CustomMarshalers
    8.2.20082.1000,  Infragistics2.WebUI.Shared.v8.2
    8.2.20082.1000,  Infragistics2.WebUI.UltraWebChart.v8.2
    8.2.20082.1000,  Infragistics2.WebUI.UltraWebGauge.v8.2
    8.2.20082.1000,  Infragistics2.WebUI.UltraWebNavigator.v8.2
    8.0.0.0,         Microsoft.JScript
    8.0.0.0,         Microsoft.Vsa
    4.2.0.1558,      pxz-iusd
    3.0.0.0,         SMDiagnostics
    2.0.0.0,         System
    2.0.0.0,         System.Configuration
    2.0.0.0,         System.Configuration.Install
    3.5.0.0,         System.Core
    2.0.0.0,         System.Data
    3.5.0.0,         System.Data.DataSetExtensions
    2.0.0.0,         System.Data.SqlXml
    2.0.0.0,         System.Design
    2.0.0.0,         System.DirectoryServices
    2.0.0.0,         System.Drawing
    2.0.0.0,         System.Drawing.Design
    2.0.0.0,         System.EnterpriseServices
    3.0.0.0,         System.IdentityModel
    3.0.0.0,         System.IdentityModel.Selectors
    2.0.0.0,         System.Management
    3.0.0.0,         System.Runtime.Serialization
    2.0.0.0,         System.Security
    3.0.0.0,         System.ServiceModel
    3.5.0.0,         System.ServiceModel.Web
    2.0.0.0,         System.Transactions
    2.0.0.0,         System.Web
    3.5.0.0,         System.Web.Abstractions
    3.5.0.0,         System.Web.Extensions
    3.5.0.0,         System.Web.Extensions.Design
    2.0.0.0,         System.Web.Mobile
    2.0.0.0,         System.Web.RegularExpressions
    2.0.0.0,         System.Web.Services
    2.0.0.0,         System.Windows.Forms
    3.0.0.0,         System.Workflow.Activities
    3.0.0.0,         System.Workflow.ComponentModel
    3.0.0.0,         System.Workflow.Runtime
    3.5.0.0,         System.WorkflowServices
    2.0.0.0,         System.Xml
    3.5.0.0,         System.Xml.Linq
    2.0.0.0,         mscorlib
    1.0.11119.20010, AjaxControlToolkit
    3.1.0.39271,     Antlr3.Runtime
    1.0.0.0,         AxInterop.C1Query80
    5.5.0.0,         AxTomSawyer
    1.0.1.6,         FiftyOne.Foundation
    1.4.0.0,         HtmlAgilityPack
    1.0.0.0,         Interop.C1Query80
    1.0.0.0,         Interop.EASYSERVLib
    1.1.0.0,         Interop.NetPerfMonService
    3.4.0.0,         Interop.Orion8NetPerfMon
    2.0.0.0,         Interop.stdole
    1.2.10.0,        log4net
    3.0.0.0,         Microsoft.Web.Services3
    7.0.3300.0,      MSDATASRC
    3.8.0.1666,      NetflowConfig
    3.8.0.1666,      NetflowReporting
    3.8.0.1666,      NetflowWeb
    2011.2.11.48,    NetPerfMonWeb
    2011.2.11.48,    OrionWeb
    2.0.0.0,         SmartThreadPool
    4.2.0.1558,      SolarWinds.APM.Common
    4.2.0.1558,      SolarWinds.APM.ProbesMetadata
    4.2.0.1558,      SolarWinds.APM.Transformation.Contract
    4.2.0.1558,      SolarWinds.APM.Web
    2011.2.11.48,    SolarWinds.Common
    1.0.0.0,         SolarWinds.Data
    2011.2.0.187,    SolarWinds.Data.Entity
    2011.2.0.187,    SolarWinds.InformationService.Addons
    1.0.0.0,         SolarWinds.InformationService.Contract
    2011.2.0.187,    SolarWinds.InformationService.Contract2
    1.5.3.234,       SolarWinds.JobEngine.Contract
    2.2.4.138,       SolarWinds.JobEngine.Contract2
    1.0.0.504,       SolarWinds.Licensing.Framework
    2.0.0.0,         SolarWinds.Logging
    1.6.0.117,       SolarWinds.MapEngine
    1.6.0.117,       SolarWinds.MapStudio.Web
    2011.2.11.48,    SolarWinds.Net.ICMP
    2011.2.11.48,    SolarWinds.Net.SNMP
    2011.2.11.48,    SolarWinds.Net.WMI
    3.8.0.1666,      SolarWinds.Netflow.Common
    3.8.0.1666,      SolarWinds.Netflow.Contracts
    3.8.0.1666,      SolarWinds.Netflow.Reporting.Common
    3.8.0.1666,      SolarWinds.Netflow.Web.Chart2
    10.2.11.1220,    SolarWinds.NPM.Base
    10.2.11.1220,    SolarWinds.NPM.Common
    10.2.11.1220,    SolarWinds.NPM.Strings
    10.2.11.1220,    SolarWinds.NPM.Ucs
    10.2.11.1220,    SolarWinds.NPM.Web
    1.0.0.0,         SolarWinds.NPM.Web.Gauge.V1
    2.0.0.0,         SolarWinds.Orion.Common
    2011.2.11.48,    SolarWinds.Orion.Core.Common
    2011.2.11.48,    SolarWinds.Orion.Core.Data
    2011.2.11.48,    SolarWinds.Orion.Core.Jobs
    2011.2.11.48,    SolarWinds.Orion.Core.Models
    2011.2.11.48,    SolarWinds.Orion.Core.SharedCredentials
    2011.2.0.0,      SolarWinds.Orion.Core.Strings
    2011.2.0.0,      SolarWinds.Orion.Core.Web
    2011.2.11.48,    SolarWinds.Orion.Discovery.Contract
    2011.2.11.48,    SolarWinds.Orion.Pollers.Framework
    2011.2.11.48,    SolarWinds.Orion.Security
    1.0.0.1493,      SolarWinds.SEUM.Common
    1.0.0.1493,      SolarWinds.SEUM.Web
    1.0.0.0,         SolarWinds.Shared
    1.2.0.664,       SolarWinds.VIM.Common
    1.2.0.664,       SolarWinds.VIM.Strings
    1.2.0.664,       SolarWinds.VIM.Web
    1.0.0.0,         SWPicExtFactoryLib
    5.5.0.0,         TomSawyer
    5.5.0.0,         TSEDefaultExtFactoryLib
    6.1.0.0,         wnvhtmlconvert
    0.0.0.0,         App_Code.2a1_t_ds
    0.0.0.0,         App_global.asax.mgffhz58
    0.0.0.0,         App_GlobalResources.xw4huuhf
    0.0.0.0,         App_Web_0uw056eb
    0.0.0.0,         App_Web_0zp9epop
    0.0.0.0,         App_Web_1uqsz8we
    0.0.0.0,         App_Web_2c-qzl_o
    0.0.0.0,         App_Web_2lqoa8he
    0.0.0.0,         App_Web_3kvddfl4
    0.0.0.0,         App_Web_3p2qrm0l
    0.0.0.0,         App_Web_3pswhcdj
    0.0.0.0,         App_Web_41vnvwqn
    0.0.0.0,         App_Web_4ewbr9f2
    0.0.0.0,         App_Web_4hp1x7di
    0.0.0.0,         App_Web_5jxlxk9l
    0.0.0.0,         App_Web_6dzrm3l_
    0.0.0.0,         App_Web_6yhnpzpe
    0.0.0.0,         App_Web_8mrzumfc
    0.0.0.0,         App_Web_9qay9csi
    0.0.0.0,         App_Web_9vxlsh3a
    0.0.0.0,         App_Web_a4lc9fmg
    0.0.0.0,         App_Web_a9ig9_bm
    0.0.0.0,         App_Web_accountmanagement.asmx.43409ddd.bokhkk0i
    0.0.0.0,         App_Web_addseedrouterdialog.ascx.33671018.9owry8-m
    0.0.0.0,         App_Web_addsubnetdialog.ascx.33671018.hknru4l9
    0.0.0.0,         App_Web_alertsadmin.asmx.43409ddd.wpqw03il
    0.0.0.0,         App_Web_asyncresources.asmx.43409ddd.cxikc1zw
    0.0.0.0,         App_Web_av0ueqm6
    0.0.0.0,         App_Web_bha1o4-f
    0.0.0.0,         App_Web_blpotr_w
    0.0.0.0,         App_Web_bulkupload.ascx.33671018.zl60hxdu
    0.0.0.0,         App_Web_bwkbjdmu
    0.0.0.0,         App_Web_byvcfseb
    0.0.0.0,         App_Web_c85fn8f0
    0.0.0.0,         App_Web_cmtbvays
    0.0.0.0,         App_Web_containerstree.asmx.43409ddd.xi3wptbi
    0.0.0.0,         App_Web_credentialdetail.ascx.33671018.adhzyiho
    0.0.0.0,         App_Web_credentialmanagerservice.asmx.43409ddd.ssaq2a3l
    0.0.0.0,         App_Web_credentialsgrid.ascx.33671018.1n7oc2ns
    0.0.0.0,         App_Web_crvavkxj
    0.0.0.0,         App_Web_customproperties.ascx.6b1a5ea.wekmgbxa
    0.0.0.0,         App_Web_cv3d6ilq
    0.0.0.0,         App_Web_dependenciescontrol.ascx.6b1a5ea.9qereusj
    0.0.0.0,         App_Web_dependenciestree.asmx.43409ddd.vhi72vzc
    0.0.0.0,         App_Web_devicelist.ascx.33671018.qqhvj5ac
    0.0.0.0,         App_Web_devkz9uf
    0.0.0.0,         App_Web_discoverytabbar.ascx.33671018.-xacpxd4
    0.0.0.0,         App_Web_dol7u0qm
    0.0.0.0,         App_Web_dqaa4voz
    0.0.0.0,         App_Web_dsi0dx_b
    0.0.0.0,         App_Web_dynamicipversion.ascx.6b1a5ea.hbc0wwif
    0.0.0.0,         App_Web_efxahxyj
    0.0.0.0,         App_Web_events.aspx.bc8dcbff.jhj79k9x
    0.0.0.0,         App_Web_ey1yimv6
    0.0.0.0,         App_Web_f5ymsxmt
    0.0.0.0,         App_Web_f86k7343
    0.0.0.0,         App_Web_-favhd6g
    0.0.0.0,         App_Web_fxuq64fo
    0.0.0.0,         App_Web_fywtdsgz
    0.0.0.0,         App_Web_g5jfzyvh
    0.0.0.0,         App_Web_gaznsdog
    0.0.0.0,         App_Web_g-sopoo0
    0.0.0.0,         App_Web_hfzymkmy
    0.0.0.0,         App_Web_hostnameip.ascx.6b1a5ea.wfe-knnp
    0.0.0.0,         App_Web_hvg-rdth
    0.0.0.0,         App_Web_i3lvjvuc
    0.0.0.0,         App_Web_ignorelist.ascx.33671018.szhwcohi
    0.0.0.0,         App_Web_ignoresubtree.ascx.33671018.6ppf1ig1
    0.0.0.0,         App_Web_ih27peh9
    0.0.0.0,         App_Web_iiqbl9xb
    0.0.0.0,         App_Web_iiytji8r
    0.0.0.0,         App_Web_ikyuk86j
    0.0.0.0,         App_Web_information.asmx.43409ddd.cxwitz6j
    0.0.0.0,         App_Web_iprangelist.ascx.33671018.r4d3vca3
    0.0.0.0,         App_Web_j72rj8nz
    0.0.0.0,         App_Web_jeqdwvyq
    0.0.0.0,         App_Web_jhsxndak
    0.0.0.0,         App_Web_jpzkogt7
    0.0.0.0,         App_Web_jqetkayt
    0.0.0.0,         App_Web_jsnjk9ui
    0.0.0.0,         App_Web_jvbs7mbv
    0.0.0.0,         App_Web_k_si6elo
    0.0.0.0,         App_Web_k14lawxu
    0.0.0.0,         App_Web_kjelustf
    0.0.0.0,         App_Web_kv0ygkow
    0.0.0.0,         App_Web_l_uco54w
    0.0.0.0,         App_Web_l7hj1vm7
    0.0.0.0,         App_Web_listofnodesvalidation.ascx.6b1a5ea.t_rxq5tt
    0.0.0.0,         App_Web_lj3teug-
    0.0.0.0,         App_Web_ltj9zjaq
    0.0.0.0,         App_Web_m3t_il4o
    0.0.0.0,         App_Web_m9vwhnyi
    0.0.0.0,         App_Web_mlqtzjtr
    0.0.0.0,         App_Web_networkdiscoveryplugin.ascx.33671018.ciru2ltd
    0.0.0.0,         App_Web_nodelist.ascx.33671018.cxbnlx2t
    0.0.0.0,         App_Web_nodemanagement.asmx.43409ddd.xcvf-ple
    0.0.0.0,         App_Web_nodenameip.ascx.6b1a5ea.cj9toka0
    0.0.0.0,         App_Web_nodepropertypluginselector.ascx.6b1a5ea.3uhfgzaf
    0.0.0.0,         App_Web_nodesnmpv3credentials.ascx.6b1a5ea.k_spyglw
    0.0.0.0,         App_Web_notificationpanel.asmx.43409ddd.dywwma55
    0.0.0.0,         App_Web_nugsmcsi
    0.0.0.0,         App_Web_n-vreufm
    0.0.0.0,         App_Web_nwvobul1
    0.0.0.0,         App_Web_ny_byx36
    0.0.0.0,         App_Web_oqlsvu3h
    0.0.0.0,         App_Web_p-84do6c
    0.0.0.0,         App_Web_pg4g7m6t
    0.0.0.0,         App_Web_pollingengine.ascx.6b1a5ea.yusghrp_
    0.0.0.0,         App_Web_pollingmethodselector.ascx.6b1a5ea.g5if67ru
    0.0.0.0,         App_Web_pollingsettings.ascx.6b1a5ea.tpxq292y
    0.0.0.0,         App_Web_pwbqgume
    0.0.0.0,         App_Web_q0azm1v-
    0.0.0.0,         App_Web_qaspkxsi
    0.0.0.0,         App_Web_qepqrtjb
    0.0.0.0,         App_Web_qgpldw-x
    0.0.0.0,         App_Web_qgzu80ze
    0.0.0.0,         App_Web_qmk9ywzy
    0.0.0.0,         App_Web_qu_j2fz3
    0.0.0.0,         App_Web_resourcetree.ascx.33671018.-19aa7in
    0.0.0.0,         App_Web_resourcetree.asmx.43409ddd.qmqicvj-
    0.0.0.0,         App_Web_resultssubtree.ascx.33671018.vzy2la8w
    0.0.0.0,         App_Web_rgxyvgrl
    0.0.0.0,         App_Web_rid_-f6g
    0.0.0.0,         App_Web_s0r2qvgm
    0.0.0.0,         App_Web_s2vehumd
    0.0.0.0,         App_Web_sbw1sceb
    0.0.0.0,         App_Web_schedulediscoveryresultslist.ascx.33671018.jszcb3iu
    0.0.0.0,         App_Web_snmpinfo.ascx.6b1a5ea.j_w-0dba
    0.0.0.0,         App_Web_sr20p9jw
    0.0.0.0,         App_Web_subnetlist.ascx.33671018.letxing8
    0.0.0.0,         App_Web_t7g9jwwt
    0.0.0.0,         App_Web_tabsmanager.asmx.43409ddd.-hwnwazh
    0.0.0.0,         App_Web_tfhl78up
    0.0.0.0,         App_Web_thgdbzuw
    0.0.0.0,         App_Web_thwack.asmx.43409ddd.kzurvovs
    0.0.0.0,         App_Web_thwahlcv
    0.0.0.0,         App_Web_thyc6h7d
    0.0.0.0,         App_Web_txwf-uk-
    0.0.0.0,         App_Web_tz5qclvy
    0.0.0.0,         App_Web_u7bpekqu
    0.0.0.0,         App_Web_ueehyoia
    0.0.0.0,         App_Web_ugevlomf
    0.0.0.0,         App_Web_v0e5dmh1
    0.0.0.0,         App_Web_vacms1hq
    0.0.0.0,         App_Web_volumelist.ascx.33671018.c_negy7k
    0.0.0.0,         App_Web_vorezss_
    0.0.0.0,         App_Web_vozkdoc_
    0.0.0.0,         App_Web_vq73czem
    0.0.0.0,         App_Web_vtn6ygbq
    0.0.0.0,         App_Web_vv1omysi
    0.0.0.0,         App_Web_w6hc3-zo
    0.0.0.0,         App_Web_waozj0dx
    0.0.0.0,         App_Web_wcudc3gp
    0.0.0.0,         App_Web_webadmin.asmx.43409ddd.bdeo8nkp
    0.0.0.0,         App_Web_wmiinfo.ascx.6b1a5ea.4ikjlrlz
    0.0.0.0,         App_Web_wnqhwkvt
    0.0.0.0,         App_Web_xbmz-csy
    0.0.0.0,         App_Web_xdemrjdo
    0.0.0.0,         App_Web_xfmh0-84
    0.0.0.0,         App_Web_y1nchu0y
    0.0.0.0,         App_Web_y4n_yf_f
    0.0.0.0,         App_Web_ye3m7zgf
    0.0.0.0,         App_Web_yks8wpca
    0.0.0.0,         App_Web_ywwczefu
    0.0.0.0,         App_Web_zmppu6jr
    0.0.0.0,         App_Web_zuoksfsv
    0.0.0.0,         App_Web_zw_k0y7j
    0.0.0.0,         A_062051cc_8c13_41dd_a7ca_50920d210a2d
    0.0.0.0,         A_10ea5c09_d640_4c7f_89be_a725bc8cf910
    0.0.0.0,         A_1bc45ffa_0d73_4f86_ab6a_ab4bb457c65a

  • Nodes.CPULoad is a nullable field in the database, and it looks like the code in the popup is not correctly handling the case where that field is null. Orion normally uses "-2" as a value to indicate that CPULoad data when not available. I recommend you add setting CPULoad=-2 to your script for adding ICMP-only nodes.

    Looking a little farther down in the code, I can see that we're going to have the same issue with the MemoryUsed and PercentMemoryUsed fields as well.

    I'll enter two bugs: one to have the node popup correctly handle these values being NULL in the database and one to document this in the SDK.

  • BINGO! Works first time when I set all 3 values (CPULoad, MemoryUsed and PerectMemoryUsed) manually to -2. Been banging my head against this all day!

    Thanks for entering the bug reports - I think both should cover it.

    Cheers,

    Barry