Get Virtualizor

Edit Master Configuration

Use the Edit Master Settings API to update the master configuration of the Virtualizor master server.

Virtualizor supports master slave cluster architecture. Master settings are the global settings, which means any settings saved on master will reflect on all of its slave servers.

The API response will contain "done" as "1" on successful update of the master settings. There are many settings which are available in master settings as well as slave settings so Virtualizor will give preference to the master settings until the same setting is saved for the slave setting.

HTTP Request

https://hostname:4085/index.php?act=config

Parameters

NameMethodValueDescriptionRequired
actGETconfigThe action will display all the configuration related to master serverYes
editsettingsPOST1/0If set then the settings will be edited and savedYes
snPOSTtextThe name of the server or company using VirtualizorYes
site_domainPOSTtextThe domain of the serverNo
logo_urlPOSTtextThe url of logo imageNo
logo_login_urlPOSTtextThe url of logo at the login imageNo
supportPOSTtextThe support URL which will be displayed in the Enduser panelNo
copyrightPOSTtextThe Copyright that appears in the footerNo
gzipPOST1/0This will compress outputNo
soft_emailPOSTtextThe email address for the FROM headersYes
sess_lenPOSTIntSeconds before an unused session timesoutYes
languagePOSTtextThe preferred language refer below table for languagesYes
theme_folderPOSTtextThe default theme for the virtualizor panel value is defaultYes
timezonePOSTIntThe time zone, Refer below table for valuesYes
cpu_nmPOST1/0Show the CPU Model name in all VPSNo
enable_rdnsPOST1/0If checked then the Reverse DNS will be ON for VPS. However you will need to setup the DNS serversNo
auto_add_zonePOST1/0If checked, rDNS zones will be auto created for records whose zones are not presentNo
curl_timeoutPOSTIntIf set than Virtualizor will use this value as CURL time out. Default is 3. Please set greater than 3 if you want to change the timeoutNo
del_novps_userPOST1/0If checked, then users with no VPS will be deleted on a daily basisNo
pass_strengthPOSTIntIf set, users will be forced to set the password of specified strengthNo
turnoff_virtdfPOST1/0If checked, virt-df will be not be used to get the disk usage in hourly cron, and the disk usage will be detected on startup of individual VPS(s).No
del_slave_ostemplatePOST1/0If checked then OS template from all Slave servers will be deleted. This is useful to save space on the slaves. But it will require much more bandwidth as the template will be redownloaded every time a VPS is created.No
keep_orphan_templatePOST1/0If checked, then Orphan OS template which are not added to Virtualizor will not be deleted.No
disable_virttopPOST1/0If checked, statistics about CPU and DISK I/O of VPS on supported hypervisors will not display the values.No
showsearchPOST1/0If checked, Search Box will be displayed on pages where applicable in the admin panel.No
enable_idsortPOST1/0If checked newly created VPS will be shown firstNo
default_sg_namePOSTtextIf not set then Default will be shown on Server Group which is created by default by VirtualizorNo
default_sg_reseller_namePOSTtextThe name of the server group that will be shown to resellers. If not set Default will be setNo
default_sg_descPOSTtextSet the default Server Group DescriptionNo
interfacePOSTtextThe public network interface of the server. If left empty, eth0 will be assumed as the default interface.No
node_bandwidthPOSTIntThe total bandwidth of the Node in GB. If set to Zero, the bandwidth calculation will assume unlimited bandwidthNo
vps_bandwidth_thresholdPOSTIntIf set to Zero bandwidth threshold email will be disabled. Value in %No
ping_ipPOSTtextWhen the Virtualizor Bridge Network is started it will try to ping to this IP to check if the server has connectivity. If empty, then Virtualizor will ping 4.2.2.1No
band_suspendPOST1/0Global setting to disable the Bandwidth Suspension from all the VPSNo
band_calc_creationPOST1/0This option will calculate the bandwidth as per the VPS service period. For example, if the VPS is created on 15th Jan, the bandwidth calculation will be from 15 Jan to 14th Feb.No
speed_cap_disablePOST1/0Global setting to disable VPS network speed cappingNo
haproxy_enablePOST1/0This allows VPS(s) to host services on private IPs that can be accessed through internetNo
haproxy_reservedportsPOSTtextList of source ports which will not be allowed for HAProxy. Multiple ports should be separated by ',' and port range must be specified with '-'. (eg: 26,99,1001-1005)No
haproxy_reservedports_httpPOSTtextList of source ports reserved for HAProxy to be used only for HTTP and HTTPS protocol i.e. these ports will not be allowed for any TCP ports in HAProxy. Multiple ports should be separated by ',' and port range must be specified with '-'. (eg: 26,99,1001-1005)No
haproxy_allowedportsPOSTtextList of source ports allowed to be used for any protocol for HAProxy. If left blank, any port available will be allowed to the userNo
novncPOST1/0This option will enable the HTML5 VNC viewer along with the JAVA VNC ViewerNo
novnc_master_onlyPOST1/0If enabled, only the Master will have the noVNC Websocket serviceNo
disable_java_vncPOST1/0This option will disable JAVA VNC ViewerNo
novnc_server_namePOST1/0If enabled, then the server name (instead of its IP) will be used as the host to access the noVNC serviceNo
xen_dom0memPOSTIntIn Xen, the Domain-0 is the physical node. This will set the memory available to the Domain-0. The remaining memory of the physical node will be available for the VPS (only for Xen And Xen HVM)No
pv_on_hvmPOST1/0Global setting to enable PV-on-HVM for all the new VPSes(only for Xen And Xen HVM)No
vswapPOST1/0Enable VSwap for this server. This will be effective only if RHEL/SL/CentOS 6 is the Operating System of the NODE.No
ploopPOST1/0Ploop will be enabled for all newly created VPS.No
enable_ppp_cpPOST1/0Enable PPP settings in Client panelNo
enable_tuntap_cpPOST1/0Enable Tun/Tap settings in Client panelNo
enable_fuse_cpPOST1/0Enable Tun/Tap settings in Client panelNo
enable_ipip_cpPOST1/0Enable IPIP settings in Client panelNo
enable_ipgre_cpPOST1/0Enable IPGRE settings in Client panelNo
enable_nfs_cpPOST1/0Enable NFS settings in Client panelNo
enable_quotaugidlimit_cpPOST1/0Enable QUOTAUGIDLIMIT settings in Client panelNo
enable_iolimit_cpPOST1/0Enable IO Bandwidth Limit settings in Client panelNo
enable_iopslimit_cpPOST1/0Enable IOPS Limit settings in Client panelNo
enable_consolePOST1/0Enable Serial console for OpenVZ containers. Warning, SSH users will be created on the OpenVZ Nodes for users to use this feature.No
openvz_suspend_loadPOSTIntIf set, load (uptime) of each VPS for the past 5 minute will be checked and if it is higher than the set value, VPSes will be suspendedNo
disable_icons_monitorPOST1/0Disable the Monitor icon for the endusersNo
disable_icons_cpPOST1/0Disable the Control panel installation icon for the endusersNo
enable_enduser_vncPOST1/0If enabled, the user can turn on/off the VNC of his VPSNo
show_serverPOST1/0If enabled, Endusers can see the Server name or Location of the VPSNo
disable_apicredentialPOST1/0If checked than users will not be able to generate API credentials.No
disable_recipesPOST1/0Disable Recipes for the endusersNo
eu_allow_virtioPOST1/0If enabled, users can enable/disable virtio for their VPS(s)No
disable_rescuePOST1/0Disable Rescue mode for the endusersNo
disable_change_hostnamePOST1/0Endusers will not be able to change the hostnameNo
disable_change_passwordPOST1/0Endusers will not be able to change the password of their VPSNo
disable_vps_configPOST1/0Endusers will not be able to change VPS configurationNo
disable_os_reinstallPOST1/0Endusers will not be able to reinstall the OSNo
disable_sshPOST1/0Endusers will not be able to access SSH from panelNo
disable_suspend_emailPOST1/0Enduser will not receive any email on VPS suspensionNo
disable_self_shutdownPOST1/0Enduser will not be able to schedule power option(s) from enduser panelNo
disable_server_locationPOST1/0If checked the server location on map in the enduser panel will not be displayedNo
disable_enduser_sshkeysPOST1/0Enduser will not be able to add SSH Keys to his VPSNo
disable_vgaPOST1/0If checked, the Enable VGA option in VPS Configuration dialog in the enduser panel will not be displayedNo
enable_nicPOST1/0If enabled, then user can manage NIC (Network Interface Card) of their VPSNo
enable_2faPOST1/0If checked, Two factor authentication will be enabled for endusers. But they will have to enable which method they want from enduser panelNo
2fa_email_otpPOST1/0If checked and if no method is set from enduser panel, Two factor authentication via Email will be enabled for endusersNo
enable_eu_isoPOST1/0If checked, allows the enduser(s) to add their own custom ISOs from the Enduser panelNo
eu_iso_sizePOSTIntSpecify the maximum size of an ISO that a enduser can download. If not specified, 5120 MB will be set as the default size.No
eu_iso_limitPOSTIntSpecify the number of ISOs an enduser can download. If not specified, 3 will be set as the default limit.No
eu_iso_spacePOSTIntThe total space for ISOs allowed per enduser. If not specified, 5120 MB will be set as the default space.No
eu_iso_del_hrPOSTIntIf specified, Enduser ISO(s) will be deleted after specified hoursNo
cloud_allow_virtioPOST1/0If enabled, cloud users can enable/disable virtio for their VPS(s)No
disable_login_logoPOST1/0If checked the Logo will be hidden at Login for the endusersNo
enable_cbPOST1/0If checked, changes in the Virtualizor panel will be reflected in the billing panelNo
cb_urlPOSTtextFull URL to the callback file. For e.g if you are using WHMCS the url will look like billing.xxxx.com/whmcs/modules/servers/virtualizor/callback.phpNo
cb_use_httpsPOSTIntUse 0 for http protocol or 1 for https protocol for the callback urlNo
reset_cb_hashPOST1/0If set the Callback Hash used for authentication purpose wil be resetNo
cb_suspendPOST1/0If checked then Callback will be enabled for VPS suspensionNo
cb_unsuspendPOST1/0If checked then Callback will be enabled for VPS unsuspensionNo
cb_hostnamePOST1/0If checked then Callback will be enabled when the VPS Hostname is changedNo
cb_terminatePOST1/0If checked then Callback will be enabled for VPS terminationNo
cb_changeipsPOST1/0If checked then Callback will be enabled when the VPS IP(s) are updatedNo
login_attemptsPOSTIntThe number of attempts allowed before banning the IP for a period of time specified in the Failed Login Ban TimeNo
login_ban_timePOSTIntThe time in minutes to ban the IP of the user who has crossed the Max Login AttemptsNo
secure_allowed_ipsPOSTtextList of IPs which are allowed to access Virtualizor Admin panel. If set, only these IPs will be allowed to access Admin panel. If more than one IP, IPs must be separated by ','. If left empty, no restrictions will be imposed on IPs allowed. Currently supporting only IPv4 IPNo
queue_creationPOSTIntIf you set the value to 2, only 2 VPS will be created at a time. Other creation processes will be queuedNo
disable_master_vpsnamePOST1/0By default the Master decides the VPS name and uses the highest VPS name available in the Cluster. If this is checked, the VPS name will be decided by each individual slave server.No
custom_macPOSTtextInitial 3 Octet for auto generated MAC addresses of VPSes. If not set then default value 00:16:3e will be usedNo
set_def_hvmPOST1/0Select this option to set HVM as default for VPS creation on supported hypervisorsNo
addvs_cpu_prioPOSTIntThe amount of CPU time the VPS creation process will get. Values from 19 (least favourable) to -20 (most favourable)No
addvs_io_prioPOSTIntI/O priority for the VPS creation process. Values from 0 (most favourable) to 7 (least favourable)No
addvs_io_classPOSTIntI/O class for the VPS creation process (1 for Real Time, 2 Best Effort and 3 fro IDle)No
backup_queuePOSTIntMax number of simultaneous enduser backup operations allowed. Set -1 for unlimited.No
restore_queuePOSTIntMax number of simultaneous enduser restore operations allowed. Set -1 for unlimited.No
disable_backup_cpPOST1/0Disable Backup in Client panelNo
backup_emailPOSTtextThe email where backup / restore mails for success and error messages will be sent.If empty, the mails will be sent to the site admin email.No
backup_disable_success_mailPOST1/0If checked, the backup / restore success mails will not be sent to the admin.Error mails will always be sent regardless of this setting.No
updatePOSTIntIf enabled Virtualizor will automatically update itself to the latest version(0 for Never Update,1 for Stable branch and 3 for Release Candidate )No
email_updatePOST1/0Will send emails when Virtualizor upgrades are available or Auto Upgrade is performedNo
email_update_clientPOST1/0When a new VPS is created, no email will be sent to the clientNo
admin_logsPOSTIntAdmin logs will be saved for the specified number of days. (0 for infinite retention)Yes
vps_logsPOSTIntVPS logs will be saved for the specified number of days. (0 for infinite retention)Yes
login_logsPOSTIntLogin logs will be saved for the specified number of days. (0 for infinite retention)Yes
system_logsPOSTIntVPS System Logs will be saved for the specified number of days. (0 for infinite retention)Yes
status_logsPOSTIntVPS Status Logs will be saved for the specified number of days. (0 for infinite retention)Yes
bandwidth_logsPOSTIntBandwidth Logs will be saved for the specified number of days. (0 for infinite retention)Yes
haproxy_cron_logsPOSTIntHAProxy Cron Logs will be saved for the specified number of days. (0 for infinite retention)No
del_tasksPOSTIntTasks will be saved for the specified number of days. (0 for infinite retention)No
alert_load_limitPOSTIntIf the 15 minute load of the hardware node exceeds the limit set here, an email will be sent to the AdministratorNo
alert_disk_limitPOSTIntIf the Disk Usage of the Node exceeds the set limit (in %), an email will be sent to the Administrator.No

