CPU usage¶
Description¶
| Description | Controls the time rate AS/400 CPU was used | |
| Operation | Ok if the CPU time rate is below warning threshold Warning if the cpu time rate goes above warning threshold Critical if the cpu time goes above critical threshold Can exceed 100% on uncapped partition | |
| Used API | QWCRSSTS, format SSTS0100 & SSTS0200 | |
| Required authority | *USE |
Command argument¶
| Command name | Number of arguments | Arguments | ||
| cpuUsage | 2 | Arguments order | Description | Exemple |
| Argument 1 | Warning threshold (%) | 80 | ||
| Argument 2 | Critical threshold (%) | 90 | ||
| Metrics returned | usage=xx% |
Network usage¶
| Download (as400 vers connector) | Download (as400 vers connector) |
| 1,7 ko | 1.5 ko |
Configuration exemple¶
| Macro name | Macro value |
| CHECK | cpuUsage |
| ARGS | 80!90 |