How can you export current monitors that are running to a file to be able to import them onto a different network? We have secondary F5 that we want to have the same virtual servers, classes, pools etc as the primary. We have a script that can export all of that information out for each virtual server, but Im not sure where the custom monitors are saved in the filesystem to be able to export those as well.
A customized built-in monitor is stored in the bigip.conf config file. External/scripted monitors are usually stored in the /config/monitors folder. Scripts in this folder should be automatically saved when archiving a configuration.