Check the amount of jobs with a message wait (MSGW) in a specific file system (allJobHaveNoMsgWInSubSystem)¶
Description¶
| Description | Control all jobs in a specific file system, 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 | ||
| allJobHaveNoMsgWInSubSystem | 1 | Arguments order | Description | Exemple |
| Argument 1 | SubSystem name | QBASE | ||
| Argument 2 | Seuil Warning (quantité) | 1 | ||
| Argument 3 | Seuil Critical (quantité) | 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 | allJobHaveNoMsgWInSubSystem |
| ARGS | QBASE!1!2 |