Finished MySQL database module as early release. (0.25.0)
This commit is contained in:
parent
4491b6e455
commit
c429619040
260 changed files with 76 additions and 2189 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,5 +1,6 @@
|
|||
# Linspector
|
||||
log/*.log
|
||||
etc.*
|
||||
|
||||
# ---> Python
|
||||
# Byte-compiled / optimized / DLL files
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ from linspector.environment import Environment
|
|||
from linspector.linspector import Linspector
|
||||
from linspector.monitors import Monitors
|
||||
|
||||
__version__ = '0.24.1'
|
||||
__version__ = '0.25.0'
|
||||
__author__ = 'Johannes Findeisen <you@hanez.org>'
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
# Not always working configuration with not only implemented options... ;)
|
||||
|
||||
## This is for all the ideas I have and will never work with the current code base!
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[hostgroups]
|
||||
testgroup1 = host1,host2,host3,192.168.2.1>192.168.2.127
|
||||
|
|
@ -1,126 +0,0 @@
|
|||
; all you need to know: https://docs.python.org/3/library/configparser.html ... ;)
|
||||
[linspector]
|
||||
; report core errors to the following users
|
||||
error_receivers = admin@example.com
|
||||
; available log levels are: "critical", "error", "warning", "info" and "debug". if no log_level is set, it will be set
|
||||
; to "critical".
|
||||
log_level = debug
|
||||
;log_file = ~/code/linspector/linspector/log/linspector.log
|
||||
; number of log files to be kept. i recommend to use the lowest sensible value for keeping performance high. so set
|
||||
; the size of the log file higher to increase the log history.
|
||||
log_file_count = 20
|
||||
; log file size in megabytes as int. the default is 10000000 bytes (10MiB) set in the code if not configured here.
|
||||
log_file_size = 1
|
||||
; log file size in bytes as int. you can set to bytes if you want to set a value lower then 1 megabyte. but it will
|
||||
; only be used when log_file_size is not set. if this value is not set too the default in the code will be used.
|
||||
log_file_size_bytes = 100000
|
||||
pid_file = /var/run/user/1000/linspector.pid
|
||||
; plugins separated by ','. no whitespaces allowed! not case sensitive.
|
||||
plugins = api,httpd,lish
|
||||
; globally configured tasks will always run on all monitors when no task is configured there. if tasks are configured in
|
||||
; a monitor then maybe only run tasks from the dedicated monitor. maybe it is a good idea to run global tasks in every
|
||||
; monitor and the monitor can add tasks to the global settings... need to think about it.
|
||||
; tasks separated by ','. no whitespaces allowed! not case sensitive.
|
||||
tasks = sqlite
|
||||
notifications = sms
|
||||
; maybe the run_mode is obsolete because this will be a daemon but maybe it is useful for one time execution?
|
||||
; in uplink the available run_modes were cron, daemon and foreground
|
||||
run_mode = cron
|
||||
; members to send notifications to if something internally in Linspector went wrong.
|
||||
members = superadmin@example.com,developers@example.com
|
||||
; scheduler configuration
|
||||
start_scheduler = true
|
||||
; the mode the scheduler should run. options are, process or thread. default is the thread mode. process mode will run
|
||||
; multiple processes, thread mode will run only one process with multiple threads. maybe this can be combined to run
|
||||
; multiple processes with multiple threads... dont know this actually but reading the APScheduler documentation will
|
||||
; explain this.... :) default is "thread" but Linspector will only run on one CPU core then. default threads are 1024
|
||||
; but this can be set much higher here. this should be minimal set to the number of monitors you are running. in process
|
||||
; mode log rotating is not working as expected so i need to investigate some time to figure out what happens.
|
||||
scheduler_mode = process
|
||||
; the default job interval can be set here. in the code 300 seconds are set when this option does not exist here nor in
|
||||
; the monitor configuration.
|
||||
default_interval = 5
|
||||
; the minimum interval for monitors
|
||||
minimum_interval = 1
|
||||
max_threads = 2048
|
||||
; i recommend to set this to your number of CPU cores available when running on a dedicated Linspector host. but if the
|
||||
; system is running other services you should lower this value when you have too high CPU load. if you have enough
|
||||
; resources this value really can be higher then your available CPU cores.
|
||||
max_processes = 8
|
||||
; timezone can be set to a remote timezone to make monitors run at the remote time. this can be overridden in each
|
||||
; monitor configuration.
|
||||
timezone = UTC
|
||||
; this is for scheduling jobs to not run all at the same time. this should not be set lower then the lowest interval
|
||||
; you use in monitors. it can be set to a lower value if you only have a small amount of services you are monitoring.
|
||||
; i recommend the lowest interval you use in any monitor but higher values will reduce cpu load when using monitors
|
||||
; with a higher value then the delta_range. it is always starting with 0. default is 60. the current setting is for
|
||||
; development only.
|
||||
delta_range = 60
|
||||
|
||||
; hostgroup parents; if the hostgroup "group1" is down, don't alert for the hosts in group2. see TODO for more
|
||||
; information.
|
||||
[hostgroupparents]
|
||||
; hostgroup group1 is parent of group2
|
||||
group1 = group2
|
||||
|
||||
; a flexible way to define groups of hosts which can be used by monitors as target for monitoring for easily monitor
|
||||
; groups without adding a monitor for each host. for some more information see the "hosts" section in gateway.conf.
|
||||
; hostgroups can be defined in separate files in etc/hostgroups to be more flexible.
|
||||
[hostgroups]
|
||||
; add single hosts
|
||||
group1 = host1,host2,host3
|
||||
; add a range of ip addresses.
|
||||
; for ip ranges see: https://stackoverflow.com/questions/19157307/generate-range-of-ips-in-python
|
||||
group2 = 192.168.1.1/28
|
||||
; add a combination of hosts and ranges
|
||||
group3 = host1,host2,host3,192.168.1.1/28
|
||||
; using groups inside groups. but need to take care about recursive dependencies.
|
||||
group4 = host10,host11,host12,@group3
|
||||
|
||||
; member groups to define recipients for notifications. see hostgroups for more details.
|
||||
[membergroups]
|
||||
admins = admin1@example.com,admin2@example.com,admin3@example.com
|
||||
developers = hanez@example.com
|
||||
|
||||
; just an idea taken from the old Linspector design. not tried but seems a good idea to add global options to monitor
|
||||
; groups. no idea of an implementation yet.
|
||||
[monitorgroups]
|
||||
; members of monitors to automatically send notifications to all without need to set them in each monitor. members can
|
||||
; be added to monitors in the configuration of each monitor though.
|
||||
network1_members = admin@example.com,@admins
|
||||
|
||||
; every notification can be configured in it's own configuration file in etc/notifications; there no notification
|
||||
; name as prefix is needed. see email example.
|
||||
[notifications]
|
||||
; values can be overridden in each defined monitor
|
||||
sms_receivers = +number1,+number2
|
||||
sms_configuration_file = ~/linspector/etc/gammurc
|
||||
; retry to send interval and number of retries if something failed
|
||||
sms_resend = 10
|
||||
sms_resend_count = 5
|
||||
email_resend = 10
|
||||
|
||||
; every plugin can be configured in it's own ini file in etc/plugins; there no plugin name as prefix is needed. see
|
||||
; httpd example.
|
||||
[plugins]
|
||||
api_host = 0.0.0.0
|
||||
httpd_host = 192.168.23.42
|
||||
httpd_port = 8089
|
||||
|
||||
; if types can or must be configured before use; for now no use case seen.
|
||||
; every type can be configured in it's own ini file in etc/types; there no type name as prefix is not needed.
|
||||
[services]
|
||||
; run the speedtest not very often. it is not for alerting about problems bur maybe will be at some day.
|
||||
speedtest_interval = 3600
|
||||
; the file to get for calculation of the downlink speed. microsoft has very fast servers so it will become a meaningful
|
||||
; result.
|
||||
speedtest_url = https://go.microsoft.com/fwlink/?Linkid=850641
|
||||
|
||||
; tasks executed at the end of each monitor execution. this is for storing data for longtime analysis. not every task
|
||||
; is storing results and this feature is fully optional. Linspector must run even without activated tasks!
|
||||
[tasks]
|
||||
mariadb_database = linspector
|
||||
mariadb_host = 10.0.0.254
|
||||
mariadb_password = PASSWORD
|
||||
mariadb_port = 3306
|
||||
mariadb_user = USER
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
; required options:
|
||||
[monitor]
|
||||
; Currently not used but should replace current usage of description. The description should be optional...
|
||||
title = The Monitor Title
|
||||
; The description must not but should be a unique description of the monitor for better identifying it in the datastore
|
||||
; if a task is being used.
|
||||
description = Cable Provider Uplink Status
|
||||
service = net.fritzboxuplink
|
||||
hosts = 192.168.0.1,192.168.23.24,@group1,@testgroup1
|
||||
|
||||
; optional options when using notifications, plugins, services or tasks. btw. they still can be a required argument by
|
||||
; a corresponding notification, plugin, service or task. they will need to check required args by themself and throw an
|
||||
; exception if something fails. linspector never knows about required args:
|
||||
[args]
|
||||
; this only depends on the SLA you made with the product owner. this option is optional. the default is 300 seconds.
|
||||
interval = 60
|
||||
; notifications separated by ','. no whitespaces allowed. the case is not important.
|
||||
notifications = sms,emaiL
|
||||
; values from main configuration can be overridden for each defined monitor
|
||||
; email_receivers separated by ','. no whitespaces allowed
|
||||
email_receivers = admin@example.com,fallback@example.com
|
||||
; sms_receivers separated by ','. no whitespaces allowed
|
||||
sms_receivers = +number1,+number2
|
||||
; setting to None fails. just do not set this option. currently i get an error when tasks is not set here. need to be
|
||||
; fixed. setting it like below works but is no good design for optional options. same for notifications.
|
||||
tasks = redis
|
||||
; maybe this should be some kind of range too, for example for the ping service like: 10.0.0.1>10.0.0.42 or more
|
||||
; sophisticated kind of ranges... i will find a solution for that... like host groups in the old version of Linspector
|
||||
; so we don't need to add a monitor for each host... but it would be a good idea to expose these to hostgroups
|
||||
; internally to single hosts to become a monitor for each host internally. some more ideas are in ;)
|
||||
; hosts with added hostgroup defined in main configuration file
|
||||
; monitors can add their self into a hostgroup
|
||||
hostgroups = group1
|
||||
user = USERNAME
|
||||
password = PASSWORD
|
||||
; only alert when the error reaches the threshold
|
||||
threshold = 3
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
[monitor]
|
||||
description = Cable Provider
|
||||
service = Net.FritzboxUplink
|
||||
hosts = 192.168.1.1
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
notifications = email
|
||||
email_receivers = admin@example.com,fallback@example.com
|
||||
sms_receivers = +number1,+number2
|
||||
tasks = mariadb,file
|
||||
user = USERNAME
|
||||
password = PASSWORD
|
||||
hostgroups = group1
|
||||
|
|
@ -1 +0,0 @@
|
|||
this file should not raise an error because it does has the .conf suffix. only .conf files should be processed.
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
; required options
|
||||
[monitor]
|
||||
description = Test1
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
; optional options
|
||||
[args]
|
||||
interval = 13
|
||||
; the start is to schedule the execution of the monitor in at a date in the future. this is helpful to configure
|
||||
; linspector before a host is up and running.
|
||||
start_date = 1999-04-23 23:42:42
|
||||
; every monitor should be able to override the timezone being set by core configuration or the default setting.
|
||||
timezone = EST
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test10
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test11
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test12
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test13
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test14
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test15
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test16
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test17
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test18
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test19
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
[monitor]
|
||||
description = Test2
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 10
|
||||
test_dummy_arg = nothing
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test20
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test21
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test22
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test23
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test24
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test25
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test26
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test27
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test28
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test29
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
[monitor]
|
||||
description = Test3
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 5
|
||||
foo = bar
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test30
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test31
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test32
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test33
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test34
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test35
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test36
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test37
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test38
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test39
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test4
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 50
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test40
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 60
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test5
|
||||
service = net.FritzboxUplink
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 62
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test6
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 30
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test7
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 20
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test8
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 15
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[monitor]
|
||||
description = Test9
|
||||
service = misc.dummy
|
||||
hosts = 192.168.10.10
|
||||
|
||||
[args]
|
||||
interval = 240
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[email]
|
||||
resend = 20
|
||||
smtp_host = mail.example.com
|
||||
smtp_port = 25
|
||||
smtp_password = PASSWORD
|
||||
smtp_user = alerts@example.com
|
||||
receivers = admin@example.com
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[api]
|
||||
host = 127.0.0.1
|
||||
port = 4242
|
||||
type = thread
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[httpserver]
|
||||
host = 127.0.0.1
|
||||
port = 8080
|
||||
type = thread
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[lish]
|
||||
type = none
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
[splunk]
|
||||
host = splunk.example.org
|
||||
port = 3333
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
[syslog]
|
||||
host = log.example.org
|
||||
port = 514
|
||||
|
|
@ -1 +0,0 @@
|
|||
# Fully working configuration with only implemented options I use for testing when writing the code.
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
[linspector]
|
||||
default_interval = 300
|
||||
minimum_interval = 10
|
||||
; this should be set to the highest interval you use. it must not but it will be the best performance.
|
||||
delta_range = 60
|
||||
|
||||
start_scheduler = true
|
||||
scheduler_mode = process
|
||||
max_processes = 24
|
||||
max_threads = 2048
|
||||
pid_file = /var/run/user/1000/linspector.pid
|
||||
|
||||
; log format. this overrides the default configured in the code
|
||||
log_format = <green>timestamp={time:YYYY-MM-DD HH:mm:ss.SSSSSS ZZ}</green> <yellow>uptime={elapsed}</yellow> <magenta>level={level}</magenta> <blue>name=linspector</blue> <cyan>exec={name}:{function}</cyan> <red>line={line}</red> {message}
|
||||
; log level for stderr logging (default: INFO)
|
||||
log_level = INFO
|
||||
; logfile to use
|
||||
logfile = /home/hanez/code/linspector/linspector/log/linspector.log
|
||||
; number of logfiles to keep (default: 10)
|
||||
logfile_count = 5
|
||||
; logfile format. this overrides the default configured in the code
|
||||
;logfile_format = [{time:YYYY-MM-DD HH:mm:ss.SSSSSS ZZ}] [{elapsed}] [{level}] [linspector] [{name}:{function}:{line}]: {message}
|
||||
; log level for file based logging
|
||||
logfile_level = DEBUG
|
||||
; size of logfiles (default: 1MB)
|
||||
logfile_size = 10MiB
|
||||
|
||||
notifications =
|
||||
plugins =
|
||||
tasks = mariadb,csv,file
|
||||
|
||||
; timezone can be set to a remote timezone to make monitors run at the remote time. this can be overridden in each
|
||||
; monitor configuration.
|
||||
timezone = Europe/Berlin
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
[monitor]
|
||||
title = Uplink Status
|
||||
description = Cable Provider Uplink Status
|
||||
service = vendor.avm.is_connected
|
||||
host = 192.168.23.1
|
||||
interval = 60
|
||||
; the timezone can be set to the zone of the monitor target host to run at the remote time. this is optional. the
|
||||
; default is the local system timezone.
|
||||
;timezone = UTC
|
||||
|
||||
[args]
|
||||
password = PASSWORD
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Uplink Status
|
||||
description = Cable Provider Uplink Status
|
||||
service = vendor.avm.is_connected
|
||||
host = 192.168.178.1
|
||||
interval = 60
|
||||
|
||||
[args]
|
||||
password = PASSWORD
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 1
|
||||
description = Random 1 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.1
|
||||
interval = 1
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 10
|
||||
description = Random 10 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.10
|
||||
interval = 10
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 100
|
||||
description = Random 100 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.100
|
||||
interval = 100
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 101
|
||||
description = Random 101 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.101
|
||||
interval = 101
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 102
|
||||
description = Random 102 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.102
|
||||
interval = 102
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 103
|
||||
description = Random 103 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.103
|
||||
interval = 103
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 104
|
||||
description = Random 104 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.104
|
||||
interval = 104
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 105
|
||||
description = Random 105 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.105
|
||||
interval = 105
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 106
|
||||
description = Random 106 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.106
|
||||
interval = 106
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 107
|
||||
description = Random 107 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.107
|
||||
interval = 107
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 108
|
||||
description = Random 108 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.108
|
||||
interval = 108
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 109
|
||||
description = Random 109 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.109
|
||||
interval = 109
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 11
|
||||
description = Random 11 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.11
|
||||
interval = 11
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 110
|
||||
description = Random 110 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.110
|
||||
interval = 110
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 111
|
||||
description = Random 111 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.111
|
||||
interval = 111
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 112
|
||||
description = Random 112 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.112
|
||||
interval = 112
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 113
|
||||
description = Random 113 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.113
|
||||
interval = 113
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 114
|
||||
description = Random 114 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.114
|
||||
interval = 114
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 115
|
||||
description = Random 115 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.115
|
||||
interval = 115
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 116
|
||||
description = Random 116 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.116
|
||||
interval = 116
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 117
|
||||
description = Random 117 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.117
|
||||
interval = 117
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 118
|
||||
description = Random 118 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.118
|
||||
interval = 118
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 119
|
||||
description = Random 119 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.119
|
||||
interval = 119
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 12
|
||||
description = Random 12 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.12
|
||||
interval = 12
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 120
|
||||
description = Random 120 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.120
|
||||
interval = 120
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 121
|
||||
description = Random 121 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.121
|
||||
interval = 121
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 122
|
||||
description = Random 122 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.122
|
||||
interval = 122
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 123
|
||||
description = Random 123 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.123
|
||||
interval = 123
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 124
|
||||
description = Random 124 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.124
|
||||
interval = 124
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 125
|
||||
description = Random 125 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.125
|
||||
interval = 125
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 126
|
||||
description = Random 126 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.126
|
||||
interval = 126
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[monitor]
|
||||
title = Random 127
|
||||
description = Random 127 Service Check
|
||||
service = misc.random
|
||||
host = 127.0.0.127
|
||||
interval = 127
|
||||
|
||||
[args]
|
||||
message = Hello World!
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue