means that
an experienced person's warning or action may have a sound reason even when that reason is not immediately apparent to others.
Imagine a case where someone with expirience who knows what he is doing; there is a reason for his acts.; then “An old dog barks not in vain” fits well.