This file contains 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
httpd.conf | |
LogFormat "%h %t \"%r\" %>s \"%{User-Agent}i\" %D" perform | |
CustomLog logs/performance.log perform | |
td-agent.conf | |
#### | |
<source> |
This file contains 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
httpd.conf | |
LogFormat "%h %t \"%r\" %>s \"%{User-Agent}i\" %D" perform | |
CustomLog logs/performance.log perform | |
td-agent.conf | |
#### | |
<source> |
This file contains 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
<source> | |
type tail | |
path /var/log/tomcat*/access* | |
pos_file /var/log/td-agent/tomcat7-access.log.pos | |
tag Tomcat.access | |
format /^(?<host>[^ ]*) [^ ]* (?<user>[^ ]*) \[(?<time>[^\]]*)\] (?<method>\S+)(?: +(?<path>[^ ]*) +\S*)? (?<code>[^ ]*) (?<size>[^ ]*)(?: (?<referer>[^\"]*) (?<agent>[^\"]*))? (?<duration>[^ ]*)?$/ | |
time_format %d/%b/%Y:%H:%M:%S %z | |
types size:integer,duration:integer | |
</source> |
This file contains 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
2015-02-06 12:57:49 +0100 [info]: fluent/supervisor.rb:223:supervise: starting fluentd-0.10.55 | |
2015-02-06 12:57:49 +0100 [info]: fluent/supervisor.rb:325:read_config: reading config file path="/etc/td-agent/td-agent.conf" | |
2015-02-06 12:57:49 +0100 [trace]: fluent/plugin.rb:72:register_impl: registered buffer plugin 'file' | |
2015-02-06 12:57:49 +0100 [trace]: fluent/plugin.rb:72:register_impl: registered buffer plugin 'memory' | |
2015-02-06 12:57:49 +0100 [trace]: fluent/plugin.rb:72:register_impl: registered input plugin 'debug_agent' | |
2015-02-06 12:57:49 +0100 [trace]: fluent/plugin.rb:72:register_impl: registered input plugin 'exec' | |
2015-02-06 12:57:49 +0100 [trace]: fluent/plugin.rb:72:register_impl: registered input plugin 'forward' | |
2015-02-06 12:57:49 +0100 [trace]: fluent/plugin.rb:72:register_impl: registered input plugin 'gc_stat' | |
2015-02-06 12:57:49 +0100 [trace]: fluent/plugin.rb:72:register_impl: registered input plugin 'http' | |
2015-02-06 12:57:49 +0100 [trace]: fluent/plugin.rb:72:register_impl: register |
This file contains 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
--- | |
- hosts: 127.0.0.1 | |
connection: local | |
sudo: false | |
gather_facts: false | |
serial: 1 | |
vars_files: | |
- pass.yml | |
- vars.yml | |
- description.yml # setup by Jenkins |
This file contains 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/python | |
import optparse | |
from pprint import pprint | |
import sys | |
# from pysphere.vi_vapp import VIVApp | |
from pysphere import VIServer, VITask, MORTypes, VIProperty | |
from pysphere.resources import VimService_services as VI | |
# CFG |
This file contains 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
--- | |
- hosts: 127.0.0.1 | |
sudo: false | |
gather_facts: false | |
serial: 1 | |
vars_files: | |
- pass.yml | |
- vars.yml | |
- description.yml |
This file contains 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/python | |
import optparse | |
from pprint import pprint | |
import sys | |
from pysphere import * | |
from pysphere.resources import VimService_services as VI | |
# CFG | |
vcenter = "vspeher.example.com" |
This file contains 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
#!/bin/bash | |
# | |
# rc file for VM config via VAPP setup | |
# | |
# chkconfig: 2345 9 99 | |
# description: Customize vmware virtual host after creation from template | |
# | |
### BEGIN INIT INFO | |
# Provides: $vapiti | |
# Default-Start: 3 4 5 |
This file contains 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/python | |
# | |
# project-type-env-DC type-DC### | |
# \<location_file DC name>\Team\<location_file IDC/EDC/DMZ>\project\env\ | |
# | |
import optparse | |
from pysphere import * | |
from pysphere.resources import VimService_services as VI |