Forum Discussion

DaveP_01_139154's avatar
DaveP_01_139154
Icon for Nimbostratus rankNimbostratus
Mar 10, 2014

Syntax Error: "sys" unexpected argument - Error when trying to create iCall on LTM

Hello,

 

I am trying to implement the GTM Monitor Weight Change iCall from the following location:

 

https://devcentral.f5.com/wiki/iCall.GTM_Monitor_Weight_Change.ashx

 

In tmsh I am executing the following command:

 

create sys icall script gtm_score_changer

 

I then remove all the default code and paste the code for the script portion from the example.

 

The problem is when I got to save/quit I am getting the following error:

 

Syntax Error: "sys" unexpected argument

 

Any ideas?

 

3 Replies

  • Christian_30338's avatar
    Christian_30338
    Historic F5 Account

    Looking at the link you provided, from the example iCall script you want to copy and paste from line 13 to line 63. See if that helps.

     

  • Christian_30338's avatar
    Christian_30338
    Historic F5 Account

    Looking at the link you provided, from the example iCall script you want to copy and paste from line 13 to line 63. See if that helps.

     

  • I actually ended up finding the issue. It was due to the following:

     

    set pool_list [[tmsh::get_config ltm pool icall_pool members]

     

    There are two open brackets and only one close bracket. Unfortunately the error I was getting did't mention that at all.

     

    I am having another issue now, where the periodic handler isn't running even though it is set to run every 10seconds. Is there a command to manually run an iCall script just to confirm it works?

     

    Thank you,