4
4
# ## PacketBeat is a protocol monitoring service that
5
5
# ## works by sniffing the network traffic between your application
6
6
# ## components. It dumps the results into elasticsearch.
7
- # ## Go to http://packetbeat.com for more details.
7
+ # ##
8
+ # ## Go to http://packetbeat.com/gettingstarted for more details.
8
9
# ##
9
10
10
11
[interfaces ]
11
12
# Select on which network interfaces to sniff. You can use the "any"
12
13
# keyword to sniff on all connected interfaces.
13
- device = " en0"
14
+ device = " any"
15
+
16
+ [elasticsearch ]
17
+ # Set the host and port where to find ElasticSearch. Most likely you
18
+ # need to change the port.
19
+ host = " localhost"
20
+ port = 9200
14
21
15
22
# Configure which protocols to monitor and on which ports are they
16
23
# running. You can disable a given protocol by commenting out its
17
24
# configuration.
18
25
[protocols ]
19
26
[protocols .http ]
20
- ports = [80 , 8081 , 5000 , 8002 ]
27
+ ports = [80 , 8080 , 8081 , 5000 , 8002 ]
21
28
22
29
[protocols .mysql ]
23
30
ports = [3306 ]
@@ -28,39 +35,22 @@ device = "en0"
28
35
[procs ]
29
36
# Uncomment the following line to disable reading the processes from
30
37
# the proc file system.
31
- dont_read_from_proc = true
32
-
33
- # Max frequency, in milliseconds, for reading from the proc file system.
34
- # Default is 10 milliseconds.
35
- max_proc_read_freq = 10
38
+ # dont_read_from_proc = true
36
39
37
40
# Which processes to monitor and how to find them. The processes can
38
41
# be found by searching their command line by a given string.
39
42
[procs .monitored .mysqld ]
40
43
cmdline_grep = " mysqld"
41
44
42
- [procs .monitored .minitwit ]
43
- cmdline_grep = " minitwit"
44
-
45
- # Refresh pids frequency. How often to look for PID changes among the
46
- # monitored processes, in milliseconds. The default is one second.
47
- refresh_pids_freq = 1000
45
+ [procs .monitored .nginx ]
46
+ cmdline_grep = " nginx"
48
47
49
48
[agent ]
50
49
# The name of the agent as it will show up in the web interface. If not
51
50
# defined, we will just use the hostname.
52
51
#
53
52
# name=
54
53
55
- # Refresh topology map frequency. How often to read the topology from ElasticSearch
56
- # and to update its local topology map, in seconds. The default is 10 seconds.
57
- refresh_topology_freq = 10
58
-
59
- [elasticsearch ]
60
- # Set the host and port where to find ElasticSearch.
61
- host = " localhost"
62
- port = 9200
63
-
64
54
[runoptions ]
65
55
# The PacketBeats agent can drop privileges after creating the sniffing
66
56
# socket. Root access is required for opening the socket but everything
@@ -74,6 +64,7 @@ port = 9200
74
64
# gid=501
75
65
76
66
[logging ]
67
+ # These are debug helpers to control the verbosity of logging.
77
68
selectors = [" pinger" ]
78
69
79
70
# vim: set ft=toml:
0 commit comments