License Key location

Status
Not open for further replies.

NathanD1337

Bronze Partner
Advanced Certified
Joined
Jan 18, 2021
Messages
5
Reaction score
3
Hi, Does anyone know where the actual license key location is via ssh.

I'm creating a script to extract the expiry date of the license to create an alert on our monitoring system when its up for renewal in x amount of days but I'm struggling to find the exact location of the file.

Thanks.
 
I doubt its in a file, it's likely in the DB itself.

3CX emails alerts pre-expiration - why not just use that as a reminder? Also a customer likely has only a few systems - it's the same date every year - why not configure your monitoring manually once?
 
I doubt its in a file, it's likely in the DB itself.

3CX emails alerts pre-expiration - why not just use that as a reminder? Also a customer likely has only a few systems - it's the same date every year - why not configure your monitoring manually once?
Yeah i've found it in the DB but cant find the expiry anywhere and reason behind it is we have over 50+vms so emails can get missed so its just easier if we can get it pushed through the monitoring system.
 
Yeah i've found it in the DB but cant find the expiry anywhere and reason behind it is we have over 50+vms so emails can get missed so its just easier if we can get it pushed through the monitoring system.
Ah, so more of a partner type situation. @BrenttG or @VoIPTools might have some insight on pulling the expiration programmatically.
 
You can gather the expiry date via the API with some quick reverse engineering.
A GET request to /api/SystemStatus will get you a lot of information, including the license expiration date.

But first, you need to get a token through a POST to /api/login with a json body containing the Username and Password fields.
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet