# check_jobqueue

This is a script to check the jobqueue in ISPConfig.
The script accepts only two arguments:

- seconds_critical
- seconds_warning

Example:
/usr/local/lib/nagios/plugins/check_jobqueue 180 120

The argument seconds_critical has the value 180(seconds) and the argument seconds_warning the value 120(seconds):
- The Script returns the status Warning if one Job is longer den 120 Seconds in the jobqueue.
- The Script returns the status Critical, if one Job is longer den 180 Seconds in the jobqueue.
- The Script returns in all the other Cases the status OK.
