Old license stats
Description
This alert fires when the last statistics sent to Spider server are too old.
Default configuration
"oldLicenseStats": {
"active": true,
"threshold": "PT13H",
"delayWhenInactive": "PT1H",
"delayWhenActive": "PT1M"
}
Mail
Content
The mail contains the date of last collection of stats, and the collected stats.
Sample
{
"endpoint": "https://...",
"name": "oldLicenseStats",
"status": "ACTIVE",
"since": "2023-02-15T15:07:46.589Z",
"lastCollectSent": "2023-02-14T20:00:05.317Z",
"lastStats": {
"startTime": "2023-02-14T00:00:00.000Z",
"stopTime": "2023-02-14T23:59:59.999Z",
"license": "CiaIZh_eQdKUy5hcwITl5w",
"endpoint": "https://...",
"range": {
"firstTime": "2023-02-14T07:48:39.867Z",
"lastTime": "2023-02-14T19:59:51.183Z"
},
"cpu": {
"count": {
"0": 140,
"8": 43760
},
"usage": {
"0": 140,
"1": 40,
"0.2": 37500,
"0.3": 2920,
"0.1": 2800,
"0.8": 20,
"4.5": 20,
"2.8": 20,
"1.6": 40,
"0.6": 80,
"0.4": 180,
"2.3": 40,
"0.5": 60,
"0.9": 40
}
},
"logs": {
"40": {
"count": 25,
"codes": {
"MONW-PARS-044": 24,
"MONW-PARS-036": 1
}
},
"50": {
"count": 73,
"codes": {
"MONW-PARS-0068": 72,
"MAILS-API-003": 1
}
}
},
"sessions": {
"0": 0,
"1": 0,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0,
"10": 0,
"11": 0,
"12": 0,
"13": 0,
"14": 0,
"15": 0,
"16": 0,
"17": 0,
"18": 0,
"19": 0,
"20": 0,
"21": 0,
"22": 0,
"23": 0
},
"actions": {
"0": 0,
"1": 0,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0,
"10": 0,
"11": 0,
"12": 0,
"13": 0,
"14": 0,
"15": 0,
"16": 0,
"17": 0,
"18": 0,
"19": 0,
"20": 0,
"21": 0,
"22": 0,
"23": 0
},
"parsing": {
"sessionsParsed": 0,
"comsCreated": 0
},
"uploaded": {
"bytes": 0,
"packets": 0,
"tcpSessions": 0
},
"stored": {
"monitoring": 0,
"operations": 0,
"utils": 0,
"config": 0
},
"whisperers": 0,
"users": 0,
"usersOnMonth": 0
}
}