Note: it is assumed that TORQUE is used as a resource manager and Maui as a scheduler. Tested with TORQUE 2.3.5 and Maui 3.2.6p21.
check_unused_reservations -H host -w Wtime -c Ctime
e.g. check_multi -H 10.10.1.23 -w 3600 -c 86400
check reservations on node 10.10.1.23
; state is WARNING if node has been in Idle state for 1 hour,
CRITICAL if in Idle state for 1 day