Fixes #4766: Adapt check-rudder-agent to agent frequency

http://www.rudder-project.org/redmine/issues/4766