Currently you link to the mbin provided_services file and parse a file structure which is not documented anywhere.
I think pollbal should have nothing to do with that file. I think we should create a new script in mbin which outputs just a list of host:port pairs that we need to poll and then we specify a link to that file in the pollbal configuration file.
So pollbal would just expect to have access to a file containing all services it should be polling, one on each line. Changes for this file should also be checked something like once a second and new list of services should be read on the fly.
Currently you link to the mbin provided_services file and parse a file structure which is not documented anywhere.
I think pollbal should have nothing to do with that file. I think we should create a new script in mbin which outputs just a list of host:port pairs that we need to poll and then we specify a link to that file in the pollbal configuration file.
So pollbal would just expect to have access to a file containing all services it should be polling, one on each line. Changes for this file should also be checked something like once a second and new list of services should be read on the fly.