Bagul 177 Posted December 20, 2023 Author Posted December 20, 2023 10 minutes ago, beta666 said: Does it work?
beta666 0 Posted December 20, 2023 Posted December 20, 2023 (edited) 9 minutes ago, Bagul said: Does it work? Yes, it initially displays the data. How can I connect it to Prometheus? I tried using localhost:9210 but it's showing an error. Edited December 20, 2023 by beta666
Bagul 177 Posted December 20, 2023 Author Posted December 20, 2023 7 hours ago, jaycedk said: That depends on your setup of the exporter. The default port is 9210 Here is my prometheus setup snip - job_name: 'emby-exporter' scrape_interval: 15s static_configs: - targets: ["192.168.1.4:9210"] Like this 1
Turbofiero 5 Posted December 24, 2023 Posted December 24, 2023 Nice work, whats up with the dashboards provided in the OP and on github? the one from the OP has three wan address blocks and none of them actually contain the wan address? The one on github is even worse off
Bagul 177 Posted December 24, 2023 Author Posted December 24, 2023 6 hours ago, Turbofiero said: Nice work, whats up with the dashboards provided in the OP and on github? the one from the OP has three wan address blocks and none of them actually contain the wan address? The one on github is even worse off I haven't actually updated the dashboards after the many changes I've made. Perhaps @jaycedkcan provide you with his Dashboard?
Neminem 737 Posted December 24, 2023 Posted December 24, 2023 Sorry mate, mine is highly customized, with a lot from my unraid server. So more than half of it will not work.
Neminem 737 Posted December 24, 2023 Posted December 24, 2023 It also looks like he is using it with Emby server beta. Have that been tested ? Somethings might have changed.
Bagul 177 Posted December 24, 2023 Author Posted December 24, 2023 11 minutes ago, jaycedk said: It also looks like he is using it with Emby server beta. Have that been tested ? Somethings might have changed. Ah, yes. I'll test and update the Dashboard then. 1
Bagul 177 Posted December 24, 2023 Author Posted December 24, 2023 @Luke, has the /System/Info api changed? If I make a request on this api with a generated token, I no longer get information such as the WAN address. But if I retrieve a token from a browser query, I do get the information.
Neminem 737 Posted December 24, 2023 Posted December 24, 2023 Hmm that's odd, did you try the API directly in your beta server. I get this when I crawl the api http://192.168.1.4:8097/emby/System/Info?api_key=xxxxxxxxxxxxxxxxx { "SystemUpdateLevel": "Beta", "OperatingSystemDisplayName": "Unix", "HasPendingRestart": false, "IsShuttingDown": false, "OperatingSystem": "Linux", "SupportsLibraryMonitor": true, "SupportsLocalPortConfiguration": true, "SupportsWakeServer": false, "WebSocketPortNumber": 8096, "CompletedInstallations": [], "CanSelfRestart": true, "CanSelfUpdate": false, "CanLaunchWebBrowser": false, "ProgramDataPath": "/config", "ItemsByNamePath": "/config/metadata", "CachePath": "/config/cache", "LogPath": "/config/logs", "InternalMetadataPath": "/config/metadata", "TranscodingTempPath": "/config/transcoding-temp", "HttpServerPortNumber": 8096, "SupportsHttps": false, "HttpsPortNumber": 8920, "HasUpdateAvailable": false, "SupportsAutoRunAtStartup": false, "HardwareAccelerationRequiresPremiere": true, "LocalAddress": "http://172.17.0.8:8096", "LocalAddresses": [ "http://172.17.0.8:8096" ], "WanAddress": "http://xxx.yyy.zzz.qqq:8096", "RemoteAddresses": [ "http://xxx.yyy.zzz.qqq:8096" ], "ServerName": "Beta Server", "Version": "4.8.0.63", "Id": "XXXXXXXXXXXXXXXXXX" }
Bagul 177 Posted December 24, 2023 Author Posted December 24, 2023 (edited) { "SystemUpdateLevel":"Beta", "OperatingSystemDisplayName":"Unix", "HasPendingRestart":true, "IsShuttingDown":false, "OperatingSystem":"Linux", "SupportsLibraryMonitor":true, "SupportsLocalPortConfiguration":true, "SupportsWakeServer":false, "WebSocketPortNumber":8096, "CompletedInstallations":[ ], "CanSelfRestart":true, "CanSelfUpdate":false, "CanLaunchWebBrowser":false, "HttpServerPortNumber":8096, "SupportsHttps":true, "HttpsPortNumber":8920, "HasUpdateAvailable":false, "SupportsAutoRunAtStartup":false, "HardwareAccelerationRequiresPremiere":true, "LocalAddresses":[ ], "RemoteAddresses":[ ], "ServerName":"Emby XXX", "Version":"4.8.0.63", "Id":"XXXX" } When I use a generated token, all I get is this Edited December 24, 2023 by Bagul
Neminem 737 Posted December 24, 2023 Posted December 24, 2023 Ok that not good. Guess you will have to wait for @Luke
eduardopventura 0 Posted December 26, 2023 Posted December 26, 2023 Guys, I haven't even started, but just to understand. I'm going to use docker on top of unraid and I wanted to know where to put the geoip.mmdb file in this case
Bagul 177 Posted December 26, 2023 Author Posted December 26, 2023 2 minutes ago, eduardopventura said: Guys, I haven't even started, but just to understand. I'm going to use docker on top of unraid and I wanted to know where to put the geoip.mmdb file in this case If you use docker with the basic created image, everything is included, you don't need to do anything. 1
dylan62370 6 Posted February 3, 2024 Posted February 3, 2024 On 12/26/2023 at 6:47 PM, Bagul said: If you use docker with the basic created image, everything is included, you don't need to do anything. Hello ! Have you solved the problem since? I have the same problem myself
Bagul 177 Posted February 3, 2024 Author Posted February 3, 2024 8 hours ago, dylan62370 said: Hello ! Have you solved the problem since? I have the same problem myself Hello, I've been so busy, I haven't had time to look again. @LukeThe problem is still present on my side. With the generated token, I don't have access to the same information as with a token retrieved from the requests on my browser. Personal token: Web token:
Luke 39006 Posted February 3, 2024 Posted February 3, 2024 It returns more data if the token is associated with an admin user.
Neminem 737 Posted February 3, 2024 Posted February 3, 2024 @LukeIsen't that, when its created in the api keys section of the server, with that admin login ?
Luke 39006 Posted February 3, 2024 Posted February 3, 2024 Actually currently no user is assigned to them. It's one thing that needs to be updated is to let you pick the user when you create it.
Neminem 737 Posted February 3, 2024 Posted February 3, 2024 Ok so how do we get around this at the moment ? Can @Bagul use the web api to resolve it, or do we wait.
Bagul 177 Posted February 3, 2024 Author Posted February 3, 2024 I looked at the swagger a bit. Can I authenticate with username and password to get an administrator token?
Neminem 737 Posted February 4, 2024 Posted February 4, 2024 @BagulI just updated to 4.8.0.80 And It all works, besides Lan and Wan adresses. But its not at all a problem Its only a NICE to have feature
Bagul 177 Posted February 4, 2024 Author Posted February 4, 2024 On 2/3/2024 at 3:45 AM, dylan62370 said: Hello ! Have you solved the problem since? I have the same problem myself What problem are you talking about? 3 hours ago, jaycedk said: @BagulI just updated to 4.8.0.80 And It all works, besides Lan and Wan adresses. But its not at all a problem Its only a NICE to have feature I must admit I'm not too keen on asking for the user's username and password. I'm going to assign default values for the lan and wan addresses to avoid breaking the display. 1
Neminem 737 Posted February 4, 2024 Posted February 4, 2024 7 minutes ago, Bagul said: I must admit I'm not too keen on asking for the user's username and password. I fully agree with you that might be a slippery slope. 9 minutes ago, Bagul said: I'm going to assign default values for the lan and wan addresses to avoid breaking the display. If that's is possible or just remove it for the time being.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now