@Override
public List<JdrCommand> getCommands() throws Exception {
Sanitizer passwordSanitizer = Sanitizers.pattern("password=.*", "password=*****");
return Arrays.asList(
new RHQStatusCommand(),
new RHQCollectFiles("bin/rhq-server.properties").sanitizer(passwordSanitizer),
new RHQCollectFiles("logs/server.log").limit(50 * Utils.ONE_MB),
new RHQCollectFiles("logs/server.log*").omit("logs/server.log"),
new RHQCollectFiles("logs/rhq-storage.log")
);
}