Comments
-
marcv Well, the part about showing 2 calendars is actually the default behavior for this type of chart. It will populate the entire year if you have even 1 data point within that year. So, it seems you have some data from the end of last year which is why that 2018 calendar is showing. Now, in regards to the only showing…
-
dunky2k Well, unfortunately Google does NOT provide an option to host the files locally, as I just learned it is against their ToS. That being said, if we were in a world where they didn't provide a download option, but it wasn't against their ToS, it would look like the only way to get all those files would be a bunch of…
-
antonis.athanasiou Also, don't forget to tag CourtesyIT when you are posting new ways to customize the Orion environments so he can add it to "The List"... How to do various customizations with your Solarwinds That list is a great place for the Thwack community to reference when looking to improve their site(s).
-
dunky2k Ah, yes, good catch. I didn't even think of it until you mentioned the DNS error. The script, as it stands, needs to connect to the base .js file, which is hosted by Google. To get around this, you can download the file from the first line or two of the code, and place it on your server. Then just redirect the…
-
Super cool stuff, antonis.athanasiou! Now we need to add some progress bars and time converter thingies too. Anything in the works to add more default options like this one, tdanner?
-
dunky2k Which version of the script are you running? Also, which browser are you using, and does that browser have any plugins/extensions installed? When the page loads, do you see any errors in the browser console log? (Chrome = F12/inspect page, then click on console to look at errors) If you are using the version with…
-
rschroeder I'm glad to hear you got it up and working with ease. While I'd love to take credit for this, my coworker, mblackburn, actually did all the heavy lifting. For the most part, the only thing I did was post it on Thwack. mblackburn is really the person deserving all the praise.
-
xtraspecialj I think that is a preset Google thing. I did not find any options for this, as I was definitely looking. I'm sure there is a way to do it, just sitting there out on the interwebs of life, waiting to be utilized. I don't really care to have the entire year up there either, but I have not yet found a way to do…
-
gundamunit1 Ah, I see... You can just add the following to the end of the query. ORDER BY VM.Name That should always order the list by name.
-
bavautom5 Yes, we did something similar with our event logs. We use the calendar to pick the day, which populates the pie charts, showing us a break down of where/how things were happening that day. Additionally, it also populates a paged list of the event logs in a simple table format. This, for whatever reason, loads…
-
gundamunit1 Being within a custom query resource, you should just be able to click the header for the "Name" column, and that should sort the page by name value.
-
bavautom5 That is very nice. I'll need to look into how to do this on a city/street level.
-
xtraspecialj I'm glad to hear this is working well for you. In regards to the duplicate results, I believe this was due to the poorly assembled query I put in there. I updated the content last week, so try re-downloading the attachment and try it again. https://thwack.solarwinds.com/docs/DOC-202667#comment-304566 Thank…
-
designerfx Did you get this working?
-
bharris I updated the attachment, which now includes 2 different versions, as well as adjusted the SWQL queries to refine the results. The attachment now includes a version without the custom properties (only 2 pie charts), as well as the original (4 pie charts). Try to use the option without custom properties, and see if…
-
**2018.07.13 | Updated Attachment to include a version WITH and WITHOUT the node custom properties for Area & Department, as those CPs were causing some confusion for some users** *Also, I have corrected/updated SWQL queries for the pie charts, which should now properly group results. (previously pie charts would have…
-
Great stuff, tomiannelli. Don't forget to tag CourtesyIT so he can list it on his list of lists.
-
dgsmith80 I mostly just did the high level research and the SolarWinds stuff. mblackburn did the deep dive and actual JS work, so he would probably know better than me. Having said that, I believe it might be a combination of the div settings (towards the end/bottom of the file contents, line ~253) and the "calendar: {…
-
I think I meant to say 5, 1 query for each graph.
-
designerfx there should be 4 different SWQL queries in the attached file, one for each graph. I believe you would need to update all of them to match your environment. Is that what you are asking, or did you do that and it not work?
-
mblackburn Yeah, it would have been better if we had an actual programmer instead of some nerf herding moof milker...
-
marcv You should not actually need to run config wizard for any changes to a .js file. Running the config wizard really only adds NEW files to the add widget/resource selection page. As far as I know, once the widget/resource shows up in your system (and you can select it), you should be able to edit it, and see the…
-
marcv Hold up a minute... Just out of curiosity, which browser are you using? It just occurred to me, I had used Chrome, almost exclusively, over the past several years. It was not until several months ago that I updated Firefox and started using it again. I just tested in Firefox, and mine doesn't open new tabs either.…
-
marcv What happens when you make the change in that default CustomQuery.js file, then test it on a regular customquery widget/resource? That CustomQuery.js file should be the control for all of your customquery widgets. The modified CustomSWQLViewsManager.js file, from here, should only be for the corresponding aspx file.…
-
marcv Well, that seems odd. What versions of which modules are you running? (copy/paste footer from any page within your environment.) And, just to make sure, you're making these changes on the same server on which you are checking them? (I have been known to, on more occasions than I care to admit, work on server A, while…
-
marcv Try changing that in the "CustomQuery.js" file instead, which should be in the same folder. It looks like I probably missed something in that custom resource, or perhaps enough somethings have changed since I put it out. I just verified it IS working, on Orion Platform 2018.2 HF6, SCM 1.0, NCM 7.8, NPM 12.3, DPAIM…
-
You always do great work, hcy01uk. Keep it up! (Please)
-
Good stuff there, dgsmith80!
-
dclick I checked it in SWQL Studios, and it appears to have worked for me. SELECTn.Caption,n.NodeID,case when nc.NodeID is null then 'Small-Relative-3.gif' ELSE 'Small-Relative-2.gif' END AS i1,case when nc.NodeID is null then 'Enable NCM' ELSE 'OK' END AS [NCM Status],case when ne.LoginStatus LIKE '%issues%' OR…