summaryrefslogtreecommitdiff
path: root/op-mode-definitions/monitor-log.xml.in
blob: 352c84ff1fbb907302305daf5d511c95f47ddffa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="monitor">
    <children>
      <node name="log">
        <properties>
          <help>Monitor last lines of messages file</help>
        </properties>
        <command>tail --follow=name /var/log/messages</command>
        <children>
          <node name="colored">
            <properties>
              <help>Output log in a colored fashion</help>
            </properties>
            <command>grc tail --follow=name /var/log/messages</command>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>