This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* ISPConfig Icingia2 HTTP Service Plugin for ISPConfig Version 3.1.2 and above. | |
* | |
* This class extends ISPConfig's vhost management with the functionality to manage icingia2 HTTP services. | |
* | |
* This Plugin requires Icinga2 (https://www.icinga.com/products/icinga-2/) | |
* The config files add a variable named "vars.http_vhosts" to an existing icinga2 host. | |
* With the matching icinga2 service configuration a icinga2 service will be added for each entry contained in "vars.http_vhosts". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELETE eav_attribute_option_value FROM eav_attribute_option,eav_attribute_option_value WHERE eav_attribute_option.attribute_id > 133 and eav_attribute_option.option_id = eav_attribute_option_value.option_id; | |
DELETE FROM eav_attribute WHERE attribute_id > 133; | |
DELETE FROM eav_attribute_label WHERE attribute_id > 133; | |
DELETE FROM eav_attribute_option WHERE attribute_id > 133; | |
DELETE FROM eav_attribute_group WHERE attribute_set_id > 25; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require "rubygems" | |
require "rest_client" | |
require "json" | |
require "uri" | |
fqdn = ARGV[0] || raise("Must define a fqdn") | |
mac = ARGV[1] || raise("Must define a mac") |