monito/schemas/org.gnome.shell.extensions.monito@drieu.org.gschema.xml

105 lines
2.8 KiB
XML

<!--
Monito Gnome-Shell extension
Copyright (C) 2021 Benjamin
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
SPDX-License-Identifier: GPL-2.0-or-later
-->
<schemalist >
<enum id="org.gnome.shell.extensions.monito.MonitoringType">
<value value="0" nick="Icinga"/>
<value value="1" nick="Icinga2"/>
</enum>
<enum id="org.gnome.shell.extensions.monito.DisplayType">
<value value="0" nick="Short"/>
<value value="1" nick="Long"/>
</enum>
<!-- Main Schema -->
<schema id="org.gnome.shell.extensions.monito" path="/org/gnome/shell/extensions/monito/">
<child name="account" schema="org.gnome.shell.extensions.monito.account"/>
<key name="servers" type="s">
<default>'0'</default>
</key>
<key name="display-type" enum="org.gnome.shell.extensions.monito.DisplayType">
<default>"Short"</default>
</key>
<key name="poll-delay" type="i">
<default>300</default>
</key>
</schema>
<!-- Account list -->
<schema id="org.gnome.shell.extensions.monito.account">
<key name="icon" type="s">
<default>''</default>
</key>
<key name="type" enum="org.gnome.shell.extensions.monito.MonitoringType">
<default>"Icinga"</default>
</key>
<key name="name" type="s">
<default>''</default>
</key>
<key name="username" type="s">
<default>''</default>
</key>
<key name="password" type="s">
<default>''</default>
</key>
<key name="urlcgi" type="s">
<default>''</default>
</key>
<key name="ok-color" type="s">
<default>'#00cc33'</default>
</key>
<key name="warning-color" type="s">
<default>'#ffa500'</default>
</key>
<key name="critical-color" type="s">
<default>'#ff3300'</default>
</key>
<key name="unknown-color" type="s">
<default>'#e496f5'</default>
</key>
<key name="columns" type="as">
<default>['status','host_name','service_display_name','last_check','attempts','status_information']</default>
</key>
<key name="columns-order" type="as">
<default>['status+', 'host_name+','service_display_name+']</default>
</key>
</schema>
</schemalist>