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
I had implemented a CustomProperty way back in the 7x NPM but eventually removed it because I couldn't figure out how to clear the "ticket/comments" fields after a node came back up. Each time a node went back down, the "old" custom property data was still in the database and it was causing confusion. I might have to give this another go if your process actually clears the information on an UP event!