Has anyone combined a ticket field with a node name and status field so that a down staus node can have OPS input a ticket number and have that reflected in network summary for all to see?
Such as the figment below ......
-Ron
Wow. What an awesome idea. I've love to know if it is possible.
Well... Kinda...
Vic
I believe that's close to what I'm looking for. Does the resource on the home page correlate with a down node or is it all together a seperate information field?
Thanks
Ron
I've done something similar - I added a Comments field which can be updated from the Node Details page.These comments get displayed in the Nodes Down property at the top of the Home page.
Here is the code to add this field to the Down Nodes resource here:
C:\Inetpub\SolarWinds\NetPerfMon\Resources\1-1-SummaryReports\DownNodes.resource:
%><table border="0" cellPadding="2" cellSpacing="0" width="100%"> <tr> <td class="ReportHeader" vAlign="center" width="20">Node</td> <td class="ReportHeader" vAlign="center"> </td> <td class="ReportHeader" vAlign="center">Comments</td> <td class="ReportHeader" vAlign="center"> </td> </tr><% Do While Not SQLResource.EOF %><tr> <td class="Property" vAlign="center" width="20"><%=SQLResource.GetProperty("StatusLED;SmallIcon")%> </td> <td class="Property"><a <%=SQLResource.GetProperty("NodeParamString")%> href="")%>"><%=SQLResource.GetProperty("Caption")%></a>">thwack.solarwinds.com/.../View.asp </td> <td class="Property"><a href="")%>"><%=SQLResource.GetProperty("Comments")%></a>">thwack.solarwinds.com/.../View.asp </td></tr><% This is what it looks like:
Bingo Guru! Much thanks to you and Vic!
Wow - now that's a detailed writeup - nice work Vic!
I would be interested in the code you used to add comments to interfaces as well.Could you post that as well?
-=Thanks=-
Gentlemen thank you for the help!!!
I combined the generous information provided above and the results were better then I expected.
Posted below is the full code just save this as "C:\Inetpub\SolarWinds\NetPerfMon\Resources\1-1-SummaryReports\DownNodes.resource:" and remember to backup first...just in case.....
______________________________________________________________________________________________________
<!-- Title=Down Nodes --><!-- Level=7 --><!--#include Virtual=/NetPerfMon/scripts/Resource.asp --><% Title=Resource.Title If Len(Title)=0 Then Title="Down Nodes"
SubTitle="The Following Nodes are not Responding" if Len(Resource.SubTitle)>0 Then SubTitle=Resource.SubTitle HelpPage="DownNodes" EditButton="/NetPerfMon/Resources/Filter.Edit.asp?ResourceID=" & Resource.ResourceID & "&ViewID=" & ViewID DoResourceHeader Set SQLResource = NetPerfMon.NewSQLResource SQLResource.SQL="Select * From Nodes Where Status<>'1' Order By Caption" SQLResource.Filter= Resource.GetProperty("Filter") SQLResource.Execute%>
<table border="0" cellPadding="2" cellSpacing="0" width="100%">
<tr> <td class="ReportHeader" vAlign="center" width="20">Node</td> <td class="ReportHeader" vAlign="center"> </td> <td class="ReportHeader" vAlign="center">Ticket</td> <td class="ReportHeader" vAlign="right">Comments</td> </tr>
<% Do While Not SQLResource.EOF %><tr> <td class="Property" vAlign="center" width="20"><%=SQLResource.GetProperty("StatusLED;SmallIcon")%> </td> <td class="Property"><a <%=SQLResource.GetProperty("NodeParamString")%> href="">thwack.solarwinds.com/.../View.asp mce_href="")%>"><%=SQLResource.GetProperty("Caption")%></a>">thwack.solarwinds.com/.../View.asp </td> <td class="Property"><a href="">thwack.solarwinds.com/.../View.asp mce_href="")%>"><%=SQLResource.GetProperty("Ticket")%></a>">thwack.solarwinds.com/.../View.asp </td> <td class="Property"><a href="">thwack.solarwinds.com/.../View.asp mce_href="")%>"><%=SQLResource.GetProperty("Comments")%></a>">thwack.solarwinds.com/.../View.asp </td>
</tr>
<% SQLResource.MoveNext Loop%></table><br>
___________________________________________________________________________________________
This will give you a field that displays which "node is down", the "ticket number" and any "comments" you include from your "Node Details" page! I'll post a pic when I can!
Hopefully this code finds it's way into version 9 I think it would be of great use...
Oh and after the node service is restored, the fields clear out so next time it pops up you will see it needs a ticket number and comments added!
Now if I could just figure out how to handle a bouncing router............
Best Regards All
Just tried that code and I'm not seeing any results, any ideas? I'm running NPM 9.5 SP3,
Sorry, but this code only works with .asp versions of Orion - basically V9.1 and earlier.
See this post from SW regarding this:(It seems SW has removed the notice which explains the end of .asp code support in 2009. At least I can't find it anymore)
Here is a post which assists in converting asp to asp.net code:
Searching forum I cannot find the v10 code for this type of customization. I ahve been able to piece together this code, but the custom property field is not returing:
<td class="Property" valign="middle" width="20"> <a href="thwack.solarwinds.com/.../View.asp Eval("NodeID")%>"> <%# Eval("SiteCode")%> </a> </td>
"SiteCode" is the Custom Property Field name.
This is the error I am receiving:
I apolgoize if this answer is posted somewhere else, however, I cannot find anything matching this. Thank you in advance.