|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<conf> |
| 3 | + <senders> |
| 4 | + <sender id="1" enable="true"> |
| 5 | + <name>crashlog</name> |
| 6 | + <outdir>/var/log/crashlog</outdir> |
| 7 | + <maxcrashdirs>1000</maxcrashdirs> |
| 8 | + <maxlines>5000</maxlines> |
| 9 | + <spacequota>90</spacequota> |
| 10 | + <uptime> |
| 11 | + <name>UPTIME</name> |
| 12 | + <frequency>5</frequency> |
| 13 | + <eventhours>6</eventhours> |
| 14 | + </uptime> |
| 15 | + </sender> |
| 16 | + <sender id="2" enable="true"> |
| 17 | + <name>telemd</name> |
| 18 | + <outdir>/var/log/acrnprobe</outdir> |
| 19 | + <uptime> |
| 20 | + <name>UPTIME</name> |
| 21 | + <frequency>5</frequency> |
| 22 | + <eventhours>6</eventhours> |
| 23 | + </uptime> |
| 24 | + </sender> |
| 25 | + </senders> |
| 26 | + |
| 27 | + <triggers> |
| 28 | + <trigger id="1" enable="true"> |
| 29 | + <name>t_pstore</name> |
| 30 | + <type>file</type> |
| 31 | + <path>/sys/fs/pstore/console-ramoops</path> |
| 32 | + </trigger> |
| 33 | + <trigger id="2" enable="true"> |
| 34 | + <name>t_boot</name> |
| 35 | + <type>file</type> |
| 36 | + <path>/proc/cmdline</path> |
| 37 | + </trigger> |
| 38 | + <trigger id="3" enable="true"> |
| 39 | + <name>t_usercrash</name> |
| 40 | + <type>dir</type> |
| 41 | + <path>/var/log/usercrashes</path> |
| 42 | + </trigger> |
| 43 | + </triggers> |
| 44 | + |
| 45 | + <vms enable="true"> |
| 46 | + <vm id="1" enable="true"> |
| 47 | + <name>VM1</name> |
| 48 | + <channel>polling</channel> |
| 49 | + <interval>60</interval> |
| 50 | + <syncevent id="1">CRASH/TOMBSTONE</syncevent> |
| 51 | + <syncevent id="2">CRASH/UIWDT</syncevent> |
| 52 | + <syncevent id="3">CRASH/IPANIC</syncevent> |
| 53 | + <syncevent id="4">REBOOT</syncevent> |
| 54 | + </vm> |
| 55 | + </vms> |
| 56 | + |
| 57 | + <logs> |
| 58 | + <log id="1" enable="true"> |
| 59 | + <name>pstore</name> |
| 60 | + <type>file</type> |
| 61 | + <path>/sys/fs/pstore/console-ramoops</path> |
| 62 | + </log> |
| 63 | + <log id='2' enable='true'> |
| 64 | + <name>kmsg</name> |
| 65 | + <type>cmd</type> |
| 66 | + <path>dmesg</path> |
| 67 | + </log> |
| 68 | + <log id='3' enable='true'> |
| 69 | + <name>cmdline</name> |
| 70 | + <type>node</type> |
| 71 | + <path>/proc/cmdline</path> |
| 72 | + </log> |
| 73 | + <log id='4' enable='true'> |
| 74 | + <name>syslog</name> |
| 75 | + <type>cmd</type> |
| 76 | + <path>journalctl -b -0 -n 300 --no-pager</path> |
| 77 | + </log> |
| 78 | + <log id='5' enable='true'> |
| 79 | + <name>acrnlog_cur</name> |
| 80 | + <type>file_rotation</type> |
| 81 | + <path>/tmp/acrnlog/acrnlog_cur.[biggest]</path> |
| 82 | + <lines>500</lines> |
| 83 | + </log> |
| 84 | + <log id='6' enable='true'> |
| 85 | + <name>acrnlog_last</name> |
| 86 | + <type>file_rotation</type> |
| 87 | + <path>/tmp/acrnlog/acrnlog_last.[all]</path> |
| 88 | + </log> |
| 89 | + </logs> |
| 90 | + |
| 91 | + <crashes> |
| 92 | + <crash id='1' inherit='0' enable='true'> |
| 93 | + <name>IPANIC</name> |
| 94 | + <trigger>t_pstore</trigger> |
| 95 | + <channel>oneshot</channel> |
| 96 | + <log id='1'>pstore</log> |
| 97 | + <data id='1'>kernel BUG at</data> |
| 98 | + <data id='2'>EIP is at</data> |
| 99 | + <data id='3'>Comm:</data> |
| 100 | + </crash> |
| 101 | + <crash id='2' inherit='1' enable='true'> |
| 102 | + <name>IPANIC_SWWDT</name> |
| 103 | + <content id='1'>BUG: soft lockup - CPU#</content> |
| 104 | + </crash> |
| 105 | + <crash id='3' inherit='2' enable='true'> |
| 106 | + <name>IPANIC_SWWDT_FAKE</name> |
| 107 | + <mightcontent expression='1' id='1'>EIP: panic_dbg_set</mightcontent> |
| 108 | + <mightcontent expression='1' id='2'>RIP: panic_dbg_set</mightcontent> |
| 109 | + </crash> |
| 110 | + <crash id='4' inherit='0' enable='true'> |
| 111 | + <name>USERCRASH</name> |
| 112 | + <trigger>t_usercrash</trigger> |
| 113 | + <channel>inotify</channel> |
| 114 | + <log id='1'>kmsg</log> |
| 115 | + <log id='2'>syslog</log> |
| 116 | + </crash> |
| 117 | + <crash id='5' inherit='1' enable='true'> |
| 118 | + <name>IPANIC_HWWDT</name> |
| 119 | + <content id='1'>Watchdog detected hard LOCKUP on cpu</content> |
| 120 | + </crash> |
| 121 | + </crashes> |
| 122 | + |
| 123 | + <infos> |
| 124 | + <info id='1' enable='true'> |
| 125 | + <name>BOOT_LOGS</name> |
| 126 | + <trigger>t_boot</trigger> |
| 127 | + <channel>oneshot</channel> |
| 128 | + <log id='1'>kmsg</log> |
| 129 | + <log id='2'>cmdline</log> |
| 130 | + <log id='3'>acrnlog_cur</log> |
| 131 | + <log id='4'>acrnlog_last</log> |
| 132 | + </info> |
| 133 | + </infos> |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | +</conf> |
0 commit comments