// NewDeviceTemplate creates a new base template
NewDeviceTemplate creates a new base template
// NewDeviceTemplate creates a new base template
func NewDeviceTemplate(Age time.Duration, Tags string) *Devicetemplate {
	d := &Devicetemplate{
		XMLName:  xml.Name{},
		ID:       "customexexml",
		Name:     "prtgvmware",
		Priority: "40",
		Check:    Check{ID: "ping", Meta: "ping"},
		Create:   make([]Check, 0, 10),
	}
	d.Create = append(d.Create, pingSensor, port443(), snapShotSensor(Age, Tags))
	return d
}
func NewDeviceTemplate ( Age time . Duration , Tags string ) * Devicetemplate { d := & Devicetemplate { XMLName : xml . Name { } , ID : " " , Name : " " , Priority : " " , Check : Check { ID : " " , Meta : " " } , Create : make ( [ ] Check , 0 , 10 ) , } d . Create = append ( d . Create , pingSensor , port443 ( ) , snapShotSensor ( Age , Tags ) ) return d }
NewDeviceTemplate creates a new base template
NewDeviceTemplate creates a new base template
// add a ping sensor