Ejemplo n.º 1
0
if($argv[1]=="--sabnzbdplus"){echo "\n".sabnzbdplus();exit;}
if($argv[1]=="--openvpn-clients"){echo "\n".OpenVPNClientsStatus();exit;}
if($argv[1]=="--stunnel"){echo "\n".stunnel();exit;}
if($argv[1]=="--meta-checks"){echo "\n".meta_checks();exit;}
if($argv[1]=="--smbd"){echo "\n".smbd();exit;}
if($argv[1]=="--vnstat"){echo "\n".vnstat();exit;}
if($argv[1]=="--munin"){echo "\n".munin();exit;}
if($argv[1]=="--autofs"){echo "\n".autofs();exit;}
if($argv[1]=="--greyhole"){echo "\n".greyhole();exit;}
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();
Ejemplo n.º 2
0
    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") {