}
push = null;
}
if (push != null) {
Class klass = null;
Pusher pus = null;
try {
klass = Class.forName(push.getPusherClass());
pus = (Pusher)klass.newInstance();
String cgidir = push.getParam("cgidir").getValue();
if (cgidir.startsWith("/")) {
cgidir = getStringParam("nagiosbase") + cgidir;
}
String cgifile = push.getParam("cgifile").getValue();
cgidir += "/" + cgifile;
// the params for the command
pus.initialize(cgidir);
pus.setPushManager(_pushManager);
outval = pus.push(command);
} catch (ClassNotFoundException ex) {
ex.printStackTrace();
} catch (InstantiationException ex) {
ex.printStackTrace();
} catch (IllegalAccessException ex) {