179 lines
4.7 KiB
XML
179 lines
4.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<conf>
|
|
<senders>
|
|
<sender id="1" enable="true">
|
|
<name>crashlog</name>
|
|
<outdir>/var/log/crashlog</outdir>
|
|
<maxcrashdirs>1000</maxcrashdirs>
|
|
<maxlines>5000</maxlines>
|
|
<spacequota>90</spacequota>
|
|
<foldersize>200</foldersize>
|
|
<uptime>
|
|
<name>UPTIME</name>
|
|
<frequency>5</frequency>
|
|
<eventhours>6</eventhours>
|
|
</uptime>
|
|
</sender>
|
|
<sender id="2" enable="true">
|
|
<name>telemd</name>
|
|
<outdir>/var/log/acrnprobe</outdir>
|
|
<foldersize>10</foldersize>
|
|
<uptime>
|
|
<name>UPTIME</name>
|
|
<frequency>5</frequency>
|
|
<eventhours>6</eventhours>
|
|
</uptime>
|
|
</sender>
|
|
</senders>
|
|
|
|
<triggers>
|
|
<trigger id="1" enable="true">
|
|
<name>t_pstore</name>
|
|
<type>node</type>
|
|
<path>/sys/fs/pstore/console-ramoops-0</path>
|
|
</trigger>
|
|
<trigger id="2" enable="true">
|
|
<name>t_boot</name>
|
|
<type>file</type>
|
|
<path>/proc/cmdline</path>
|
|
</trigger>
|
|
<trigger id="3" enable="true">
|
|
<name>t_usercrash</name>
|
|
<type>dir</type>
|
|
<path>/var/log/usercrashes</path>
|
|
</trigger>
|
|
<trigger id="4" enable="true">
|
|
<name>t_rebootreason</name>
|
|
<type>rebootreason</type>
|
|
</trigger>
|
|
<trigger id="5" enable="true">
|
|
<name>t_acrnlog_last</name>
|
|
<type>file</type>
|
|
<path>/tmp/acrnlog/acrnlog_last.[*]</path>
|
|
</trigger>
|
|
</triggers>
|
|
|
|
<vms enable="true">
|
|
<vm id="1" enable="true">
|
|
<name>VM1</name>
|
|
<channel>polling</channel>
|
|
<interval>60</interval>
|
|
<syncevent id="1">CRASH/UIWDT</syncevent>
|
|
<syncevent id="2">CRASH/IPANIC</syncevent>
|
|
<syncevent id="3">REBOOT</syncevent>
|
|
</vm>
|
|
</vms>
|
|
|
|
<logs>
|
|
<log id="1" enable="true">
|
|
<name>pstore</name>
|
|
<type>node</type>
|
|
<path>/sys/fs/pstore/console-ramoops-0</path>
|
|
</log>
|
|
<log id='2' enable='true'>
|
|
<name>kmsg</name>
|
|
<type>node</type>
|
|
<path>/dev/kmsg</path>
|
|
<sizelimit>2</sizelimit>
|
|
</log>
|
|
<log id='3' enable='true'>
|
|
<name>cmdline</name>
|
|
<type>node</type>
|
|
<path>/proc/cmdline</path>
|
|
</log>
|
|
<log id='4' enable='true'>
|
|
<name>syslog</name>
|
|
<type>cmd</type>
|
|
<path>journalctl -b -0 -n 300 --no-pager</path>
|
|
</log>
|
|
<log id='5' enable='true'>
|
|
<name>acrnlog_cur</name>
|
|
<type>file</type>
|
|
<path>/tmp/acrnlog/acrnlog_cur.[-1]</path>
|
|
<lines>500</lines>
|
|
</log>
|
|
<log id='6' enable='true'>
|
|
<name>acrnlog_last</name>
|
|
<type>file</type>
|
|
<path>/tmp/acrnlog/acrnlog_last.[*]</path>
|
|
</log>
|
|
</logs>
|
|
|
|
<crashes>
|
|
<crash id='1' inherit='0' enable='true'>
|
|
<name>UNKNOWN</name>
|
|
<trigger>t_rebootreason</trigger>
|
|
<channel>oneshot</channel>
|
|
<content id='1'>WARM</content>
|
|
<log id='1'>pstore</log>
|
|
<log id='2'>acrnlog_last</log>
|
|
</crash>
|
|
<crash id='2' inherit='0' enable='true'>
|
|
<name>SWWDT_UNHANDLE</name>
|
|
<trigger>t_rebootreason</trigger>
|
|
<channel>oneshot</channel>
|
|
<content id='1'>WATCHDOG</content>
|
|
<log id='1'>pstore</log>
|
|
<log id='2'>acrnlog_last</log>
|
|
</crash>
|
|
<crash id='3' inherit='0' enable='true'>
|
|
<name>HWWDT_UNHANDLE</name>
|
|
<trigger>t_rebootreason</trigger>
|
|
<channel>oneshot</channel>
|
|
<content id='1'>GLOBAL</content>
|
|
<log id='1'>pstore</log>
|
|
<log id='2'>acrnlog_last</log>
|
|
</crash>
|
|
<crash id='4' inherit='1' enable='true'>
|
|
<name>ACRNCRASH</name>
|
|
<trigger>t_acrnlog_last</trigger>
|
|
<content id='1'>= Unhandled exception:</content>
|
|
</crash>
|
|
<crash id='5' inherit='1' enable='true'>
|
|
<name>IPANIC</name>
|
|
<trigger>t_pstore</trigger>
|
|
<content id='1'> </content>
|
|
<mightcontent expression='1' id='1'>Kernel panic - not syncing:</mightcontent>
|
|
<mightcontent expression='1' id='2'>BUG: unable to handle kernel</mightcontent>
|
|
<data id='1'>kernel BUG at</data>
|
|
<data id='2'>EIP is at</data>
|
|
<data id='3'>Comm:</data>
|
|
</crash>
|
|
<crash id='6' inherit='2' enable='true'>
|
|
<name>ACRNCRASH</name>
|
|
<trigger>t_acrnlog_last</trigger>
|
|
<content id='1'>= Unhandled exception:</content>
|
|
</crash>
|
|
<crash id='7' inherit='2' enable='true'>
|
|
<name>SWWDT_IPANIC</name>
|
|
<trigger>t_pstore</trigger>
|
|
<content id='1'> </content>
|
|
<mightcontent expression='1' id='1'>Kernel panic - not syncing:</mightcontent>
|
|
<mightcontent expression='1' id='2'>BUG: unable to handle kernel</mightcontent>
|
|
<data id='1'>kernel BUG at</data>
|
|
<data id='2'>EIP is at</data>
|
|
<data id='3'>Comm:</data>
|
|
</crash>
|
|
<crash id='8' inherit='0' enable='true'>
|
|
<name>USERCRASH</name>
|
|
<trigger>t_usercrash</trigger>
|
|
<channel>inotify</channel>
|
|
<log id='1'>kmsg</log>
|
|
<log id='2'>syslog</log>
|
|
</crash>
|
|
</crashes>
|
|
|
|
<infos>
|
|
<info id='1' enable='true'>
|
|
<name>BOOT_LOGS</name>
|
|
<trigger>t_boot</trigger>
|
|
<channel>oneshot</channel>
|
|
<log id='1'>kmsg</log>
|
|
<log id='2'>cmdline</log>
|
|
<log id='3'>acrnlog_cur</log>
|
|
<log id='4'>acrnlog_last</log>
|
|
</info>
|
|
</infos>
|
|
|
|
</conf>
|