You can do it by using the "Custom HTML or Text" Resource type. The procedure is not obvious to detail...but I'll try. I assume you are using Orion version 9.1 as the code to use is different in that version compared to the previous ones.
First of all you will have to create a new view
Login the web console as an admin > click on Admin on the top bar > Manage Views
Click on Add and type the name of your view. Select Summary for the type of view. Click on Submit.
Click on + to add one or more Custom HTML or Text resources > Expand "Miscellaneous - Miscellaneous Resources" and select "Custom HTML or Text".
Click on Submit and repeat those steps to add more graphs...
Click on Preview and keep it opened. Click on Done on the first page.
Browse the web console to display a node page. There click on the title of the graph you wish to add in your view. e.g. Average Time & Packet Loss.
It will open the resource in a new page. There Right-Click somewhere on the page (but not on the chart) and display its source code.
Make a search on the following pattern: img src="/Orion
Copy the <img src=.../> tag and its content: e.g. :
< img src="/Orion/NetPerfMon/Chart.aspx?ChartName=AvgRT&Title=&SubTitle=&SubTitle2=& \\
Period=Last Month&PlotStyle=&FontSize=1&NetObjectPrefix=N&SubsetColor=& \\
RYSubsetColor=&ResourceID=14" style="border-width:0px;" / >
I added spaces besides the tags and in the string in order to display it correctly in the post.
Go back to the Preview page and edit the Custom HTML or Text resource, paste the code you copied in the Raw HTML field. Edit the name if you wish.
Click on Submit.
Use the same procedure for the rest of the graphs you need to add.
Once done, you might want to add a link on the top bar to access that custom view. Copy the URL of your Preview page.
Click on Admin > Customize Menu Bars
Edit your bar. Click on + to add a new link. Go to the very bottom and click on Add Custom Menu Item. Type a name and paste the URL of your custom view.
Click on Submit and so on...
Hope that helps.
That worked perfectly! Thanks so much for the detailed steps. :D
1 of 1 people found this helpful
Is there a way to get a list of complete arguments that each ASPX app could accept? I was using the following syntax in NPM 8:
However now I want to plot just average values in BPS, not % utilization.
I tried like you suggested:
That works, but I get no interface captions and no time scale. That still shows up on my old pages. It seems that the interface views page uses the CustomChart.ASPX, but if I use that exact link, I get nothing on my combined custom page. Any pointers would be really appreciated. Thanks.
Can you post a screenshot of the resulting graph based on the code you referenced?
This works now since upgrading to NPM 9.1 SP1. Just have to search for "img src="
Wow, I can't for the life of me find any of these references in our pages. We're running 9.0 SP2 (Sooon to be 9.1) is it that much different?
If I goto an interface on a node and search for any of these strings they're just not there, I have nothing that says <img src=
I know I'm doing it right as I get just the interface details on that new page that opens with none of the normal Orion stuff..
Anyone got any hints?
For the interface details in Orion 9.0 SP2, you will have to select the data within the < table > tags.
The issue for that resource (interface details) is that most of the data is not dynamic thus you will not see changes.
Only some of the charts/graphs are dynamic when you review the source code that's why you can use them through the custom HTML and Text resource.
If you still want to add that static code (e.g. for the name, alias, etc.), I attached a txt file to that post of what you have to copy.
BTW, the resource seems to be the same in 9.1 .
interfacedetails.txt 6.4 KB
That's the juice I was looking for!
Actually, looks like after a while it breaks and I get a blank graph... Is that the static/dynamic thing you mentioned before?
I never had this problem with 8.x, so what happened with 9.x and how can it be fixed? Seems that any graph I try to use doesn't work, and all of them that I had setup before with 8 no longer work..
You should definitely upgrade to 9.1 . The resource source code has been changed in that version.
Yeah, we're working on it.. Had some issues with our test box upgrade which kind of scared us.
I guess I won't mess with it until we've upgraded then..
Thank you, that worked perfectly
Thanks so much! this is exactly what I've been looking for since ever!