From: Robert Waffen Date: Fri, 14 Sep 2018 15:06:11 +0000 (+0200) Subject: fix lint for medperts-com X-Git-Tag: v0.1.0~51 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=486c9a1366b9750c16c29a824c0384df8cccc8fe;p=pixelpark%2Fhiera.git fix lint for medperts-com --- diff --git a/customer/medperts-com/db01-medperts-com.pixelpark.net.yaml b/customer/medperts-com/db01-medperts-com.pixelpark.net.yaml index fdc494cf..5d96a2ed 100644 --- a/customer/medperts-com/db01-medperts-com.pixelpark.net.yaml +++ b/customer/medperts-com/db01-medperts-com.pixelpark.net.yaml @@ -10,4 +10,4 @@ infra::additional_classes: # - liferay::database::postgresql # - liferay::database::postgresql::jackrabbit -postgresql::server::listen_addresses: 93.188.106.28 \ No newline at end of file +postgresql::server::listen_addresses: 93.188.106.28 diff --git a/customer/medperts-com/dev-medperts-com.pixelpark.com.yaml b/customer/medperts-com/dev-medperts-com.pixelpark.com.yaml index 68511cb2..2105f363 100644 --- a/customer/medperts-com/dev-medperts-com.pixelpark.com.yaml +++ b/customer/medperts-com/dev-medperts-com.pixelpark.com.yaml @@ -23,4 +23,3 @@ infra::additional_classes: # - liferay::database::postgresql::jackrabbit # - pp_postgresql::backup # - liferay::config::jackrabbit - diff --git a/customer/medperts-com/development.yaml b/customer/medperts-com/development.yaml index 612d4393..d3d0db72 100644 --- a/customer/medperts-com/development.yaml +++ b/customer/medperts-com/development.yaml @@ -25,13 +25,13 @@ liferay::app_server::tomcat::jmx_ssl: false liferay::app_server::tomcat::jmx_registry_port: 8050 liferay::app_server::tomcat::jmx_server_port: 8051 liferay::app_server::tomcat::jmx_ip: 77.74.232.90 -#liferay::app_server::tomcat::log4j_properties: -# prop1: -# setting: log4j.appender.CATALINA.File -# value: /www/logs/tomcat/liferay/tomcat-only.log -# prop2: -# setting: log4j.appender.PORTAL.file -# value: /www/logs/tomcat/liferay/portal.log +# liferay::app_server::tomcat::log4j_properties: +# prop1: +# setting: log4j.appender.CATALINA.File +# value: /www/logs/tomcat/liferay/tomcat-only.log +# prop2: +# setting: log4j.appender.PORTAL.file +# value: /www/logs/tomcat/liferay/portal.log liferay::app_server::tomcat::version_conf_opts: - '-Dlog4j.configuration=file:/www/data/liferay/config/log4j.xml' liferay::webserver::apache::host_servername: dev-medperts-com.pixelpark.com @@ -39,12 +39,11 @@ liferay::webserver::apache::proxy_pass: - { path: /, url: 'ajp://%{fqdn}:8080/' } liferay::webserver::apache::headers: - 'add Access-Control-Allow-Origin "*"' + - "add X-UA-Compatible IE=Edge" liferay::webserver::apache::ssl: true liferay::webserver::apache::ssl_cert: /www/conf/certs/wildcard.pixelpark.com-cert.pem liferay::webserver::apache::ssl_key: /www/conf/certs/wildcard.pixelpark.com-cert.pem liferay::webserver::apache::ssl_ca: /www/conf/certs/wildcard.pixelpark.com-cert.pem -liferay::webserver::apache::headers: - - "add X-UA-Compatible IE=Edge" liferay::config::ext_portal_properties: passwords.encryption.algorithm: value: 'PBKDF2WithHmacSHA1/160/128000' @@ -68,14 +67,14 @@ httpd::webserver: postgresql::server::listen_addresses: "*" postgresql::server::ipv4acls: - - "host medperts_com_liferay medperts_com 77.74.232.90/32 md5" # BBraun Dev Netz - - "host medperts_com_liferay medperts_com 217.66.51.0/24 md5" # Admin Netz - - "host medperts_com_liferay medperts_com 217.66.50.0/24 md5" # Entwickler Netz - - "host medperts_com_liferay medperts_com 217.66.56.0/24 md5" # VPN Netz - - "host medperts_com_jackrabbit medperts_com_jr 77.74.232.90/32 md5" # BBraun Dev Netz - - "host medperts_com_jackrabbit medperts_com_jr 217.66.51.0/24 md5" # Admin Netz - - "host medperts_com_jackrabbit medperts_com_jr 217.66.50.0/24 md5" # Entwickler Netz - - "host medperts_com_jackrabbit medperts_com_jr 217.66.56.0/24 md5" # VPN Netz + - "host medperts_com_liferay medperts_com 77.74.232.90/32 md5" # BBraun Dev Netz + - "host medperts_com_liferay medperts_com 217.66.51.0/24 md5" # Admin Netz + - "host medperts_com_liferay medperts_com 217.66.50.0/24 md5" # Entwickler Netz + - "host medperts_com_liferay medperts_com 217.66.56.0/24 md5" # VPN Netz + - "host medperts_com_jackrabbit medperts_com_jr 77.74.232.90/32 md5" # BBraun Dev Netz + - "host medperts_com_jackrabbit medperts_com_jr 217.66.51.0/24 md5" # Admin Netz + - "host medperts_com_jackrabbit medperts_com_jr 217.66.50.0/24 md5" # Entwickler Netz + - "host medperts_com_jackrabbit medperts_com_jr 217.66.56.0/24 md5" # VPN Netz liferay::database::postgresql::password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEASdGOSMD5kQVQ3LazPuPitQ0H7DtpcTLZW2cxs8uIw1YxKYzRHjmyMOTW1QiaZN2PL6VrX8kVDMW05wnho5206gBjI6PcQM/VTYi8Qvy/V+Hay408Q7eggLdQt29foxpHFtgfesYBc4Hb+1EU3YDv3DYHhnuWeB+wz389gaSxafAc1S6kuQMdfZVOjCxIV3H0RG2yV463ICLWY+ASjQgHotR1jixXjFpDBi2Oivhede6YHCcUpnzzlmwyk6zNuoUBUsM3D7e6jh0wtnfkxHqUidg8JAWz0wvxs895Ew7bom8/88IjZ06cUlnvzFnujF1O2vB4uLJwbSdtpBW6vFHVfDBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCWzFwTRqav7z5PwOD3+01pgCCNYRPAhNdQisInQkGVmpoVGlIYlOgzT/5EP3wA1XUOcw==] liferay::database::postgresql::dbname: medperts_com_liferay @@ -160,7 +159,7 @@ logstash::drop_grokparsefailure: false logstash::generic_resource: medperts_tomcat_liferay: resource: file - order: 10 # Input + order: 10 # Input parameters: path: /www/logs/tomcat/liferay/tomcat.out type: tomcat @@ -174,7 +173,7 @@ logstash::generic_resource: medperts_dev_output: condition: "if [loglevel] =='ERROR'" resource: exec - order: 75 # output + order: 75 # output parameters: command: "/usr/sfw/bin/wget --post-data 'message=%%{ich-trickse}{message}' http://medperts-com-monitor.pixelpark.com/healthmonitor/DEV/addLogMessage/ -O /dev/null" diff --git a/customer/medperts-com/production.yaml b/customer/medperts-com/production.yaml index 9a471ebe..33ce468b 100644 --- a/customer/medperts-com/production.yaml +++ b/customer/medperts-com/production.yaml @@ -11,13 +11,13 @@ accounts::users: liferay::app_server::tomcat::site_name: 'www.medperts.com' liferay::app_server::tomcat::shutdown_port: 8005 -#liferay::app_server::tomcat::log4j_properties: -# prop1: -# setting: log4j.appender.CATALINA.File -# value: /www/logs/tomcat/liferay/tomcat-only.log -# prop2: -# setting: log4j.appender.PORTAL.file -# value: /www/logs/tomcat/liferay/portal.log +# liferay::app_server::tomcat::log4j_properties: +# prop1: +# setting: log4j.appender.CATALINA.File +# value: /www/logs/tomcat/liferay/tomcat-only.log +# prop2: +# setting: log4j.appender.PORTAL.file +# value: /www/logs/tomcat/liferay/portal.log liferay::app_server::tomcat::version_conf_opts: - '-Dlog4j.configuration=file:/www/data/liferay/config/log4j.xml' liferay::app_server::tomcat::max_heap: "3072m" @@ -90,14 +90,14 @@ httpd::webserver: extendedStatus: true postgresql::server::ipv4acls: - - "host medperts_com_liferay medperts_com 93.188.106.0/25 md5" # BBraun Live Netz - - "host medperts_com_liferay medperts_com 217.66.51.0/24 md5" # Admin Netz - - "host medperts_com_liferay medperts_com 217.66.50.0/24 md5" # Entwickler Netz - - "host medperts_com_liferay medperts_com 217.66.56.0/24 md5" # VPN Netz - - "host medperts_com_jackrabbit medperts_com_jr 93.188.106.0/25 md5" # BBraun Live Netz - - "host medperts_com_jackrabbit medperts_com_jr 217.66.51.0/24 md5" # Admin Netz - - "host medperts_com_jackrabbit medperts_com_jr 217.66.50.0/24 md5" # Entwickler Netz - - "host medperts_com_jackrabbit medperts_com_jr 217.66.56.0/24 md5" # VPN Netz + - "host medperts_com_liferay medperts_com 93.188.106.0/25 md5" # BBraun Live Netz + - "host medperts_com_liferay medperts_com 217.66.51.0/24 md5" # Admin Netz + - "host medperts_com_liferay medperts_com 217.66.50.0/24 md5" # Entwickler Netz + - "host medperts_com_liferay medperts_com 217.66.56.0/24 md5" # VPN Netz + - "host medperts_com_jackrabbit medperts_com_jr 93.188.106.0/25 md5" # BBraun Live Netz + - "host medperts_com_jackrabbit medperts_com_jr 217.66.51.0/24 md5" # Admin Netz + - "host medperts_com_jackrabbit medperts_com_jr 217.66.50.0/24 md5" # Entwickler Netz + - "host medperts_com_jackrabbit medperts_com_jr 217.66.56.0/24 md5" # VPN Netz - "host replication replication 93.188.106.0/25 trust" - "host postgres xymon 93.188.106.0/25 trust" @@ -105,8 +105,8 @@ pp_postgresql::replication::master_server: db01-medperts-com.pixelpark.net pp_postgresql::replication::repl_user: replication pp_postgresql::replication::repl_password: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAjgoQs9ITErTQ8Et8BdXS5aRXSyDyBhNkJei7XQdxqwqn5E2MKx/s+FEjBPDe21YBesrjGETIjma0Q5Si1kOGWjFhfdAiFp5kJmLQTLgGuqytc/x5r1Q7gmpDp4zZFd82tSuZMsDsSYdgI+D2tDjiQFcJ+7l+s71bsEoUbJkQyXoeKqI3RtRltC9lfx0wNaOIVtKa0i9eLpE+RLKgn1AlfmxBbShJeJ/X36IpS3BY8NC38Fen5I/xeT09vGwvaUhANcxh5iPed+3zwEPPcV5U9RSUpp+kmrwo4PmICfh6pOzeoL3bowo0PV5N/9p4A4WW+CfgLjUQwu10MwL1IFMtCTA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCLrBftjqICoYRYM0P/gQ6GgBBj8r/kJldExaY8842TGHWj] # Debug logging -#pp_postgresql::log_statement: all -#pp_postgresql::log_destination: csvlog +# pp_postgresql::log_statement: all +# pp_postgresql::log_destination: csvlog liferay::database::postgresql::password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAif7R1gLtcadpF657kamDExZEE4tW1cAio5SNLgIUMQ11u554FfJNSA3mAzvTkZcFO1l9SyD5yDqOdjjC+4aWkUSSBNcCaxBeF9rbi7ZF5mHBPh7S6lcCjXjcC86y4hF+oiYURdAKIMUMXsYtHm7MEEGKUj8thfhHQ52dLRIgejS7QH+/KUzXmr5RXE2QqUthFGQryMqVls66bZPDYB0N5dERSlW1K2m3v9PMqi6bf+WNxsIa9R8ybOl6duKhTjr61bnHBhxPfSBvmI0ljzChHnkGGwDXjJv1muFRMMCwDo4yKAcV8oisQ2eyKD2NhwpB9wtZxR/6NvP48eVqvKa97zBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBVAx9BkEwK1e65uTFo9TCygCCX8ySz/RoMnE7VTF+rGEz9ZekvrYrydelPJf+Wxo69YQ==] liferay::database::postgresql::dbname: medperts_com_liferay @@ -231,7 +231,7 @@ logstash::output: [] logstash::generic_resource: medperts_tomcat_liferay: resource: file - order: 10 # Input + order: 10 # Input parameters: path: /www/logs/tomcat/liferay/tomcat.out type: tomcat @@ -248,11 +248,11 @@ logstash::generic_resource: condition: "if [type] == 'tomcat'" parameters: match: - - "message" - - "\\[%%{ich-trickse}{DATESTAMP:logdate}%%{ich-trickse}{SPACE}\\]%%{ich-trickse}{SPACE}\\[%%{ich-trickse}{LOGLEVEL:loglevel}%%{ich-trickse}{SPACE}\\]%%{ich-trickse}{SPACE}\\[%%{ich-trickse}{DATA:thread}\\] \\[%%{ich-trickse}{DATA:class}\\] - %%{ich-trickse}{GREEDYDATA:restmessage}" + - "message" + - "\\[%%{ich-trickse}{DATESTAMP:logdate}%%{ich-trickse}{SPACE}\\]%%{ich-trickse}{SPACE}\\[%%{ich-trickse}{LOGLEVEL:loglevel}%%{ich-trickse}{SPACE}\\]%%{ich-trickse}{SPACE}\\[%%{ich-trickse}{DATA:thread}\\] \\[%%{ich-trickse}{DATA:class}\\] - %%{ich-trickse}{GREEDYDATA:restmessage}" medperts_date: resource: date - order: 42 # Filter after grok + order: 42 # Filter after grok condition: "if [type] == 'tomcat'" parameters: match: diff --git a/customer/medperts-com/test-db01-medperts-com.pixelpark.net.yaml b/customer/medperts-com/test-db01-medperts-com.pixelpark.net.yaml index 09b0af67..f777880f 100644 --- a/customer/medperts-com/test-db01-medperts-com.pixelpark.net.yaml +++ b/customer/medperts-com/test-db01-medperts-com.pixelpark.net.yaml @@ -10,4 +10,4 @@ infra::additional_classes: # - liferay::database::postgresql # - liferay::database::postgresql::jackrabbit -postgresql::server::listen_addresses: 93.188.106.186 \ No newline at end of file +postgresql::server::listen_addresses: 93.188.106.186 diff --git a/customer/medperts-com/test-www01-medperts-com.pixelpark.net.yaml b/customer/medperts-com/test-www01-medperts-com.pixelpark.net.yaml index 9b5fe4f7..d621e21c 100644 --- a/customer/medperts-com/test-www01-medperts-com.pixelpark.net.yaml +++ b/customer/medperts-com/test-www01-medperts-com.pixelpark.net.yaml @@ -47,6 +47,6 @@ logstash::generic_resource: medperts_test01_output: condition: "if [loglevel] =='ERROR'" resource: exec - order: 75 # output + order: 75 # output parameters: - command: "/usr/sfw/bin/wget --post-data 'message=%%{ich-trickse}{message}' http://medperts-com-monitor.pixelpark.com/healthmonitor/TEST_1/addLogMessage/ -O /dev/null" \ No newline at end of file + command: "/usr/sfw/bin/wget --post-data 'message=%%{ich-trickse}{message}' http://medperts-com-monitor.pixelpark.com/healthmonitor/TEST_1/addLogMessage/ -O /dev/null" diff --git a/customer/medperts-com/test-www02-medperts-com.pixelpark.net.yaml b/customer/medperts-com/test-www02-medperts-com.pixelpark.net.yaml index b5f1aaac..2183c243 100644 --- a/customer/medperts-com/test-www02-medperts-com.pixelpark.net.yaml +++ b/customer/medperts-com/test-www02-medperts-com.pixelpark.net.yaml @@ -34,6 +34,6 @@ logstash::generic_resource: medperts_test02_output: condition: "if [loglevel] =='ERROR'" resource: exec - order: 75 # output + order: 75 # output parameters: - command: "/usr/sfw/bin/wget --post-data 'message=%%{ich-trickse}{message}' http://medperts-com-monitor.pixelpark.com/healthmonitor/TEST_2/addLogMessage/ -O /dev/null" \ No newline at end of file + command: "/usr/sfw/bin/wget --post-data 'message=%%{ich-trickse}{message}' http://medperts-com-monitor.pixelpark.com/healthmonitor/TEST_2/addLogMessage/ -O /dev/null" diff --git a/customer/medperts-com/test.yaml b/customer/medperts-com/test.yaml index 2fd8a4f6..c04de184 100644 --- a/customer/medperts-com/test.yaml +++ b/customer/medperts-com/test.yaml @@ -18,13 +18,13 @@ accounts::users: liferay::app_server::tomcat::site_name: 'test-www-medperts-com.pixelpark.net' liferay::app_server::tomcat::shutdown_port: 8005 -#liferay::app_server::tomcat::log4j_properties: -# prop1: -# setting: log4j.appender.CATALINA.File -# value: /www/logs/tomcat/liferay/tomcat-only.log -# prop2: -# setting: log4j.appender.PORTAL.file -# value: /www/logs/tomcat/liferay/portal.log +# liferay::app_server::tomcat::log4j_properties: +# prop1: +# setting: log4j.appender.CATALINA.File +# value: /www/logs/tomcat/liferay/tomcat-only.log +# prop2: +# setting: log4j.appender.PORTAL.file +# value: /www/logs/tomcat/liferay/portal.log liferay::app_server::tomcat::version_conf_opts: - '-Dlog4j.configuration=file:/www/data/liferay/config/log4j.xml' @@ -122,14 +122,14 @@ httpd::webserver: extendedStatus: true postgresql::server::ipv4acls: - - "host medperts_com_liferay medperts_com 93.188.106.128/25 md5" # BBraun Test Netz - - "host medperts_com_liferay medperts_com 217.66.51.0/24 md5" # Admin Netz - - "host medperts_com_liferay medperts_com 217.66.50.0/24 md5" # Entwickler Netz - - "host medperts_com_liferay medperts_com 217.66.56.0/24 md5" # VPN Netz - - "host medperts_com_jackrabbit medperts_com_jr 93.188.106.128/25 md5" # BBraun Test Netz - - "host medperts_com_jackrabbit medperts_com_jr 217.66.51.0/24 md5" # Admin Netz - - "host medperts_com_jackrabbit medperts_com_jr 217.66.50.0/24 md5" # Entwickler Netz - - "host medperts_com_jackrabbit medperts_com_jr 217.66.56.0/24 md5" # VPN Netz + - "host medperts_com_liferay medperts_com 93.188.106.128/25 md5" # BBraun Test Netz + - "host medperts_com_liferay medperts_com 217.66.51.0/24 md5" # Admin Netz + - "host medperts_com_liferay medperts_com 217.66.50.0/24 md5" # Entwickler Netz + - "host medperts_com_liferay medperts_com 217.66.56.0/24 md5" # VPN Netz + - "host medperts_com_jackrabbit medperts_com_jr 93.188.106.128/25 md5" # BBraun Test Netz + - "host medperts_com_jackrabbit medperts_com_jr 217.66.51.0/24 md5" # Admin Netz + - "host medperts_com_jackrabbit medperts_com_jr 217.66.50.0/24 md5" # Entwickler Netz + - "host medperts_com_jackrabbit medperts_com_jr 217.66.56.0/24 md5" # VPN Netz - "host replication replication 93.188.106.128/25 trust" - "host postgres xymon 93.188.106.128/25 trust" @@ -137,8 +137,8 @@ pp_postgresql::replication::master_server: test-db01-medperts-com.pixelpark.net pp_postgresql::replication::repl_user: replication pp_postgresql::replication::repl_password: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAjgoQs9ITErTQ8Et8BdXS5aRXSyDyBhNkJei7XQdxqwqn5E2MKx/s+FEjBPDe21YBesrjGETIjma0Q5Si1kOGWjFhfdAiFp5kJmLQTLgGuqytc/x5r1Q7gmpDp4zZFd82tSuZMsDsSYdgI+D2tDjiQFcJ+7l+s71bsEoUbJkQyXoeKqI3RtRltC9lfx0wNaOIVtKa0i9eLpE+RLKgn1AlfmxBbShJeJ/X36IpS3BY8NC38Fen5I/xeT09vGwvaUhANcxh5iPed+3zwEPPcV5U9RSUpp+kmrwo4PmICfh6pOzeoL3bowo0PV5N/9p4A4WW+CfgLjUQwu10MwL1IFMtCTA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCLrBftjqICoYRYM0P/gQ6GgBBj8r/kJldExaY8842TGHWj] # Debug logging -#pp_postgresql::log_statement: all -#pp_postgresql::log_destination: csvlog +# pp_postgresql::log_statement: all +# pp_postgresql::log_destination: csvlog liferay::database::postgresql::password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAZXnE0XOI6w6oy7fwZqM/36oKvDBhMo8JqMG+AHMUx+eSroHcbMI4FxXd7LYtovxU3nVX5V3Ub/ouGxRRs562MypTbpC+Vi6IUe5NELLTjrqFFH9hDUR0egjRU/MszNo9DgDGHLuCZNP+rInpbgwRn0aKjhD00gloXyIIGeF1CQC+eJetLmYjkGEMoqUGesKwoIKxfCweH+IUZaXWDNMRVCNUP/uHj778GJGi5pBYF+zUbt251joYKV6uSQFXj47G8ELgH9woQ7s7vs6Iwt2v6CSjharRfI3cqEz7LVPG7ao5pCp3fXB7KLX8rI26glR8x4K/leZV4gxY0fGZdfKA6zBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDU2KQub1xCrftspaRGHzKYgCCqpY8btPwT9OkuVawF4bs//zeTC7vy4Hqm9Bzc1XzmUA==] liferay::database::postgresql::dbname: medperts_com_liferay @@ -241,7 +241,7 @@ logstash::filter: logstash::generic_resource: medperts_tomcat_liferay: resource: file - order: 10 # Input + order: 10 # Input parameters: path: /www/logs/tomcat/liferay/tomcat.out type: tomcat diff --git a/customer/medperts-com/www01-medperts-com.pixelpark.net.yaml b/customer/medperts-com/www01-medperts-com.pixelpark.net.yaml index c5206e7f..c37d4b6c 100644 --- a/customer/medperts-com/www01-medperts-com.pixelpark.net.yaml +++ b/customer/medperts-com/www01-medperts-com.pixelpark.net.yaml @@ -38,10 +38,10 @@ liferay::app_server::tomcat::jvm_route: EpF9sC solr::app_server::tomcat::bind_host: 93.188.106.27 solr::app_server::tomcat::zookeeper_bind_host: search01-medperts-com.pixelpark.net -#logstash::generic_resource: -# medperts_live01_output: -# condition: "if [loglevel] =='ERROR'" -# resource: exec -# order: 75 # output -# parameters: -# command: "/usr/sfw/bin/wget --post-data 'message=%%{ich-trickse}{message}' http://medperts-com-monitor.pixelpark.com/healthmonitor/LIVE_1/addLogMessage/ -O /dev/null" \ No newline at end of file +# logstash::generic_resource: +# medperts_live01_output: +# condition: "if [loglevel] =='ERROR'" +# resource: exec +# order: 75 # output +# parameters: +# command: "/usr/sfw/bin/wget --post-data 'message=%%{ich-trickse}{message}' http://medperts-com-monitor.pixelpark.com/healthmonitor/LIVE_1/addLogMessage/ -O /dev/null" diff --git a/customer/medperts-com/www02-medperts-com.pixelpark.net.yaml b/customer/medperts-com/www02-medperts-com.pixelpark.net.yaml index 5d53f000..998e4b89 100644 --- a/customer/medperts-com/www02-medperts-com.pixelpark.net.yaml +++ b/customer/medperts-com/www02-medperts-com.pixelpark.net.yaml @@ -35,17 +35,17 @@ liferay::app_server::tomcat::jvm_route: KKO38w solr::app_server::tomcat::bind_host: 93.188.106.37 solr::app_server::tomcat::zookeeper_bind_host: search02-medperts-com.pixelpark.net -#logstash::generic_resource: -# medperts_live02_output: -# condition: "if [loglevel] =='ERROR'" -# resource: exec -# order: 75 # output -# parameters: -# command: "/usr/sfw/bin/wget --post-data 'message=%%{ich-trickse}{message}' http://medperts-com-monitor.pixelpark.com/healthmonitor/LIVE_2/addLogMessage/ -O /dev/null" -#logstash::generic_resource: -# medperts_export_stdout: -# resource: file -# order: 72 -# condition: "if [type] == 'tomcat'" -# parameters: -# path: /www/logs/logstash/logstash.log \ No newline at end of file +# logstash::generic_resource: +# medperts_live02_output: +# condition: "if [loglevel] =='ERROR'" +# resource: exec +# order: 75 # output +# parameters: +# command: "/usr/sfw/bin/wget --post-data 'message=%%{ich-trickse}{message}' http://medperts-com-monitor.pixelpark.com/healthmonitor/LIVE_2/addLogMessage/ -O /dev/null" +# logstash::generic_resource: +# medperts_export_stdout: +# resource: file +# order: 72 +# condition: "if [type] == 'tomcat'" +# parameters: +# path: /www/logs/logstash/logstash.log