Custom Task to Reboot Server Only if Required After Patching

(imported topic written by SJones99991)

Hi Folks,

I’m new to Bigfix so apologies if this has already been answered a million times before. I need to be able to package up a number of fixlets into a baseline and then reboot the server once the baseline has been applied if it needs to. If the server doesn’t need a bounce then I don’t want it to reboot, as we are trying to avoid unnecessary outages associated with patching. When scheduling the baseline there doesn’t appear to be an option to “Reboot the server on completion only if it needs to”, it seems to be an all or nothing kind of thing.

Does anyone know of a fixlet/task to reboot a server only if it is pending a reboot? If not, then does anyone know what Relevance code I could use to check for the pending reboot status and then only reboot the server if it needs it. If I can find something then I plan to package the fixlet/task along with the baselines that are created.

Servers in question will be Windows 2000/2003.

Many Thanks,

Stephen

(imported comment written by BenKus)

Hi Stephen,

You can add one of the three Fixlets on the BES Support site to the end of your baseline:

Restart Needed

Restart Needed - Not Triggered by a BES Action

Restart Needed - Triggered by a BES Action

Probably the first one (which takes into account all reasons the computer needs a restart – whether related to BigFix or not) is the one you want.

Ben

(imported comment written by SJones99991)

Thanks for your feedback Ben. One last thing - can you possibly post the url for these fixlets on the BES Support site. I can’t find them!

I’d appreciate your help.

Thanks,

Stephen

(imported comment written by BenKus)

Hey Stephan,

They are actually in the BES Support Fixlet site (not the BES Support web site)… Sorry, I could have made that more clear…

To find them, go to “Fixlets” in your Console and search for “Restart Needed”.

Ben

(imported comment written by SJones99991)

Thanks Ben - as you can tell I am very new to all this. Much obliged - Stephen