<?php
/*
.---------------------------------------------------------------------------.
| Software: WhoisUP - Is your host up or down? |
| Version: 0.1 |
| Site: http://code.google.com/p/whoisup/ |
| --------------------------------------------------------------------------|
| Authors: Fabio Semperboni |
| Blog: http://www.ciscozine.com |
| Twitter: https://twitter.com/ciscozine |
| Copyright (c) 2012, Fabio Semperboni |
| ------------------------------------------------------------------------- |
| License: WhoisUP is released under the GPL |
| This program is free software; you can redistribute it and/or modify |
| it under the terms of the GNU General Public License as published by |
| the Free Software Foundation; either version 2 of the License, or |
| (at your option) any later version. |
| |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU General Public License for more details. |
| |
| You should have received a copy of the GNU General Public License |
| along with this program; if not, write to the Free Software |
| Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA02110-1301 USA |
'---------------------------------------------------------------------------'
*/
$secret_key = 'whoisup';
$threshold = '10'; //Minutes
$refresh_time = '5'; //Seconds
$cookie_time = '24'; //Hours
$nmap_folder = '';
$script_folder = '';
$timezone_select = 'Europe/Rome';
$popup_alert = false;
$sound_alert = false;
$syslog_alert = false;
$mail_alert = false;
$sound_file = 'Alarm.mp3';
$syslog_server = '';
$syslog_port = '';
$syslog_facility = '';
$syslog_severity = '';
$mail_server = '';
$mail_port = '';
$mail_auth = false;
$mail_secure_protocol = '';
$mail_username = '';
$mail_password = base64_decode('');
$mail_from = '';
$mail_to = '';
$host_up_width = '213';
$host_down_width = '440';
//Don't change these settings
$file_ip_list = 'iplist.txt';
$file_tmp_xml = 'ip_report_tmp.xml';
$file_tmp_html = 'ip_report_tmp.html';
$sw_version = '0.1';
if (isset($timezone_select) && $timezone_select!=''){
date_default_timezone_set($timezone_select);
}
?>