Ejemplo n.º 1
0
if($argv[1]=="--amavis-watchdog"){echo "\n".AmavisWatchdog();exit;}
if($argv[1]=="--dnsmasq"){echo "\n".dnsmasq();exit;}
if($argv[1]=="--iscsi"){echo "\n".iscsi();exit;}
if($argv[1]=="--yorel"){echo "\n".watchdog_yorel();exit;}
if($argv[1]=="--watchdog-service"){echo "\n".WATCHDOG($argv[2],$argv[3]);exit;}
if($argv[1]=="--postfwd2"){echo "\n".postfwd2();exit;}
if($argv[1]=="--zarafa-watchdog"){zarafa_watchdog();exit;}
if($argv[1]=="--vps"){echo vps_servers();exit;}
if($argv[1]=="--crossroads-multiple"){echo crossroads_multiple();exit;}
if($argv[1]=="--smartd"){echo "\n".smartd();exit;}
if($argv[1]=="--watchdog-me"){echo watchdog_me();die();}
if($argv[1]=="--auth-tail"){echo auth_tail();exit;}
if($argv[1]=="--snort"){echo snort();exit;}
if($argv[1]=="--xload"){echo xLoadAvg();$GLOBALS["VERBOSE"]=true;exit;}
if($argv[1]=="--greyhole-watchdog"){greyhole_watchdog();exit;}
if($argv[1]=="--greensql"){echo greensql();exit;}




if($argv[1]=="--functions"){
	$arr = get_defined_functions();
	print_r($arr);
	die();
}



if($argv[1]=="--all-squid"){
	$conf[]=dansguardian_tail_status();
	$conf[]=squid_master_status();
Ejemplo n.º 2
0
}
if ($argv[1] == "--snort") {
    echo snort();
    exit;
}
if ($argv[1] == "--xload") {
    echo xLoadAvg();
    $GLOBALS["VERBOSE"] = true;
    exit;
}
if ($argv[1] == "--greyhole-watchdog") {
    greyhole_watchdog();
    exit;
}
if ($argv[1] == "--greensql") {
    echo greensql();
    exit;
}
if ($argv[1] == "--nscd") {
    echo nscd();
    exit;
}
if ($argv[1] == "--tomcat") {
    echo tomcat();
    exit;
}
if ($argv[1] == "--cgroups") {
    echo cgroups();
    exit;
}
if ($argv[1] == "--openemm") {