Forum Discussion
Getting error on i call script
Hi Experts
Getting error while running the below line in bigip_script.conf
set dev_objs [tmsh::get_status /ltm node /Common/AFG-98-XCAP]
Full error in log:-
Apr 15 07:50:13 xxxx-LB02 err scriptd[11888]: 014f0013:3: Script (/Common/down_xcap-98) generated this Tcl error: (script did not successfully complete: (field not present: "status" while executing "tmsh::get_field_value $dev_obj "status"" ("foreach" body line 2) invoked from within "foreach dev_obj $dev_objs { set STATUS_1 [tmsh::get_field_value $dev_obj "status"] }" line:4))
2 Replies
- sumanta_ghosh_1
Nimbostratus
This is the entire code for checking one node status:- This script is triggered via alertd and will only trigger when a node is DOWN Node XCAP-98 status set dev_objs [tmsh::get_status /ltm node /Common/AFG-98-XCAP] foreach dev_obj $dev_objs { set STATUS_1 [tmsh::get_field_value $dev_obj "status"] } - Hi Experts What is the difference between "status" and "status.availability-state"? Where do we get all the variables and their values used on the F5?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com