-
Posts
789 -
Joined
-
Days Won
15
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by falconexe
-
-
17 minutes ago, falconexe said:
Ok, yep just did that as you were typing. So I have PERMANENTATLY fixed this. I gave the map a title called "Stream Origination" and now it is always visible. I also changed the COLOR of the blips to YELLOW for PLEX ha ha. I also added mouse wheel zoom ability.
To Edit the center, go to the right side of the panel settings and change the following by using a pre-selected area, or punch in some coordinates.
That is MUCH easier. Thanks for that tip. I have added you as a contributor, and this fix will be released in version 1.6!
Here is the updated PANEL JSON for those who just want this code now. 1.6 is a few weeks away...
@brent3000 & @abb0r let me know if you have any issues importing this. Just inspect the panel JSON on your end, remove what's there (Control + A then delete), copy the below code (Control + C), then paste it into your empty JSON area (Control + V). Click Apply, and then save your dash...
{ "circleMaxSize": "3", "circleMinSize": "3", "colors": [ "#FADE2A", "#FADE2A" ], "datasource": "Varken", "esGeoPoint": "geohash", "esLocationName": "location", "esMetric": "metric", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "gridPos": { "h": 15, "w": 12, "x": 6, "y": 54 }, "hideTimeOverride": true, "id": 11, "initialZoom": "4", "links": [], "locationData": "table", "mapCenter": "North America", "mapCenterLatitude": 40, "mapCenterLongitude": -100, "maxDataPoints": 1, "maxPerRow": 3, "mouseWheelZoom": true, "stickyLabels": true, "tableQueryOptions": { "geohashField": "geohash", "labelField": "full_location", "latitudeField": "latitude", "longitudeField": "longitude", "metricField": "metric", "queryType": "coordinates" }, "targets": [ { "alias": "$tag_region_code", "dsType": "influxdb", "groupBy": [ { "params": [ "latitude" ], "type": "tag" }, { "params": [ "longitude" ], "type": "tag" }, { "params": [ "full_location" ], "type": "tag" }, { "params": [ "name" ], "type": "tag" } ], "measurement": "Tautulli", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "hash" ], "type": "field" }, { "params": [], "type": "distinct" }, { "params": [], "type": "count" }, { "params": [ "metric" ], "type": "alias" } ] ], "tags": [ { "key": "type", "operator": "=", "value": "Session" } ] } ], "timeFrom": "33s", "title": "Stream Origination", "type": "grafana-worldmap-panel", "unitPlural": "Streams", "unitSingular": "Stream", "valueName": "current", "thresholds": "", "decimals": 0, "hideEmpty": false, "hideZero": false, "interval": "", "showLegend": false, "timeShift": null, "unitSingle": "" }
Then go into the new map and EDIT it. Find the center option, and change it to your personal preference. You can still use Google Maps to pin a custom location to get GPS coordinates.
- 1
-
31 minutes ago, mattekure said:
Ok, yep just did that as you were typing. So I have PERMANENTATLY fixed this. I gave the map a title called "Stream Origination" and now the panel header is always visible, and you can now edit the panel the normal way! I also changed the COLOR of the blips to YELLOW for PLEX ha ha.
To Edit the center, go to the right side of the panel settings and change the following by using a pre-selected area, or punch in some coordinates.
That is MUCH easier. Thanks for that tip. I have added you as a contributor, and this fix will be released in version 1.6!
-
11 minutes ago, mattekure said:
Check out https://grafana.com/grafana/plugins/grafana-worldmap-panel At the very bottom is a section that talks about changing the default center.
edit. You can change it by editing the panel. It was difficult to get the edit button to work, the hand wouldnt line up for me very well.
And then scroll to the bottom of the right hand side panel configuration. There will be a section where you put in the center.
I couldn't get the edit button to work, so I provided this manual tutorial below. Obviously, doing through a panel edit is MUCH easier LOL. Did you just keep trying? How did you get to the edit menu?
On 1/10/2021 at 2:32 PM, falconexe said:Ok, so here's how to change the default CENTER of the GeoLocation Map.
First click on Dashboard Settings (Gear Button) in the upper right of your dash.
Next Click on JSON Model to see the code.
Select All and Copy the Code into a Text/Code Editor. I am using "TextMate" on OSX in this example.
Search for the variable "mapCenterLatitude". Once found, delete the coordinates (between the quotes). Then on the very next line in the JSON code, find the "mapCenterLongitude" variable, and again delete the coordinates (between the quotes).
BEFORE:
"mapCenterLatitude": "37.9",
"mapCenterLongitude": "-94.9",AFTER:
"mapCenterLatitude": "",
"mapCenterLongitude": "",Next head on over to Google Maps. Set a Pin to where you want your new center to be. Right click the pin to see the coordinates. In this example I am using the Eiffel Tower. Click the coordinates and Google Maps will send them to your clipboard.
Put the new coordinates into the mapCenterLatitude (Left Coordinate) and mapCenterLongitude (Right Coordinate) variables.
Now SELECT ALL and COPY ALL of the JSON code from your text/code editor.
Next go back into Grafana, click the arrow in the upper left to back out of the previous JSON Model screen, and then click the Dashboards button (4 squares). Then select Manage.
Next, you are going click the Import button.
Then paste your modified JSON code into the following screen.
Finally, hit Load and give it a NAME, and a NEW UID by clicking the Change uid button, and save it in the folder of your choosing.
Now open your new modified dashboard and you will see that the map is now centered on the location of your choosing!
Note: We are making a second dashboard altogether. In case something goes wrong, you can always fallback on your original one. I am teaching it to you this way so that you get familiar with these steps and to instill best practices. NEVER globally modify (direct JSON code) your dashboard without making a backup copy first (by exporting your original JSON), or by importing your changes into a new dashboard entirely, thereby preserving your old one. This process is ONLY for dashboard wide global type changes AND NOT for panel modifications. You should always save your dash BEFORE AND AFTER making panel modifications, so that you can rollback to a previous save if your panel blows up.
Let me know if you have any questions. Good luck!
-
Hey guys. I am hard at work on VERSION 1.6!
I just came across an exciting new fix that I will be implementing in the next version to isolate variable contents to match the selected timeframe of the dashboard.
I recently swapped out some drives and noticed that the old ones, along with the new ones, were still showing up in the drive variable drop down menus. This was bugging the crap out of me, so I was determined to fix it. @GilbN and I were looking into REGEX and retention policies, but I stumbled on a way to use sub queries (tricky stuff) to isolate the variable content to exactly match the timeframe selected in the dash.
Source: https://github.com/jorgedlcruz/vmware-grafana/issues/27
TLDR:
- Old Drives Won't Show Up in the Drive Variables Anymore!
- Panels That Use These Variables Won't Show Stale Data Anymore!
The Details are Below:
So by using a sub query inside of a query, and filtering by the "time filter" (built in variable) you can have the variables be dynamic in the fact that only the variable values that were present during the selected timeframe will show up. So if you choose the last 24 hours, and you performed a drive swap 2 days ago, the old drive will no longer show up. Vice versa, if you select a week ago, the new disk will no longer show up, but the old one will. I tested this and it works awesome!
I am going to implement this across ALL of my variables to ensure they are dynamic.
Some Key Info:
- You Need to Set the Variable Refresh to "On Time Range Change"
-
The Variable Drop Down Menus ONLY Update Once a Time Filter is Selected (Changed)
- Example: Last Week to Last 24 Hours
- You Can Also Filter Variables by Setting a Specific Date Range (Calendar)
-
If a Timeframe Includes Overlap, the Drop Down Will Contain ALL Variable Values Present During that Overlap
-
Example: Drive Swap Occurred 2 Weeks Ago, and "Last Month" Time Range is Selected
-
Variable Drop Down Will Include Values For Both Drives
- Weeks 1-2 AND (Old Drive)
- Weeks 3-4 (New Drive)
-
Variable Drop Down Will Include Values For Both Drives
-
Example: Drive Swap Occurred 2 Weeks Ago, and "Last Month" Time Range is Selected
Here is an Example of the Implementation:
OLD Query: SHOW TAG VALUES FROM "diskio" WITH KEY = "ID_SERIAL"
New Query: SELECT DISTINCT("ID_SERIAL") FROM (SELECT * FROM "diskio" WHERE $timeFilter)
Example Results:
A Sandisk SSD drive was my old Unassigned Drive, and it was replaced by a Mushkin SSD drive.SanDisk Present / Mushkin Missing Because it Was Not Installed Yet (Last Month - 2020-12-01 thru 2020-12-07)
- You can see that the Mushkin Drive is Not Present at the Top
- You can see the SanDisk Drive Is Present
SanDisk Gone Because it Was Uninstalled/ Mushkin Present (Last Hour):
- You can see that the Mushkin Drive is Present at the Top
- You can see the SanDisk Drive Is Gone From the List
Let me know your thoughts!
-
1 hour ago, Joe L said:
Hi guys, anyone know what could be causing this error:
Error: Unable to establish IPMI v1.5 / RMCP session
2021-01-17T20:24:10Z E! [inputs.ipmi_sensor] Error in plugin: failed to run command /usr/sbin/ipmitool -H 192.168.0.131 -U telegraf -P telegraf -I lan sdr: exit status 1 - Error: Unable to establish LAN sessionThis is trying to connect to my Dell R710s IDRAC express using a new read only account iv created.
I have used the additional argument in telegrafs configuration that's supposed to download ipmi tools but my guess is it hasn't downloaded? Is there a easy way for me to test this / manually install ipmi tools? Still finding my feet when it comes to Linux based systems so my apologies if this is a obvious problem that iv failed to spot.
Thanks in advanced for any help.
Edit I'm on the most recent stable build of unraid and I have enabled my Idrac access over lan and can open a connection to it using the login iv given to telegraf in my browser.
Here is my telegraf conf section regarding ipmi I have changed username and password for obvious reasons everything else is identical.
I have not seen that one before... Did you runt the following Post Arguments in the Telegraf Docker to install IPMI?
-
7 hours ago, brent3000 said:
I had an issue with the map and this worked for me
Does anyone know how to set the defult location the map will load on? Its always loading the US first, being in Australia it would be ideal if it centred there first,
Yes, I answered this in detail a few pages back. Search the topic for “Map”. -
-
On 1/15/2021 at 3:21 PM, FreeMan said:
Just updated from 1.4 to 1.5 to confirm that I'm still having this odd issue.
I had replaced an older 4TB drive with a new 8TB drive, but left the old drive in the server when I booted it back up. Yes, this was a silly idea and I'm not sure why I did it, but I went ahead and added that drive to the Unassigned Drive(s) variable. I just upgraded a different 4TB to 8TB and removed both of the now unused 4TB drives (including the one that had been listed in Unassigned Drives).
However, the dashboard, under both 1.4 and now 1.5 are showing a constant 301.07MB/s read rate on the Unassigned I/O graph. As I understand it, with no devices assigned to the Unassigned Drives variable, nothing should be showing here. What would you recommend I do to trouble shoot?
The only customization I've done to my 1.5 install so far is to assign drives to the proper categories. I've yet to delete all the Plex stuff (I don't run it) or do any of my drive overrides to make nice names on the I/O and temp graphs.
Thanks, once again, for all your efforts on this!
I literally just went through this same issue after swapping my unassigned drives. What fixed it was a complete reboot of my UNRAID server and then clearing my browser cookies and restarting the dashboard. Try that and report back.
- 1
-
16 minutes ago, mudsloth said:
Sorry, I said that wrong. I am getting some data in Grafana, but not everything. Array and Cache utilization is populating, as well as CPU and RAM stats. In the top part for setting variables, though, none of my disks are listed when for specifying Flash, Cache, Parity, or Array drives. System temps and power info are not showing. I'm guessing my setup is the issue, though I have read through the instructions a few times. I'll check out the videos, too.
I was hoping the errors I'm getting would be recognizable to someone and there would be straightforward fixes. I'll keep fiddling with stuff.
Never seen those errors before. Sounds like DiskIO and/or SMART are having problems if you are not getting drives to populate in the variable drop downs. I’ll check back this weekend.
If any one else can assist, please chime in. Thanks guys!
-
-
1 minute ago, falconexe said:
Hi @SpencerJ. I’m seeing some odd behavior on an iPhone 12 Pro with Safari (latest ios).
The header is truncated. Any thoughts? I’ve cleared history and cookies and logged back in with no change.
I am unable to click any of the buttons/menus in this row because it is cut in half. So I cannot get to my own profile, change the theme to dark, etc...
-
Hi @SpencerJ. I’m seeing some odd behavior on an iPhone 12 Pro with Safari (latest ios).
The header is truncated. Any thoughts? I’ve cleared history and cookies and logged back in with no change.
-
1 hour ago, DisposableHero said:
Not like that! Mine barely registers. What were the charts? What was your timeline? -
2 hours ago, mudsloth said:
I'm having trouble getting this fully up and running. I feel like I've read through all the steps to get it setup and didn't have any questions as I went through the process, but I'm still not getting data into the dashboard. Pretty sure these 2 errors in my Grafana log are my issue:
I have a UPS that's giving me data in Unraid without issue. And I've installed the IPMI plugin, but I'm not sure if I need to do additional configuration on it to get it working.
Unfortunately, I'm crazy busy with my professional work, and will be until this weekend. I have not seen those before. And I find it odd that you getting ZERO data in Grafana. Usually if these 2 plugins were broken, you would get other stuff reporting at least. The fact that you have nothing sounds like a fundamental install issue with one of the 3 main dockers (Grafana/Telegraf/InfluxDB). Are you by chance using GUS?
Please check your docker parameters, docker config/ini files, all dependencies found on page 1 on this topic, and Gilbn's tutorial website if you haven't already. Also have a look at the video series that was posted a few pages back for some additional insight.
@GilbN, or anyone else, have any thoughts, or ever run into/seen this?
-
Hmm. You down for a virtual meeting? PM me if you are. We can figure it out.
@Boomháuer Please screenshot your query. We may have to refine the query with a GROUP BY clause and/or MATH (SUM).
-
43 minutes ago, Boomháuer said:
When I try to combine them using the server = "1" AND server = "2" I get N/A instead of a number. However, I can select server = "1" or I can select server = "2" and get the appropriate number of streams. I'll work on this some more and let you know what I come up with if I find anything.
SORRY. Use “OR”. Updated my original...it was late.This logic states look for server 1 or server 2.
It would be impossible for both servers to be (one server). So it can’t be both 1 and 2, but you can query 1 or 2 (giving you a dataset of both).
BOOLEAN LOGIC...
-
19 hours ago, falconexe said:
Yep it is that CRAZY SIMPLE:
Just add a Server Tag and select the Number of your Tautulli instance.
@Boomháuer There you go man!
You could also use this to COMBINE stats form multiple servers as well. So if you split libraries or something like that, you are covered. Or if you want to see your total LAN/WAN bandwidth across all PLEX streams across multiple servers, etc...
Just add 2 or more Server Tags like:
server = "1" OR server = "2"
- 1
-
Yep it is that CRAZY SIMPLE:
Just add a Server Tag and select the Number of your Tautulli instance.
@Boomháuer There you go man!
-
Just now, GilbN said:
I'm just guessing here but I would think the server id is added as a field tag in influx ect
Yep, I was just thinking the same thing...
-
17 minutes ago, GilbN said:
Don't think you need multiple varken datasources. https://wiki.cajun.pro/books/varken/page/configuring-multiple-servers
Nor sure how that looks in influx but I'm sure you add a variable to switch between
But you do need to reference the different Tautulli instances (Tautulli-1, Tautulli-2, etc.) within the Varken config somehow. Like I said, I haven't even looked at this, but maybe it is MUCH simpler than I thought.
-
3 hours ago, Boomháuer said:
@falconexe to just talk this through I'd need to create a Varken-2 datasource the same way I created the original Varken datasource and in that Varken-2 datasource I would need to reference in the configuration the Tautulli-2 instance that I need to get the second set of data from. Should I also split out the multiple Radarr and Sonarr instances while I'm at it, although since it's looking at different data and the libraries are not named the same this might not be an issue, but I figured I'd ask before I created Varken-2.
Do I just go into the original Varken and remove the Tautulli-2 instance and then restart the Docker Containers to get rid of it and enable the Varken-2 datasource? I'm a little fuzzy on the datasource variable but I get the idea so I'll cross that bridge when I come to it and I'm comfortable with editing the panels in the dashboard.
I do have to ask one question about the original Varken configuration. Maybe you don't know the answer to this but I thought I'd float it out there anyway and that's what is the purpose of being able to configure multiple Tautullis in Varken if we can't differentiate between the two? Do you know if this is a limitation of Grafana or how Varken is presenting the data? Just curious.Honestly, I haven't got that far and It's not a use case I have. I'm just guessing about the secondary datasource, but it does sound right when I think about it. Tell you what, I'll go through the motions when I get some time and setup a second Plex/Tautulli/Varken setup on my backup server to test this. Once I have it all figured out, I'll include it in a future UUD update (if it is possible and not a limitation).
Anyone else running 2 or more Plex servers? Is this is huge advantage for anyone else?
@Boomháuer If you happen to figure it out on your own, let me know how you solved it.
@GilbN I'm interested to get your thoughts/take on this. Feel free to chime in man.
3 hours ago, Boomháuer said:Thank you for your help and the awesome UUD.
You're welcome.
- 1
-
12 minutes ago, LoyalScotsman said:
You need to set all of the variables in the top of the dash, including the Unassigned Drive(s) one which drives this panel via the "$Drives_Unassigned" Variable. If you don't set these, most of the dash is DOA.
Note: This information was previously provided in post number 1 under the Dependencies section.
-
2 hours ago, mattekure said:
Thanks so much for making this. I finally got it all set up and working the way I want it to. Figured out how to compensate for the non-server hardware without the api. A couple of issues I ran into along the way.
Using the telegraf:latest, there were no instructions on adding lm_sensors. the apk add command doesnt work for it. But adding apt-get -y install lm-sensors did seem to work.
Also, after setting up varken and the plex monitoring stuff, I noticed that two of the panel types were not included with grafana by default, so they showed an error. It was the pie chart panel and the worldmap panel plugin. They were easy to install just by going to the grafana console and typing.
grafana-cli plugins install grafana-piechart-panel
grafana-cli plugins install grafana-worldmap-panel
Once I did that they worked just fine.
I updated the instructions in multiple areas to include these new Grafana plugin steps. These are in the Varken install guides, but it is also nice to have in-line...
Version 1.5 Release Notes:
Post Number 1 Dependencies:
- 1
-
1 hour ago, LoyalScotsman said:
So i got UUD version 1.5 installed and all appears to be working but a few items so I have a few questions see below
first question my Plex Library Growth is not working any advice see image below
Second question what is the "unassigned i/o (read & write)" pulling its data from cause the writing on it is very high even though I only have 1 unassigned device and its a 16GB USB "only using 534mb out of the full 16GB" so I'm a wee bit confused since the write is shown as high as 500GB any help would be appreciated
I have not removed the unassigned USB disk because it is setup for backup purposes but only gets writing to once a week.ask me any question if you require more info
Q1: Page 2:
You need to modify each of these Varken queries to account for your specific library name/path via the SECTION NAME tag. So for example, if you have "TVShows" instead of "TV Shows", you'll need to adjust that in each query as applicable:
Q2: Ensure your actual unassigned device is selected in the top drop down menu variable. Check the units on the field/override (right side of the screen). Also check the math division in the query to ensure it is correct. Clearly something is off with that... All of the UUD panels like this use bytes and use division to get GB or TB.
Ultimate UNRAID Dashboard (UUD)
in User Customizations
Posted
Yeah, I'll look into Last Hash and do some testing, but that make sense for a world wide dashboard such as the UUD.