MassimilianoPasquini97 / zbx_unifi_network

Zabbix Template for Unifi Network
MIT License
61 stars 10 forks source link

[PROBLEM] Cannot change port #15

Closed johnmacdowall closed 10 months ago

johnmacdowall commented 10 months ago

Checklist

Context

root@unifi:/etc# netstat -avpnt | grep 443 tcp6 0 0 :::8443 :::* LISTEN 242/java tcp6 0 0 192.168.1.45:8443 192.168.1.19:60095 ESTABLISHED 242/java tcp6 0 0 192.168.1.45:8443 192.168.1.19:60097 ESTABLISHED 242/java root@unifi:/etc#

I'm running unifi in a self-hosted (proxmox) VM. I cannot change the HTTP port in the java app or in your template.

Is there a way?

MassimilianoPasquini97 commented 10 months ago

Hi @johnmacdowall, on {$UNIFI.IP} macro you can set an alternative port from the default 443. In your case you need to set this macro with 192.168.1.45:8443 value.