Send refresh to multi server

hey,
how can i send a refresh to multi servers from in bigfix console but with commands!, not directly - (right klick send refresh)

Hello iftachzi,

You may run an action (targeted to Clients you want to refresh) with the following command:
notify client forcerefresh​

More details:
https://developer.bigfix.com/action-script/reference/client/notify-client.html

Regards,
Vitaliy

1 Like

@vnovik
hey, thank you
how to write it ? and where?

Steps to create a custom action:
https://www.ibm.com/support/knowledgecenter/en/SSQL82_9.5.0/com.ibm.bigfix.doc/Platform/Console/c_take_custom_action.html

The following command is an action script:
notify client forcerefresh​

Regards,
Vitaliy

@vnovik
thanks, and i can do that this action will start over and over any hour?

If you want the action to run perpetuity (as a Policy) you may de-select the “Ends on” checkbox located on the “Execution” tab.
For this kind of action (policy) you might want to create a task first.

Here are some steps about creating a policy action:
https://www-01.ibm.com/support/docview.wss?uid=swg21505995

Plesae make sure you do NOT run this kind of action too often: the ForceRefresh command results in a full report, which may take a long time. When the ForceRefresh command is received, the client resets its position in background Fixlet evaluation to the beginning, sets the cpu usage target to the WorkNormal/SleepNormal values, and begins an evaluation pass.

Also please note that the ForceRefresh command does not always result in a full report. If certain other commands are received while the ForceRefresh is being processed, those commands can override the ForceRefresh. Those commands include: another ForceRefresh or ForceRefreshMV, GatherAction or GatherActionMV, GatherHash or GatherHashMV, ResendReport, and Register. When these commands are received, the ForceRefresh operation is aborted.

Regards,
Vitaliy

1 Like

I have to second the suggestion above that sending refreshes to endpoints (especially multiple endpoints) on a regular basis should NOT be done. Not only is there overhead for the Client, but it takes a LOT more time for the Root Server to process full reports.

What is the use case here?