hp-server-monitoring/cron.php
2019-11-11 15:45:17 +01:00

20 lines
496 B
PHP

<?php
defined('_VALID') or define('_VALID', true);
defined('_ADMIN') or define('_ADMIN', true);
require(__DIR__.'/includes/config.php');
require_once(__DIR__.'/includes/hpilo_functions.php');
require_once(__DIR__.'/includes/ssh_functions.php');
$server_ip = $config['ilo_server_ip'];
$username = $config['ilo_SSH_user'];
$password = $config['ilo_SSH_password'];
set_include_path('phpseclib');
include('Net/SSH2.php');
// startet den Auftrag!
getIloInfo($server_ip, $username, $password);
?>