| Server IP : 34.67.85.211 / Your IP : 216.73.217.52 Web Server : Apache System : Linux wordpress-1-vm 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64 User : root ( 0) PHP Version : 7.4.9 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /etc/stackdriver/ |
Upload File : |
Interval 60
# Explicitly set hostname to "" to indicate the default resource.
Hostname ""
# The Stackdriver agent does not use fully qualified domain names.
FQDNLookup false
LoadPlugin syslog
<Plugin "syslog">
LogLevel "info"
</Plugin>
# if you uncomment this, you will get collectd logs separate from syslog
#LoadPlugin logfile
#<Plugin "logfile">
# LogLevel "info"
# File "/var/log/collectd.log"
# Timestamp true
#</Plugin>
# LoadPlugin docker
LoadPlugin df
<Plugin "df">
FSType "devfs"
IgnoreSelected true
ReportByDevice true
ValuesPercentage true
</Plugin>
LoadPlugin cpu
<Plugin "cpu">
ValuesPercentage true
ReportByCpu false
</Plugin>
LoadPlugin swap
<Plugin "swap">
ValuesPercentage true
</Plugin>
LoadPlugin interface
LoadPlugin disk
LoadPlugin load
LoadPlugin memory
<Plugin "memory">
ValuesPercentage true
</Plugin>
LoadPlugin processes
LoadPlugin tcpconns
LoadPlugin write_gcm
LoadPlugin match_regex
LoadPlugin match_throttle_metadata_keys
LoadPlugin stackdriver_agent
<Plugin "processes">
ProcessMatch "all" ".*"
Detail "ps_cputime"
Detail "ps_disk_octets"
Detail "ps_rss"
Detail "ps_vm"
</Plugin>
<Plugin "disk">
# No config - collectd fails parsing configuration if tag is empty.
</Plugin>
<Plugin "tcpconns">
AllPortsSummary true
</Plugin>
LoadPlugin exec
# Monitor the Stackdriver Logging agent. This should fail gracefully if for any
# reason the metrics endpoint for the Logging agent isn't reachable.
<Plugin "exec">
# The script doesn't need any privileges, so run as 'nobody'.
Exec "nobody" "/opt/stackdriver/collectd/bin/stackdriver-read_agent_logging" "http://localhost:24231/metrics"
</Plugin>
LoadPlugin aggregation
LoadPlugin "match_regex"
<Plugin "memory">
ValuesPercentage true
</Plugin>
<Plugin "write_gcm">
PrettyPrintJSON false
# EnableMetadataAgent true
</Plugin>
PostCacheChain "PostCache"
<Chain "PostCache">
<Rule "processes">
<Match "regex">
Plugin "^processes$"
Type "^(ps_cputime|disk_octets|ps_rss|ps_vm)$"
</Match>
<Target "jump">
Chain "MaybeThrottleProcesses"
</Target>
Target "stop"
</Rule>
<Rule "otherwise">
<Match "throttle_metadata_keys">
OKToThrottle false
HighWaterMark 5700000000 # 950M * 6
LowWaterMark 4800000000 # 800M * 6
</Match>
<Target "write">
Plugin "write_gcm"
</Target>
</Rule>
</Chain>
<Chain "MaybeThrottleProcesses">
<Rule "default">
<Match "throttle_metadata_keys">
OKToThrottle true
TrackedMetadata "processes:pid"
TrackedMetadata "processes:command"
TrackedMetadata "processes:command_line"
TrackedMetadata "processes:owner"
</Match>
<Target "write">
Plugin "write_gcm"
</Target>
</Rule>
</Chain>
# if you have other config, especially for plugins, you can drop them
# into this directory
Include "/opt/stackdriver/collectd/etc/collectd.d"
Include "/etc/stackdriver/collectd.d"