sakita wrote:The file isn't there unless the 'Discovery Tab' checkbox in Device Configuration is checked...
cmdline
cat /tmp/discovery.json
...I verified this behavior by turning the checkbox OFF and then rebooting to make sure the existing file was deleted. Turning it back ON did NOT require a reboot.
Here is an exact copy/paste of the configure for each being "true".
SIDE NOTE - FIRMWARE: 1.3.9
admin@NET-WAN1:/tmp# cat /tmp/config/discovery Ubiquiti true
cisco true
lldp true
admin@NET-WAN1:/tmp# ls -l-rw-r--r-- 1 admin root 19820 Nov 29 17:22 1hr.json
-rw-r--r-- 1 admin root 19699 Nov 29 17:22 30sec.json
-rw-r--r-- 1 admin root 19812 Nov 29 17:22 5min.json
-rw-r--r-- 1 admin root 23 Dec 31 1969 TZ
-rw-r--r-- 1 admin root 15060 Dec 31 1969 boot-config.json
-rw-r--r-- 1 admin root 32 Dec 31 1969 bootid
drwxr-xr-x 2 admin root 0 Dec 31 1969 config
-rw-r--r-- 1 admin root 124 Dec 31 1969 fstab
-rw-r--r-- 1 admin root 1779 Nov 29 17:22 lacpportstatus.json
drwxr-xr-x 3 admin root 0 Dec 31 1969 lib
drwxr-xr-x 2 admin root 0 Dec 31 1969 lock
drwxr-xr-x 4 admin root 0 Jan 7 1970 log
-rw-r--r-- 1 admin root 5181 Nov 29 11:18 mactable.json
srwxr-xr-x 1 admin root 0 Dec 31 1969 php.socket-0
srwxr-xr-x 1 admin root 0 Dec 31 1969 php.socket-1
-rw-r--r-- 1 admin root 5 Nov 18 14:27 pinger_start_date
drwxr-xr-x 2 admin root 0 Dec 31 1969 poe_override
lrwxrwxrwx 1 admin root 21 Dec 31 1969 resolv.conf -> /tmp/resolv.conf.auto
-rw-r--r-- 1 admin root 20 Dec 31 1969 resolv.conf.auto
drwxr-xr-x 2 admin root 0 Nov 29 12:47 run
-rw------- 1 admin root 21 Nov 29 17:22 sess_2bc27d0b1ab2eddccc383efbd892108e
-rw-r--r-- 1 admin root 18 Jan 1 1970 sfpstatus
drwxr-xr-x 2 admin root 0 Dec 31 1969 state
srwxr-xr-x 1 admin root 0 Dec 31 1969 stats.socket-0
-rw-r--r-- 1 admin root 6869 Nov 29 17:22 stats.tmp
-rw-r--r-- 1 admin root 686 Nov 29 17:22 stpstatus.json