Check the amount of jobs with a message wait (MSGW) (allJobHaveNoMsgW)¶
Description¶
| Description | Control all jobs , the as400 , and check that they are not waiting for a message ( MSGW ) |
| Operation | OK if the number of job waiting for a message is less or equal to the warning count WARNING if the number of job waiting for a message is less than the critical count CRITICAL if the number of job waiting for a message is equal or greater to the critical count |
| Used API | QGYOLJOB format OLJB0200, QGYGTLE, QGYCLST |
| Required authority | *USE |
Command argument¶
| Command name | Number of arguments | Arguments | ||
| allJobHaveNoMsgW | 1 | Arguments order | Description | Exemple |
| Argument 1 | Warning threshold (amount) | 1 | ||
| Argument 2 | Critical threshold (amount) | 2 | ||
| Metrics returned | totalJob=1234 jobMSGW=1 | |||
| Output returned | Job name waiting for messages |
Network usage¶
| Amount of jobs on the server | Download (as400 to connector) | Upload (connector to as400) |
| 1 (theoretic) | 77 o | 2,3 o |
| 10000 | 750 ko | 23 ko |
Configuration exemple¶
| Macro name | Macro value |
| CHECK | allJobHaveNoMsgW |
| ARGS | 1!2 |