| 1 |
#/* This configuration file configures the spoof example |
| 2 |
# module. This example module can be used to test the |
| 3 |
# modular spoofing functionality or it can be used |
| 4 |
# as an example to write your own spoof module. */ |
| 5 |
modules { |
| 6 |
module { |
| 7 |
name = "spfexample" |
| 8 |
language = "python" |
| 9 |
enabled = "no" |
| 10 |
} |
| 11 |
} |
| 12 |
|
| 13 |
#/* Collection groups for the |
| 14 |
# spoof example python module */ |
| 15 |
|
| 16 |
#/* This metric gathers a simulated |
| 17 |
# cpu utilization value */ |
| 18 |
collection_group { |
| 19 |
collect_every = 10 |
| 20 |
time_threshold = 50 |
| 21 |
|
| 22 |
metric { |
| 23 |
name = "spf_random_cpu_util" |
| 24 |
value_threshold = 1.0 |
| 25 |
title = "Spoofed Random CPU Utilization" |
| 26 |
} |
| 27 |
} |
| 28 |
|
| 29 |
#/* This metric spoofs a heartbeat for an |
| 30 |
# imaginary box */ |
| 31 |
collection_group { |
| 32 |
collect_once = yes |
| 33 |
time_threshold = 20 |
| 34 |
|
| 35 |
metric { |
| 36 |
name = "spf_heartbeat" |
| 37 |
title = "Spoofed Heartbeat" |
| 38 |
} |
| 39 |
} |
| 40 |
|
| 41 |
#/* These metrics spoof the location, boottime and OS name |
| 42 |
# for an imaginary box */ |
| 43 |
collection_group { |
| 44 |
collect_once = yes |
| 45 |
time_threshold = 1200 |
| 46 |
|
| 47 |
metric { |
| 48 |
name = "spf_location" |
| 49 |
title = "Spoofed Location" |
| 50 |
} |
| 51 |
metric { |
| 52 |
name = "spf_boottime" |
| 53 |
title = "Spoofed Boot Time" |
| 54 |
} |
| 55 |
metric { |
| 56 |
name = "spf_osname" |
| 57 |
title = "Spoofed OS Name" |
| 58 |
} |
| 59 |
} |