Agent plugin fix for Debian wheezy

AWK substr function says that "The first character of a string is character number one." Therefore zero should not be used as second argument.

Tested on AWK version mawk 1.3.3 Nov 1996.