// create a new monitor from config file
create a new monitor from config file
// create a new monitor from config file
func newMonitorFromConfig(configFile string) (*Monitor, error) {
	monitor := NewMonitor()
	err := utils.ParseConfigFile(configFile, monitor)
	return monitor, err
}
func newMonitorFromConfig ( configFile string ) ( * Monitor , error ) { monitor := NewMonitor ( ) err := utils . ParseConfigFile ( configFile , monitor ) return monitor , err }
create a new monitor from config file
create a new monitor from config file