Skip to main content
LVHan
New Member
Dec 9, 2025 3:23 AM UTC
Question

Script with metadata

Is it possible to retrieve metadata on scheduled cli or tcl script.

i create meta variable $(ip)


I tried on script cli variable $(ip) "$(ip)" '$(ip)' $ip

 

2 replies

farhanahmed
Staff
Staff
Dec 10, 2025 7:45 PM UTC

@LVHan Using meta-variable in CLI script works fine. But I think it does not work for TCL Script.

Translate
www.farhan.ch
LVHan
LVHanAuthor
New Member
Dec 15, 2025 3:06 PM UTC

I know what happen
CLI script metadata variable can be retrieve by running on local database , if running on remote CLI FortiManager itself wont retrieve the metadata variable

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024