Pour plus d’informations sur les planificateurs dans Dotcom-Monitor, veuillez consulter la section Configuration des planificateurs de notre base de connaissances.

Méthodes disponibles

Exemple de connexion

Exemple d’objet JSON
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
{
"Id": 871,
"Name": "new scheduler",
"Description": "description",
"Weekly_Intervals": [{
"Days": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
"From_Min": 0,
"To_Min": 1025,
"Included": true
}, {
"Days": ["Su", "Sa"],
"From_Min": 0,
"To_Min": 1139,
"Included": false
}, {
"Days": ["Su", "Mo", "Fr", "Sa"],
"From_Min": 120,
"To_Min": 240,
"Included": false
}],
"Date_Time_Intervals": [{
"From": 1358712000000,
"To": 1358798400000
}],
"Assigned_To": {
"Devices": [],
"Notification_Groups": [612]
}
}
{ "Id": 871, "Name": "new scheduler", "Description": "description", "Weekly_Intervals": [{ "Days": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "From_Min": 0, "To_Min": 1025, "Included": true }, { "Days": ["Su", "Sa"], "From_Min": 0, "To_Min": 1139, "Included": false }, { "Days": ["Su", "Mo", "Fr", "Sa"], "From_Min": 120, "To_Min": 240, "Included": false }], "Date_Time_Intervals": [{ "From": 1358712000000, "To": 1358798400000 }], "Assigned_To": { "Devices": [], "Notification_Groups": [612] } }
{
"Id": 871,
"Name": "new scheduler",
"Description": "description",
"Weekly_Intervals": [{
"Days": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
"From_Min": 0,
"To_Min": 1025,
"Included": true
}, {
"Days": ["Su", "Sa"],
"From_Min": 0,
"To_Min": 1139,
"Included": false
}, {
"Days": ["Su", "Mo", "Fr", "Sa"],
"From_Min": 120,
"To_Min": 240,
"Included": false
}],
"Date_Time_Intervals": [{
"From": 1358712000000,
"To": 1358798400000
}],
"Assigned_To": {
"Devices": [],
"Notification_Groups": [612]
}
}

Description des champs

champ Type description

nom

corde

Nom du planificateur.

exemple:
"Scheduler_Name":"maintenance window"

description

corde

Description du planificateur.

exemple:
"Scheduler_Description":"some notes"

Weekly_Intervals

Tableau d’objets

Il s’agit d’intervalles qui se répètent sur une base hebdomadaire.

VALEURS DES JOURS POSSIBLES :

«Su», »Mo», »Tu», »We», »Th», »Fr», »Sa», »Su»

LE TRAITEMENT DES MOYENS EST ACTIVÉ
"Included":true
SIGNIFIE QUE LE TRAITEMENT EST DÉSACTIVÉ
"Included":true
exemple:
"Weekly_Intervals": [{
"Days": ["Tu", "We", "Th", "Fr", "Sa"],
"From_Min": 0,
"To_Min": 1025,
"Included": true
}, {
"Days": ["Su", "Sa"],
"From_Min": 0,
"To_Min": 1139,
"Included": false
},
]

Date_Time_Intervals

Tableau d’objets

Cela décrit intervalles sans répétition.

Le format de l’heure est donné en heure UNIX.

exemple:
"Date_Time_Intervals": [{
"From": 1358712000000,
"To": 1358798400000
}]

Assigned_To

Tableau d’objets

Champ LECTURE SEULE.

Ce champ reflète tous les appareils et groupes d’alertes auxquels ce planificateur est affecté.

exemple:
"Assigned_To":
{
"Devices":[8692],
"Notification_Groups":[612]
}