Jump to content

Recommended Posts

Posted
10 minutes ago, beta666 said:

image.png.30b74fc468daf39f2063bdee3ee920dc.png

Does it work?

Posted (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.

 

 

image.thumb.png.741f8499c0ca469d11445177bcde6840.png

 

Edited by beta666
Posted
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 

  • Thanks 1
Posted

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

image.thumb.png.0c8b7166b85c85e325896e73353beb2a.png

Posted
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

image.thumb.png.0c8b7166b85c85e325896e73353beb2a.png

I haven't actually updated the dashboards after the many changes I've made. Perhaps @jaycedkcan provide you with his Dashboard?

Posted

Sorry mate, mine is highly customized, with a lot from my unraid server.

So more than half of it will not work. 

Posted

It also looks like he is using it with Emby server beta.

Have that been tested ?

Somethings might have changed.

Posted
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. 

  • Like 1
Posted

@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.

Posted

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"
}

Posted (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 by Bagul
Posted

Ok that not good.

Guess you will have to wait for @Luke

 

eduardopventura
Posted

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

Posted
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.

  • Thanks 1
  • 1 month later...
Posted
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 😕

Posted
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:

image.png.5850e63bf5347d4146361e59ab816006.png

 

Web token:

image.png.9acba75915c65b1350040a306b6c157e.png

Posted

It returns more data if the token is associated with an admin user.

Posted

@LukeIsen't that, when its created in the api keys section of the server, with that admin login ?

Posted

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.

Posted

Ok so how do we get around this at the moment ?

Can @Bagul use the web api to resolve it, or do we wait.

Posted

I looked at the swagger a bit. Can I authenticate with username and password to get an administrator token?

Posted

@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 😉

Posted
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.

  • Like 1
Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...