Benjamin Drieu
c046b12723
- Implement services lines fold/unfold - Implement new action for services lines : launche browser - Some refactoring
199 lines
4.7 KiB
XML
199 lines
4.7 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="Icinga2API"/>
|
|
<value value="2" 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>
|
|
|
|
<key name="web-browser" type="s">
|
|
<default>"/usr/bin/firefox"</default>
|
|
</key>
|
|
|
|
</schema>
|
|
|
|
<!-- Account list -->
|
|
<schema id="org.gnome.shell.extensions.monito.account">
|
|
|
|
<key name="active" type="b">
|
|
<default>true</default>
|
|
</key>
|
|
|
|
<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="url" type="s">
|
|
<default>''</default>
|
|
</key>
|
|
|
|
<key name="urlcgi" type="s">
|
|
<default>''</default>
|
|
</key>
|
|
|
|
<key name="strict-ssl" type="b">
|
|
<default>true</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="pending-color" type="s">
|
|
<default>'#aaaaaa'</default>
|
|
</key>
|
|
|
|
<key name="ok-fg" type="s">
|
|
<default>'#ffffff'</default>
|
|
</key>
|
|
|
|
<key name="warning-fg" type="s">
|
|
<default>'#ffffff'</default>
|
|
</key>
|
|
|
|
<key name="critical-fg" type="s">
|
|
<default>'#ffffff'</default>
|
|
</key>
|
|
|
|
<key name="unknown-fg" type="s">
|
|
<default>'#ffffff'</default>
|
|
</key>
|
|
|
|
<key name="pending-fg" type="s">
|
|
<default>'#ffffff'</default>
|
|
</key>
|
|
|
|
<key name="columns" type="as">
|
|
<default>['status','host_name','service_display_name','has_been_acknowledged','last_check','attempts','status_information']</default>
|
|
</key>
|
|
|
|
<key name="columns-order" type="as">
|
|
<default>['status+', 'host_name+','service_display_name+']</default>
|
|
</key>
|
|
|
|
<key name="host-grep" type="s">
|
|
<default>''</default>
|
|
</key>
|
|
|
|
<key name="service-grep" type="s">
|
|
<default>''</default>
|
|
</key>
|
|
|
|
<key name="status-info-grep" type="s">
|
|
<default>''</default>
|
|
</key>
|
|
|
|
<key name="acknowledged-filter-out" type="b">
|
|
<default>false</default>
|
|
</key>
|
|
|
|
<key name="host-filter-out" type="s">
|
|
<default>''</default>
|
|
</key>
|
|
|
|
<key name="service-filter-out" type="s">
|
|
<default>''</default>
|
|
</key>
|
|
|
|
<key name="status-info-filter-out" type="s">
|
|
<default>''</default>
|
|
</key>
|
|
|
|
<key name="host-match" type="s">
|
|
<default>''</default>
|
|
</key>
|
|
|
|
<key name="host-replace" type="s">
|
|
<default>''</default>
|
|
</key>
|
|
|
|
<key name="service-match" type="s">
|
|
<default>''</default>
|
|
</key>
|
|
|
|
<key name="service-replace" type="s">
|
|
<default>''</default>
|
|
</key>
|
|
|
|
<key name="status-info-match" type="s">
|
|
<default>''</default>
|
|
</key>
|
|
|
|
<key name="status-info-replace" type="s">
|
|
<default>''</default>
|
|
</key>
|
|
|
|
</schema>
|
|
|
|
</schemalist>
|