Languages

( chinese | dutch | english | french | german | polish | portuguese | russian | spanish | ukraine )

Timezones

ValueName
-12(GMT -12:00) Eniwetok, Kwajalein
-11(GMT -11:00) Midway Island, Samoa
-10(GMT -10:00) Hawaii
-9(GMT -9:00) Alaska
-8(GMT -8:00) Pacific Time (US & Canada)
-7(GMT -7:00) Mountain Time (US & Canada)
-6(GMT -6:00) Central Time (US & Canada), Mexico City
-5(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima
-4(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz
-3.5(GMT -3:30) Newfoundland
-3(GMT -3:00) Brazil, Buenos Aires, Georgetown
-2(GMT -2:00) Mid-Atlantic
-1(GMT -1:00 hour) Azores, Cape Verde Islands
0(GMT) Western Europe Time, London, Lisbon, Casablanca
1(GMT +1:00 hour) Brussels, Copenhagen, Madrid, Paris
2(GMT +2:00) Kaliningrad, South Africa
3(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg
3.5(GMT +3:30) Tehran
4(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi
4.5(GMT +4:30) Kabul
5(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent
5.5(GMT +5:30) Bombay, Calcutta, Madras, New Delhi
6(GMT +6:00) Almaty, Dhaka, Colombo
6.5(GMT +6:30) Yangon, Myanmar
7(GMT +7:00) Bangkok, Hanoi, Jakarta
8(GMT +8:00) Beijing, Perth, Singapore, Hong Kong
9(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk
9.5(GMT +9:30) Adelaide, Darwin
10(GMT +10:00) Eastern Australia, Guam, Vladivostok
11(GMT +11:00) Magadan, Solomon Islands, New Caledonia
12(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka

Sample Code

<?php

    require_once('/usr/local/virtualizor/sdk/admin.php');

    $key =  'your_api_key';
    $pass = 'your_api_pass';
    $ip = 'your_server_ip';

    $admin = new Virtualizor_Admin_API($ip, $key, $pass);

    $post = array();

    $post['editsettings'] = 1;
    $post['sn'] = 'API Virt';
    $post['sess_len'] = 30000;
    $post['theme_folder'] = 'test';
    $post['language'] = 'english';
    $post['admin_logs'] = 2;
    $post['vps_logs'] = 2;
    $post['login_logs'] = 2;
    $post['system_logs'] = 2;
    $post['status_logs'] = 7;
    $post['bandwidth_logs'] = 0;
    $post['soft_email'] = 'test@test.com';
    $post['timezone'] = 0;
    $post['login_attempts'] = 5;
    $post['login_ban_time'] = 15;

    $output = $admin->config($post);

    print_r(json_encode($output));
?>

Output

{
    "title": "Configuration",
    "done": 1,
    "globals": {
        "path": "/usr/local/virtualizor",
        "slave": 0,
        "masterkey": "",
        "masterip": "",
        "key": "lf6klmphhpyrxqacmuebs2ioxlzrc37g",
        "pass": "ti3thxss38v8jj6cybhwdc1xvghyetob",
        "kernel": "kvm",
        "lv": "",
        "thin_lv": "",
        "disk_path": "",
        "dbhost": "localhost",
        "db": "virtualizor",
        "dbuser": "root",
        "dbpass": "25etajy45w",
        "sn": "API Virt",
        "cookie_name": "SIMCookies7614",
        "gzip": 0,
        "cpu_nm": 0,
        "overcommit": 0,
        "language": "german",
        "soft_email": "test@test.com",
        "theme_folder": "test",
        "timezone": "0",
        "update": 0,
        "email_update": 0,
        "email_update_client": 0,
        "cron_time": "3 11 * * *",
        "emps_cron_time": "46 18 6,21 * *",
        "logo_url": "",
        "logo_login_url": "",
        "mail": 1,
        "mail_server": "",
        "mail_port": "",
        "mail_user": "",
        "mail_pass": "",
        "mail_smtp_secure": 0,
        "mail_debug": 0,
        "mail_connect_timeout": 0,
        "off": 0,
        "off_subject": "",
        "off_message": "",
        "admin_logs": 2,
        "vps_logs": 2,
        "login_logs": 2,
        "system_logs": 2,
        "status_logs": 7,
        "bandwidth_logs": 0,
        "sess_len": 30000,
        "copyright": "",
        "interface": "",
        "xen_pvbridge": "",
        "xen_hvmbridge": "",
        "xen_dom0mem": 0,
        "use_xl": "",
        "ipadd": "",
        "netmask": "",
        "gateway": "",
        "ip6add": "",
        "gateway6": "",
        "int_bridge": "",
        "int_ipadd": "",
        "int_netmask": "",
        "login_attempts": 5,
        "login_ban_time": 15,
        "alert_load_limit": 0,
        "alert_disk_limit": 0,
        "vswap": 0,
        "noc_apikey": "",
        "noc_apipass": "",
        "disable_webuzo": "",
        "disabled_scripts": "",
        "disable_icons_monitor": 0,
        "disable_icons_cp": 0,
        "disable_email": 0,
        "node_bandwidth": 0,
        "vps_bandwidth_threshold": 0,
        "change_ssh_port": 0,
        "max_ssh_login": 0,
        "vnc_ip": "192.168.1.240",
        "ping_ip": "",
        "distro": "",
        "dhcp_interface": "",
        "support": "",
        "addvs_io_class": "",
        "addvs_io_prio": "",
        "addvs_cpu_prio": "",
        "vpslimit": "",
        "ploop": 0,
        "enable_tuntap_cp": 0,
        "enable_ppp_cp": 0,
        "enable_fuse_cp": 0,
        "enable_ipip_cp": 0,
        "enable_ipgre_cp": 0,
        "enable_nfs_cp": 0,
        "enable_quotaugidlimit_cp": 0,
        "enable_iolimit_cp": 0,
        "enable_iopslimit_cp": 0,
        "enable_enduser_vnc": 0,
        "show_server": 0,
        "band_suspend": 0,
        "speed_cap_disable": 0,
        "is_master_only": 0,
        "xcp_lv_prefix": "",
        "novnc": 0,
        "novnc_master_only": 0,
        "novnc_server_name": 0,
        "queue_creation": 0,
        "disable_dd_flags": 0,
        "dbbackup_email": "",
        "dbbackup_cron": "",
        "dbbackup_type": "EMAIL",
        "dbbackup_server": 0,
        "dbbackup_server_dir": "",
        "is_cloud": "",
        "bridge": "viifbr0",
        "pv_on_hvm": 0,
        "band_calc_creation": 0,
        "no_ebtables_on_plans": "",
        "master_name": "",
        "inodes_gb": "",
        "openvz_suspend_load": 0,
        "disable_login_logo": 0,
        "enable_rdns": 0,
        "disable_backup_cp": 0,
        "auto_add_zone": 0,
        "enable_console": 0,
        "curl_timeout": "",
        "del_novps_user": 0,
        "del_slave_ostemplate": 0,
        "disable_master_vpsname": 0,
        "showsearch": 0,
        "site_domain": "",
        "use_new_theme": "",
        "turnoff_virtdf": 0,
        "disable_newtheme": 0,
        "disable_recipes": 0,
        "enable_virtio": 0,
        "disable_suspend_email": 0,
        "enable_idsort": 0,
        "del_tasks": 0,
        "disable_apicredential": 0,
        "disable_rescue": 0,
        "disable_change_hostname": 0,
        "disable_change_password": 0,
        "disable_vps_config": 0,
        "disable_os_reinstall": 0,
        "disable_ssh": 0,
        "disable_java_vnc": 0,
        "disable_self_shutdown": 0,
        "disable_server_location": 0,
        "disable_enduser_sshkeys": 0,
        "disable_vga": 0,
        "enable_nic": 0,
        "cb_hash": "oidzotex0av7rueyzonhnbn7nokndmgd",
        "enable_cb": 0,
        "cb_use_https": 0,
        "cb_url": "",
        "cb_suspend": 0,
        "cb_unsuspend": 0,
        "cb_hostname": 0,
        "cb_terminate": 0,
        "cb_changeips": 0,
        "default_sg_name": "",
        "default_sg_reseller_name": "",
        "default_sg_desc": "",
        "custom_mac": "",
        "cloud_allow_virtio": 0,
        "le_primary_domain": "",
        "le_contact_email": "",
        "le_key_size": 4096,
        "le_renew_days": 80,
        "le_staging": 0,
        "le_enable_force": 0,
        "2fa_email_otp": 0,
        "enable_2fa": 0,
        "eu_allow_virtio": 0,
        "keep_orphan_template": 0,
        "pass_strength": 0,
        "haproxy_enable": 0,
        "haproxy_src_ips": "202.168.147.144",
        "haproxy_reservedports": "",
        "haproxy_reservedports_http": "",
        "haproxy_allowedports": "",
        "haproxy_cron_logs": 0,
        "backup_queue": 0,
        "restore_queue": 0,
        "server_latitude": 0,
        "server_longitude": 0,
        "disable_nw_config": 0,
        "enable_eu_iso": 0,
        "eu_iso_size": "",
        "eu_iso_limit": "",
        "eu_iso_space": "",
        "eu_iso_del_hr": "",
        "secure_allowed_ips": "",
        "backup_email": "",
        "backup_disable_success_mail": 0,
        "disable_virttop": 0,
        "set_def_hvm": 0,
        "memory_limit": 0,
        "proxmox_server_pass": "",
        "proxmox_server_name": "",
        "proxmox_server_pass_salt": "",
        "max_ips": 250,
        "cp_url": "http://",
        "inhouse_billing": 0,
        "enable_registration": 0,
        "user_pass_min_char": 8,
        "support_email": "",
        "default_uplid": 0,
        "billing_warn_bal": 80,
        "billing_currency": "USD",
        "billing_symbol": "$",
        "billing_min": "50",
        "billing_max": "1000",
        "billing_day": 0,
        "billing_comp": "",
        "billing_addr1": "",
        "billing_addr2": "",
        "paypal_account": "",
        "paypal_api_user": "",
        "paypal_api_pass": "",
        "paypal_api_sig": "",
        "paypal_env": "",
        "captcha_secret": "",
        "captcha_sitekey": "",
        "resource_pricing": "",
        "recipe_shell": "#!/bin/sh",
        "hf_loaded": 1,
        "charset": "UTF-8",
        "showntimetaken": 1,
        "version": "2.9.7",
        "patch": "0",
        "license": "VIRTD-81008-78272-55853-14018",
        "port": 4082,
        "vpsid": 0,
        "index": "index.php?",
        "server": 0,
        "queries": 0,
        "docs": "https://www.virtualizor.com/wiki/",
        "apiurl": "https://api.virtualizor.com/",
        "openvzos": "/vz/template/cache",
        "xenos": "/var/virtualizor/xen",
        "kvmos": "/var/virtualizor/kvm",
        "xcpos": "/var/virtualizor/xcp",
        "lxcos": "/var/virtualizor/lxc",
        "proxoos": "/var/virtualizor/proxo",
        "proxkos": "/var/virtualizor/proxk",
        "proxlos": "/var/virtualizor/proxl",
        "vzoos": "/vz/template/cache",
        "vzkos": "/var/virtualizor/vzk",
        "isos": "/var/virtualizor/iso",
        "euisos": "/var/virtualizor/euiso",
        "virtualboxos": "/var/virtualizor/virtualbox",
        "var": "/var/virtualizor",
        "lxc_path": "/var/lib/lxc/",
        "virts": {
            "openvz": "openvz",
            "xen": "xen",
            "xenhvm": "xenhvm",
            "kvm": "kvm",
            "xcp": "xcp",
            "xcphvm": "xcphvm",
            "lxc": "lxc",
            "proxo": "proxo",
            "proxk": "proxk",
            "proxl": "proxl",
            "vzk": "vzk",
            "vzo": "vzo"
        },
        "mainfiles": "/usr/local/virtualizor/main",
        "adminfiles": "/usr/local/virtualizor/admin",
        "themes": "/usr/local/virtualizor/enduser/themes",
        "runtime_theme": "api",
        "webuzo_scripts": "/var/virtualizor/webuzo_scripts",
        "_disabled_scripts": [],
        "notupdated_task": 3600,
        "os": "linux",
        "com": {
            "vgdisplay": "/sbin/vgdisplay",
            "lvdisplay": "/sbin/lvdisplay",
            "lvscan": "/sbin/lvscan",
            "lvcreate": "/sbin/lvcreate",
            "lvremove": "/sbin/lvremove",
            "resizefs": "/sbin/resize2fs",
            "php": "/usr/local/emps/bin/php",
            "pgzip": "/bin/gzip"
        },
        "vcores": 0,
        "resource_types": [
            "space",
            "cores",
            "ram",
            "ips"
        ],
        "HTTP_HOST": "192.168.1.240",
        "lictype": "-1",
        "lictype_txt": "Trial",
        "active": 1,
        "active_txt": "Active",
        "licnumvs": "0",
        "primary_ip": "127.127.127.1",
        "licexpires": "20180930",
        "licexpires_txt": "30/09/2018 GMT",
        "last_edit": "1530596724",
        "fast_mirrors": [
            "https://s1.softaculous.com/a/virtualizor",
            "https://s2.softaculous.com/a/virtualizor",
            "https://s3.softaculous.com/a/virtualizor",
            "https://s4.softaculous.com/a/virtualizor",
            "https://s7.softaculous.com/a/virtualizor"
        ],
        "pgtimezone": 0,
        "apicall": "ntbfbbqc",
        "apidata": [],
        "ind": "index.php?"
    },
    "info": {
        "path": "/usr/local/virtualizor",
        "slave": 0,
        "masterkey": "",
        "masterip": "",
        "key": "lf6klmphhpyrxqacmuebs2ioxlzrc37g",
        "pass": "ti3thxss38v8jj6cybhwdc1xvghyetob",
        "kernel": "kvm",
        "lv": "",
        "thin_lv": "",
        "disk_path": "",
        "dbhost": "localhost",
        "db": "virtualizor",
        "dbuser": "root",
        "dbpass": "25etajy45w",
        "sn": "API Virt",
        "cookie_name": "SIMCookies7614",
        "gzip": 0,
        "cpu_nm": 0,
        "overcommit": 0,
        "language": "german",
        "soft_email": "test@test.com",
        "theme_folder": "test",
        "timezone": "0",
        "update": 0,
        "email_update": 0,
        "email_update_client": 0,
        "cron_time": "3 11 * * *",
        "emps_cron_time": "46 18 6,21 * *",
        "logo_url": "",
        "logo_login_url": "",
        "mail": 1,
        "mail_server": "",
        "mail_port": "",
        "mail_user": "",
        "mail_pass": "",
        "mail_smtp_secure": 0,
        "mail_debug": 0,
        "mail_connect_timeout": 0,
        "off": 0,
        "off_subject": "",
        "off_message": "",
        "admin_logs": 2,
        "vps_logs": 2,
        "login_logs": 2,
        "system_logs": 2,
        "status_logs": 7,
        "bandwidth_logs": 0,
        "sess_len": 30000,
        "copyright": "",
        "interface": "",
        "xen_pvbridge": "",
        "xen_hvmbridge": "",
        "xen_dom0mem": 0,
        "use_xl": "",
        "ipadd": "",
        "netmask": "",
        "gateway": "",
        "ip6add": "",
        "gateway6": "",
        "int_bridge": "",
        "int_ipadd": "",
        "int_netmask": "",
        "login_attempts": 5,
        "login_ban_time": 15,
        "alert_load_limit": 0,
        "alert_disk_limit": 0,
        "vswap": 0,
        "noc_apikey": "",
        "noc_apipass": "",
        "disable_webuzo": "",
        "disabled_scripts": "",
        "disable_icons_monitor": 0,
        "disable_icons_cp": 0,
        "disable_email": 0,
        "node_bandwidth": 0,
        "vps_bandwidth_threshold": 0,
        "change_ssh_port": 0,
        "max_ssh_login": 0,
        "vnc_ip": "192.168.1.240",
        "ping_ip": "",
        "distro": "",
        "dhcp_interface": "",
        "support": "",
        "addvs_io_class": "",
        "addvs_io_prio": "",
        "addvs_cpu_prio": "",
        "vpslimit": "",
        "ploop": 0,
        "enable_tuntap_cp": 0,
        "enable_ppp_cp": 0,
        "enable_fuse_cp": 0,
        "enable_ipip_cp": 0,
        "enable_ipgre_cp": 0,
        "enable_nfs_cp": 0,
        "enable_quotaugidlimit_cp": 0,
        "enable_iolimit_cp": 0,
        "enable_iopslimit_cp": 0,
        "enable_enduser_vnc": 0,
        "show_server": 0,
        "band_suspend": 0,
        "speed_cap_disable": 0,
        "is_master_only": 0,
        "xcp_lv_prefix": "",
        "novnc": 0,
        "novnc_master_only": 0,
        "novnc_server_name": 0,
        "queue_creation": 0,
        "disable_dd_flags": 0,
        "dbbackup_email": "",
        "dbbackup_cron": "",
        "dbbackup_type": "EMAIL",
        "dbbackup_server": 0,
        "dbbackup_server_dir": "",
        "is_cloud": "",
        "bridge": "viifbr0",
        "pv_on_hvm": 0,
        "band_calc_creation": 0,
        "no_ebtables_on_plans": "",
        "master_name": "",
        "inodes_gb": "",
        "openvz_suspend_load": 0,
        "disable_login_logo": 0,
        "enable_rdns": 0,
        "disable_backup_cp": 0,
        "auto_add_zone": 0,
        "enable_console": 0,
        "curl_timeout": "",
        "del_novps_user": 0,
        "del_slave_ostemplate": 0,
        "disable_master_vpsname": 0,
        "showsearch": 0,
        "site_domain": "",
        "use_new_theme": "",
        "turnoff_virtdf": 0,
        "disable_newtheme": 0,
        "disable_recipes": 0,
        "enable_virtio": 0,
        "disable_suspend_email": 0,
        "enable_idsort": 0,
        "del_tasks": 0,
        "disable_apicredential": 0,
        "disable_rescue": 0,
        "disable_change_hostname": 0,
        "disable_change_password": 0,
        "disable_vps_config": 0,
        "disable_os_reinstall": 0,
        "disable_ssh": 0,
        "disable_java_vnc": 0,
        "disable_self_shutdown": 0,
        "disable_server_location": 0,
        "disable_enduser_sshkeys": 0,
        "disable_vga": 0,
        "enable_nic": 0,
        "cb_hash": "oidzotex0av7rueyzonhnbn7nokndmgd",
        "enable_cb": 0,
        "cb_use_https": 0,
        "cb_url": "",
        "cb_suspend": 0,
        "cb_unsuspend": 0,
        "cb_hostname": 0,
        "cb_terminate": 0,
        "cb_changeips": 0,
        "default_sg_name": "",
        "default_sg_reseller_name": "",
        "default_sg_desc": "",
        "custom_mac": "",
        "cloud_allow_virtio": 0,
        "le_primary_domain": "",
        "le_contact_email": "",
        "le_key_size": 4096,
        "le_renew_days": 80,
        "le_staging": 0,
        "le_enable_force": 0,
        "2fa_email_otp": 0,
        "enable_2fa": 0,
        "eu_allow_virtio": 0,
        "keep_orphan_template": 0,
        "pass_strength": 0,
        "haproxy_enable": 0,
        "haproxy_src_ips": "202.168.147.144",
        "haproxy_reservedports": "",
        "haproxy_reservedports_http": "",
        "haproxy_allowedports": "",
        "haproxy_cron_logs": 0,
        "backup_queue": 0,
        "restore_queue": 0,
        "server_latitude": 0,
        "server_longitude": 0,
        "disable_nw_config": 0,
        "enable_eu_iso": 0,
        "eu_iso_size": "",
        "eu_iso_limit": "",
        "eu_iso_space": "",
        "eu_iso_del_hr": "",
        "secure_allowed_ips": "",
        "backup_email": "",
        "backup_disable_success_mail": 0,
        "disable_virttop": 0,
        "set_def_hvm": 0,
        "memory_limit": 0,
        "proxmox_server_pass": "",
        "proxmox_server_name": "",
        "proxmox_server_pass_salt": "",
        "max_ips": 250,
        "cp_url": "http://",
        "inhouse_billing": 0,
        "enable_registration": 0,
        "user_pass_min_char": 8,
        "support_email": "",
        "default_uplid": 0,
        "billing_warn_bal": 80,
        "billing_currency": "USD",
        "billing_symbol": "$",
        "billing_min": "50",
        "billing_max": "1000",
        "billing_day": 0,
        "billing_comp": "",
        "billing_addr1": "",
        "billing_addr2": "",
        "paypal_account": "",
        "paypal_api_user": "",
        "paypal_api_pass": "",
        "paypal_api_sig": "",
        "paypal_env": "",
        "captcha_secret": "",
        "captcha_sitekey": "",
        "resource_pricing": "",
        "recipe_shell": "#!/bin/sh",
        "vg_in_use": 1
    },
    "langs": {
        "chinese": "chinese",
        "dutch": "dutch",
        "english": "english",
        "french": "french",
        "german": "german",
        "polish": "polish",
        "portuguese": "portuguese",
        "russian": "russian",
        "spanish": "spanish",
        "ukraine": "ukraine"
    },
    "skins": {
        "default": "default",
        "test": "test"
    },
    "timenow": 1536234874,
    "time_taken": "0.288"
}
    Was this page helpful?
    Newsletter Subscription
    Subscribing you to the mailing list