|
1 --- |
|
2 :info: |
|
3 - |
|
4 :command: "<%= scope.lookupvar('puppi::params::info_package_query') %> %{package}" |
|
5 :description: "Package info" |
|
6 - |
|
7 :command: "<%= scope.lookupvar('puppi::params::info_package_list') %> %{package} | egrep '(/bin|^/etc|/sbin|log$)'" |
|
8 :description: "Interesting files from package" |
|
9 - |
|
10 :command: "head %{config_file}" |
|
11 :description: "Main configuration file" |
|
12 - |
|
13 :command: "ls -latr %{config_dir}" |
|
14 :description: "Configuration directory" |
|
15 - |
|
16 :command: "ls -latr %{data_dir}" |
|
17 :description: "Data directory" |
|
18 - |
|
19 :command: "ls -latr %{log_dir}" |
|
20 :description: "Logs directory" |
|
21 - |
|
22 :command: "tail %{log_file}" |
|
23 :description: "Latest log entries" |
|
24 - |
|
25 :command: "service %{service status}" |
|
26 :description: "Service status" |
|
27 - |
|
28 :command: "ps -adef | grep %{process} | grep -v grep | head -20" |
|
29 :description: "Running process" |
|
30 - |
|
31 :command: "netstat -natup | grep %{port} | head -20" |
|
32 :description: "Network connections" |
|
33 |
|
34 :check: |
|
35 - |
|
36 :command: "service %{service} status" |
|
37 :description: "Service status" |
|
38 - |
|
39 :command: "check_tcp %{port}" |
|
40 :description: "Check listening port" |
|
41 - |
|
42 :command: "check_procs c 1: -C %{process}" |
|
43 :description: "Check process" |
|
44 |
|
45 :log: |
|
46 - |
|
47 :command: "tail -f %{log_file}" |
|
48 :description: "Tailing logs" |
|
49 |