I´ve tried %%host%% and %%hostname%% with no luck; I´m trying to save a timestamp-and-hostname log file script; in the meantime I´ll use %%date%% %%time%% to add the timestamp and manually add the hostname (and maybe current fortiOS version of the device at the time of the backup).
Regards!
Hi
Where can i find variable list?
Hi @Sam_FTNT We have some news about what's in thread?, since apparently the command "%%devname%%" fails to compile correctly.
Hello, all. I want to use system variables in my scripts, but none of the ones like %%date%%, %%hostname%%, or %%dev.id%% work. Any word on host to grab variables like dates, hostnames, device serials, etc?
User | Count |
---|---|
1922 | |
1144 | |
769 | |
447 | |
277 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.