include script in monitor types

This commit is contained in:
ibesoft
2019-09-10 08:53:38 +01:00
parent 494e09c152
commit dc56693500

View File

@@ -8,7 +8,7 @@ var monitorSchema = new Schema({
createdById: { type: String, ref: 'User' }, //userId.
type: {
type: String,
enum: ['url', 'device', 'manual','api']
enum: ['url', 'device', 'manual','api', 'script']
}, //type can be 'url', 'process', 'machine'. We can monitor URL, a process in a machine or a server itself.
monitorCategoryId: {
type: String,