diff --git a/.gitignore b/.gitignore index a58397f..44e95ae 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Linspector log/*.log +etc.* # ---> Python # Byte-compiled / optimized / DLL files diff --git a/bin/linspector b/bin/linspector index e87cb6b..c53966c 100755 --- a/bin/linspector +++ b/bin/linspector @@ -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 ' diff --git a/etc.dev/README.md b/etc.dev/README.md deleted file mode 100644 index d11cf6c..0000000 --- a/etc.dev/README.md +++ /dev/null @@ -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! diff --git a/etc.dev/hostgroups/.gitkeep b/etc.dev/hostgroups/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/etc.dev/hostgroups/testgroup1.conf b/etc.dev/hostgroups/testgroup1.conf deleted file mode 100644 index 226f3ef..0000000 --- a/etc.dev/hostgroups/testgroup1.conf +++ /dev/null @@ -1,2 +0,0 @@ -[hostgroups] -testgroup1 = host1,host2,host3,192.168.2.1>192.168.2.127 \ No newline at end of file diff --git a/etc.dev/linspector.conf b/etc.dev/linspector.conf deleted file mode 100644 index 7d014dd..0000000 --- a/etc.dev/linspector.conf +++ /dev/null @@ -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 diff --git a/etc.dev/monitors/network1/.gitkeep b/etc.dev/monitors/network1/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/etc.dev/monitors/network1/gateway.conf b/etc.dev/monitors/network1/gateway.conf deleted file mode 100644 index 0199c5f..0000000 --- a/etc.dev/monitors/network1/gateway.conf +++ /dev/null @@ -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 diff --git a/etc.dev/monitors/network2/.gitkeep b/etc.dev/monitors/network2/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/etc.dev/monitors/network2/gateway.conf b/etc.dev/monitors/network2/gateway.conf deleted file mode 100644 index 436b75c..0000000 --- a/etc.dev/monitors/network2/gateway.conf +++ /dev/null @@ -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 \ No newline at end of file diff --git a/etc.dev/monitors/test/.gitkeep b/etc.dev/monitors/test/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/etc.dev/monitors/test/test1 b/etc.dev/monitors/test/test1 deleted file mode 100644 index 766b1c0..0000000 --- a/etc.dev/monitors/test/test1 +++ /dev/null @@ -1 +0,0 @@ -this file should not raise an error because it does has the .conf suffix. only .conf files should be processed. \ No newline at end of file diff --git a/etc.dev/monitors/test/test1.conf b/etc.dev/monitors/test/test1.conf deleted file mode 100644 index be8a3c8..0000000 --- a/etc.dev/monitors/test/test1.conf +++ /dev/null @@ -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 diff --git a/etc.dev/monitors/test/test10.conf b/etc.dev/monitors/test/test10.conf deleted file mode 100644 index 46bf6a8..0000000 --- a/etc.dev/monitors/test/test10.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test10 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test11.conf b/etc.dev/monitors/test/test11.conf deleted file mode 100644 index 64277e4..0000000 --- a/etc.dev/monitors/test/test11.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test11 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test12.conf b/etc.dev/monitors/test/test12.conf deleted file mode 100644 index 138ff6c..0000000 --- a/etc.dev/monitors/test/test12.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test12 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test13.conf b/etc.dev/monitors/test/test13.conf deleted file mode 100644 index 249992c..0000000 --- a/etc.dev/monitors/test/test13.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test13 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test14.conf b/etc.dev/monitors/test/test14.conf deleted file mode 100644 index c30ba25..0000000 --- a/etc.dev/monitors/test/test14.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test14 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test15.conf b/etc.dev/monitors/test/test15.conf deleted file mode 100644 index 7758280..0000000 --- a/etc.dev/monitors/test/test15.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test15 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test16.conf b/etc.dev/monitors/test/test16.conf deleted file mode 100644 index ea88b24..0000000 --- a/etc.dev/monitors/test/test16.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test16 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test17.conf b/etc.dev/monitors/test/test17.conf deleted file mode 100644 index cd9010e..0000000 --- a/etc.dev/monitors/test/test17.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test17 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test18.conf b/etc.dev/monitors/test/test18.conf deleted file mode 100644 index dd9be51..0000000 --- a/etc.dev/monitors/test/test18.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test18 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test19.conf b/etc.dev/monitors/test/test19.conf deleted file mode 100644 index 12dc380..0000000 --- a/etc.dev/monitors/test/test19.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test19 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test2.conf b/etc.dev/monitors/test/test2.conf deleted file mode 100644 index 2869d7a..0000000 --- a/etc.dev/monitors/test/test2.conf +++ /dev/null @@ -1,8 +0,0 @@ -[monitor] -description = Test2 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 10 -test_dummy_arg = nothing diff --git a/etc.dev/monitors/test/test20.conf b/etc.dev/monitors/test/test20.conf deleted file mode 100644 index 4419f9d..0000000 --- a/etc.dev/monitors/test/test20.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test20 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test21.conf b/etc.dev/monitors/test/test21.conf deleted file mode 100644 index 7d137d9..0000000 --- a/etc.dev/monitors/test/test21.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test21 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test22.conf b/etc.dev/monitors/test/test22.conf deleted file mode 100644 index bccaef7..0000000 --- a/etc.dev/monitors/test/test22.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test22 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test23.conf b/etc.dev/monitors/test/test23.conf deleted file mode 100644 index 059c9f0..0000000 --- a/etc.dev/monitors/test/test23.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test23 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test24.conf b/etc.dev/monitors/test/test24.conf deleted file mode 100644 index b4451d2..0000000 --- a/etc.dev/monitors/test/test24.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test24 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test25.conf b/etc.dev/monitors/test/test25.conf deleted file mode 100644 index 78eef06..0000000 --- a/etc.dev/monitors/test/test25.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test25 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test26.conf b/etc.dev/monitors/test/test26.conf deleted file mode 100644 index bad7b0d..0000000 --- a/etc.dev/monitors/test/test26.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test26 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test27.conf b/etc.dev/monitors/test/test27.conf deleted file mode 100644 index a21fa06..0000000 --- a/etc.dev/monitors/test/test27.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test27 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test28.conf b/etc.dev/monitors/test/test28.conf deleted file mode 100644 index 83dfc42..0000000 --- a/etc.dev/monitors/test/test28.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test28 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test29.conf b/etc.dev/monitors/test/test29.conf deleted file mode 100644 index 6ce8dec..0000000 --- a/etc.dev/monitors/test/test29.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test29 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test3.conf b/etc.dev/monitors/test/test3.conf deleted file mode 100644 index 0533bf6..0000000 --- a/etc.dev/monitors/test/test3.conf +++ /dev/null @@ -1,8 +0,0 @@ -[monitor] -description = Test3 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 5 -foo = bar diff --git a/etc.dev/monitors/test/test30.conf b/etc.dev/monitors/test/test30.conf deleted file mode 100644 index d1d0543..0000000 --- a/etc.dev/monitors/test/test30.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test30 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test31.conf b/etc.dev/monitors/test/test31.conf deleted file mode 100644 index 4b0a240..0000000 --- a/etc.dev/monitors/test/test31.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test31 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test32.conf b/etc.dev/monitors/test/test32.conf deleted file mode 100644 index e434177..0000000 --- a/etc.dev/monitors/test/test32.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test32 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test33.conf b/etc.dev/monitors/test/test33.conf deleted file mode 100644 index 692089f..0000000 --- a/etc.dev/monitors/test/test33.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test33 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test34.conf b/etc.dev/monitors/test/test34.conf deleted file mode 100644 index 0d27443..0000000 --- a/etc.dev/monitors/test/test34.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test34 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test35.conf b/etc.dev/monitors/test/test35.conf deleted file mode 100644 index 467773c..0000000 --- a/etc.dev/monitors/test/test35.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test35 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test36.conf b/etc.dev/monitors/test/test36.conf deleted file mode 100644 index cdc791a..0000000 --- a/etc.dev/monitors/test/test36.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test36 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test37.conf b/etc.dev/monitors/test/test37.conf deleted file mode 100644 index f6511f2..0000000 --- a/etc.dev/monitors/test/test37.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test37 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test38.conf b/etc.dev/monitors/test/test38.conf deleted file mode 100644 index 70225f1..0000000 --- a/etc.dev/monitors/test/test38.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test38 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test39.conf b/etc.dev/monitors/test/test39.conf deleted file mode 100644 index c09c405..0000000 --- a/etc.dev/monitors/test/test39.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test39 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test4.conf b/etc.dev/monitors/test/test4.conf deleted file mode 100644 index b7256c6..0000000 --- a/etc.dev/monitors/test/test4.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test4 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 50 diff --git a/etc.dev/monitors/test/test40.conf b/etc.dev/monitors/test/test40.conf deleted file mode 100644 index 708adce..0000000 --- a/etc.dev/monitors/test/test40.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test40 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 60 diff --git a/etc.dev/monitors/test/test5.conf b/etc.dev/monitors/test/test5.conf deleted file mode 100644 index fab5f84..0000000 --- a/etc.dev/monitors/test/test5.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test5 -service = net.FritzboxUplink -hosts = 192.168.10.10 - -[args] -interval = 62 diff --git a/etc.dev/monitors/test/test6.conf b/etc.dev/monitors/test/test6.conf deleted file mode 100644 index 668e91c..0000000 --- a/etc.dev/monitors/test/test6.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test6 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 30 diff --git a/etc.dev/monitors/test/test7.conf b/etc.dev/monitors/test/test7.conf deleted file mode 100644 index a8dd326..0000000 --- a/etc.dev/monitors/test/test7.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test7 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 20 diff --git a/etc.dev/monitors/test/test8.conf b/etc.dev/monitors/test/test8.conf deleted file mode 100644 index 0a97d42..0000000 --- a/etc.dev/monitors/test/test8.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test8 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 15 diff --git a/etc.dev/monitors/test/test9.conf b/etc.dev/monitors/test/test9.conf deleted file mode 100644 index d5a622a..0000000 --- a/etc.dev/monitors/test/test9.conf +++ /dev/null @@ -1,7 +0,0 @@ -[monitor] -description = Test9 -service = misc.dummy -hosts = 192.168.10.10 - -[args] -interval = 240 diff --git a/etc.dev/notifications/.gitkeep b/etc.dev/notifications/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/etc.dev/notifications/email.conf b/etc.dev/notifications/email.conf deleted file mode 100644 index 9d0bf9e..0000000 --- a/etc.dev/notifications/email.conf +++ /dev/null @@ -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 \ No newline at end of file diff --git a/etc.dev/plugins/.gitkeep b/etc.dev/plugins/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/etc.dev/plugins/api.conf b/etc.dev/plugins/api.conf deleted file mode 100644 index 53a9488..0000000 --- a/etc.dev/plugins/api.conf +++ /dev/null @@ -1,4 +0,0 @@ -[api] -host = 127.0.0.1 -port = 4242 -type = thread \ No newline at end of file diff --git a/etc.dev/plugins/httpd.conf b/etc.dev/plugins/httpd.conf deleted file mode 100644 index 4e92011..0000000 --- a/etc.dev/plugins/httpd.conf +++ /dev/null @@ -1,4 +0,0 @@ -[httpserver] -host = 127.0.0.1 -port = 8080 -type = thread \ No newline at end of file diff --git a/etc.dev/plugins/lish.conf b/etc.dev/plugins/lish.conf deleted file mode 100644 index 4a8778c..0000000 --- a/etc.dev/plugins/lish.conf +++ /dev/null @@ -1,2 +0,0 @@ -[lish] -type = none \ No newline at end of file diff --git a/etc.dev/services/.gitkeep b/etc.dev/services/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/etc.dev/tasks/.gitkeep b/etc.dev/tasks/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/etc.dev/tasks/splunk.conf b/etc.dev/tasks/splunk.conf deleted file mode 100644 index 80d2769..0000000 --- a/etc.dev/tasks/splunk.conf +++ /dev/null @@ -1,3 +0,0 @@ -[splunk] -host = splunk.example.org -port = 3333 \ No newline at end of file diff --git a/etc.dev/tasks/syslog.conf b/etc.dev/tasks/syslog.conf deleted file mode 100644 index 343b479..0000000 --- a/etc.dev/tasks/syslog.conf +++ /dev/null @@ -1,3 +0,0 @@ -[syslog] -host = log.example.org -port = 514 \ No newline at end of file diff --git a/etc.local/README.md b/etc.local/README.md deleted file mode 100644 index 6190bb4..0000000 --- a/etc.local/README.md +++ /dev/null @@ -1 +0,0 @@ -# Fully working configuration with only implemented options I use for testing when writing the code. diff --git a/etc.local/hostgroups/.gitkeep b/etc.local/hostgroups/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/etc.local/hostgroups/testgroup1.conf b/etc.local/hostgroups/testgroup1.conf deleted file mode 100644 index e69de29..0000000 diff --git a/etc.local/linspector.conf b/etc.local/linspector.conf deleted file mode 100644 index 256f667..0000000 --- a/etc.local/linspector.conf +++ /dev/null @@ -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 = timestamp={time:YYYY-MM-DD HH:mm:ss.SSSSSS ZZ} uptime={elapsed} level={level} name=linspector exec={name}:{function} line={line} {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 diff --git a/etc.local/monitors/network1/gateway.conf b/etc.local/monitors/network1/gateway.conf deleted file mode 100644 index bebb16d..0000000 --- a/etc.local/monitors/network1/gateway.conf +++ /dev/null @@ -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 diff --git a/etc.local/monitors/network2/gateway.conf b/etc.local/monitors/network2/gateway.conf deleted file mode 100644 index f3d15ea..0000000 --- a/etc.local/monitors/network2/gateway.conf +++ /dev/null @@ -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 diff --git a/etc.local/monitors/stress1/random1.conf b/etc.local/monitors/stress1/random1.conf deleted file mode 100644 index 301a346..0000000 --- a/etc.local/monitors/stress1/random1.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random10.conf b/etc.local/monitors/stress1/random10.conf deleted file mode 100644 index c5b22d1..0000000 --- a/etc.local/monitors/stress1/random10.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random100.conf b/etc.local/monitors/stress1/random100.conf deleted file mode 100644 index d31e0fc..0000000 --- a/etc.local/monitors/stress1/random100.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random101.conf b/etc.local/monitors/stress1/random101.conf deleted file mode 100644 index ffe0c15..0000000 --- a/etc.local/monitors/stress1/random101.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random102.conf b/etc.local/monitors/stress1/random102.conf deleted file mode 100644 index 93afe31..0000000 --- a/etc.local/monitors/stress1/random102.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random103.conf b/etc.local/monitors/stress1/random103.conf deleted file mode 100644 index 369d039..0000000 --- a/etc.local/monitors/stress1/random103.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random104.conf b/etc.local/monitors/stress1/random104.conf deleted file mode 100644 index 4d2708c..0000000 --- a/etc.local/monitors/stress1/random104.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random105.conf b/etc.local/monitors/stress1/random105.conf deleted file mode 100644 index 74562c9..0000000 --- a/etc.local/monitors/stress1/random105.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random106.conf b/etc.local/monitors/stress1/random106.conf deleted file mode 100644 index 671436a..0000000 --- a/etc.local/monitors/stress1/random106.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random107.conf b/etc.local/monitors/stress1/random107.conf deleted file mode 100644 index 31cca55..0000000 --- a/etc.local/monitors/stress1/random107.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random108.conf b/etc.local/monitors/stress1/random108.conf deleted file mode 100644 index 0658a36..0000000 --- a/etc.local/monitors/stress1/random108.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random109.conf b/etc.local/monitors/stress1/random109.conf deleted file mode 100644 index 5772e68..0000000 --- a/etc.local/monitors/stress1/random109.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random11.conf b/etc.local/monitors/stress1/random11.conf deleted file mode 100644 index 6b1d0a2..0000000 --- a/etc.local/monitors/stress1/random11.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random110.conf b/etc.local/monitors/stress1/random110.conf deleted file mode 100644 index 78f400d..0000000 --- a/etc.local/monitors/stress1/random110.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random111.conf b/etc.local/monitors/stress1/random111.conf deleted file mode 100644 index 4727f8b..0000000 --- a/etc.local/monitors/stress1/random111.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random112.conf b/etc.local/monitors/stress1/random112.conf deleted file mode 100644 index 56740b0..0000000 --- a/etc.local/monitors/stress1/random112.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random113.conf b/etc.local/monitors/stress1/random113.conf deleted file mode 100644 index eb93f1e..0000000 --- a/etc.local/monitors/stress1/random113.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random114.conf b/etc.local/monitors/stress1/random114.conf deleted file mode 100644 index 4ae5e2a..0000000 --- a/etc.local/monitors/stress1/random114.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random115.conf b/etc.local/monitors/stress1/random115.conf deleted file mode 100644 index 485008c..0000000 --- a/etc.local/monitors/stress1/random115.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random116.conf b/etc.local/monitors/stress1/random116.conf deleted file mode 100644 index d641e84..0000000 --- a/etc.local/monitors/stress1/random116.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random117.conf b/etc.local/monitors/stress1/random117.conf deleted file mode 100644 index 524cab4..0000000 --- a/etc.local/monitors/stress1/random117.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random118.conf b/etc.local/monitors/stress1/random118.conf deleted file mode 100644 index 779f73e..0000000 --- a/etc.local/monitors/stress1/random118.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random119.conf b/etc.local/monitors/stress1/random119.conf deleted file mode 100644 index 5571b8d..0000000 --- a/etc.local/monitors/stress1/random119.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random12.conf b/etc.local/monitors/stress1/random12.conf deleted file mode 100644 index 0656e06..0000000 --- a/etc.local/monitors/stress1/random12.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random120.conf b/etc.local/monitors/stress1/random120.conf deleted file mode 100644 index 797762d..0000000 --- a/etc.local/monitors/stress1/random120.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random121.conf b/etc.local/monitors/stress1/random121.conf deleted file mode 100644 index 71eaab3..0000000 --- a/etc.local/monitors/stress1/random121.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random122.conf b/etc.local/monitors/stress1/random122.conf deleted file mode 100644 index 7abe7a4..0000000 --- a/etc.local/monitors/stress1/random122.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random123.conf b/etc.local/monitors/stress1/random123.conf deleted file mode 100644 index 3511df4..0000000 --- a/etc.local/monitors/stress1/random123.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random124.conf b/etc.local/monitors/stress1/random124.conf deleted file mode 100644 index d71f9b4..0000000 --- a/etc.local/monitors/stress1/random124.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random125.conf b/etc.local/monitors/stress1/random125.conf deleted file mode 100644 index b103991..0000000 --- a/etc.local/monitors/stress1/random125.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random126.conf b/etc.local/monitors/stress1/random126.conf deleted file mode 100644 index 32405bc..0000000 --- a/etc.local/monitors/stress1/random126.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random127.conf b/etc.local/monitors/stress1/random127.conf deleted file mode 100644 index 68e06db..0000000 --- a/etc.local/monitors/stress1/random127.conf +++ /dev/null @@ -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! diff --git a/etc.local/monitors/stress1/random128.conf b/etc.local/monitors/stress1/random128.conf deleted file mode 100644 index 4bdde0a..0000000 --- a/etc.local/monitors/stress1/random128.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 128 -description = Random 128 Service Check -service = misc.random -host = 127.0.0.128 -interval = 128 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random129.conf b/etc.local/monitors/stress1/random129.conf deleted file mode 100644 index eacebd3..0000000 --- a/etc.local/monitors/stress1/random129.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 129 -description = Random 129 Service Check -service = misc.random -host = 127.0.0.129 -interval = 129 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random13.conf b/etc.local/monitors/stress1/random13.conf deleted file mode 100644 index 5a51cf2..0000000 --- a/etc.local/monitors/stress1/random13.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 13 -description = Random 13 Service Check -service = misc.random -host = 127.0.0.13 -interval = 13 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random130.conf b/etc.local/monitors/stress1/random130.conf deleted file mode 100644 index 8ba35b0..0000000 --- a/etc.local/monitors/stress1/random130.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 130 -description = Random 130 Service Check -service = misc.random -host = 127.0.0.130 -interval = 130 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random131.conf b/etc.local/monitors/stress1/random131.conf deleted file mode 100644 index 4f6dd64..0000000 --- a/etc.local/monitors/stress1/random131.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 131 -description = Random 131 Service Check -service = misc.random -host = 127.0.0.131 -interval = 131 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random132.conf b/etc.local/monitors/stress1/random132.conf deleted file mode 100644 index 6a1a9fc..0000000 --- a/etc.local/monitors/stress1/random132.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 132 -description = Random 132 Service Check -service = misc.random -host = 127.0.0.132 -interval = 132 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random133.conf b/etc.local/monitors/stress1/random133.conf deleted file mode 100644 index 320951e..0000000 --- a/etc.local/monitors/stress1/random133.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 133 -description = Random 133 Service Check -service = misc.random -host = 127.0.0.133 -interval = 133 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random134.conf b/etc.local/monitors/stress1/random134.conf deleted file mode 100644 index 95e20e3..0000000 --- a/etc.local/monitors/stress1/random134.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 134 -description = Random 134 Service Check -service = misc.random -host = 127.0.0.134 -interval = 134 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random135.conf b/etc.local/monitors/stress1/random135.conf deleted file mode 100644 index 5b51f3a..0000000 --- a/etc.local/monitors/stress1/random135.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 135 -description = Random 135 Service Check -service = misc.random -host = 127.0.0.135 -interval = 135 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random136.conf b/etc.local/monitors/stress1/random136.conf deleted file mode 100644 index 66610f0..0000000 --- a/etc.local/monitors/stress1/random136.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 136 -description = Random 136 Service Check -service = misc.random -host = 127.0.0.136 -interval = 136 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random137.conf b/etc.local/monitors/stress1/random137.conf deleted file mode 100644 index 9d50f42..0000000 --- a/etc.local/monitors/stress1/random137.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 137 -description = Random 137 Service Check -service = misc.random -host = 127.0.0.137 -interval = 137 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random138.conf b/etc.local/monitors/stress1/random138.conf deleted file mode 100644 index 27f7cdc..0000000 --- a/etc.local/monitors/stress1/random138.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 138 -description = Random 138 Service Check -service = misc.random -host = 127.0.0.138 -interval = 138 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random139.conf b/etc.local/monitors/stress1/random139.conf deleted file mode 100644 index 2636491..0000000 --- a/etc.local/monitors/stress1/random139.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 139 -description = Random 139 Service Check -service = misc.random -host = 127.0.0.139 -interval = 139 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random14.conf b/etc.local/monitors/stress1/random14.conf deleted file mode 100644 index 93a36d9..0000000 --- a/etc.local/monitors/stress1/random14.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 14 -description = Random 14 Service Check -service = misc.random -host = 127.0.0.14 -interval = 14 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random140.conf b/etc.local/monitors/stress1/random140.conf deleted file mode 100644 index 26d0580..0000000 --- a/etc.local/monitors/stress1/random140.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 140 -description = Random 140 Service Check -service = misc.random -host = 127.0.0.140 -interval = 140 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random141.conf b/etc.local/monitors/stress1/random141.conf deleted file mode 100644 index c27edd1..0000000 --- a/etc.local/monitors/stress1/random141.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 141 -description = Random 141 Service Check -service = misc.random -host = 127.0.0.141 -interval = 141 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random142.conf b/etc.local/monitors/stress1/random142.conf deleted file mode 100644 index 5697cc6..0000000 --- a/etc.local/monitors/stress1/random142.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 142 -description = Random 142 Service Check -service = misc.random -host = 127.0.0.142 -interval = 142 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random143.conf b/etc.local/monitors/stress1/random143.conf deleted file mode 100644 index 781d4b2..0000000 --- a/etc.local/monitors/stress1/random143.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 143 -description = Random 143 Service Check -service = misc.random -host = 127.0.0.143 -interval = 143 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random144.conf b/etc.local/monitors/stress1/random144.conf deleted file mode 100644 index 2e56f50..0000000 --- a/etc.local/monitors/stress1/random144.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 144 -description = Random 144 Service Check -service = misc.random -host = 127.0.0.144 -interval = 144 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random145.conf b/etc.local/monitors/stress1/random145.conf deleted file mode 100644 index aa315ce..0000000 --- a/etc.local/monitors/stress1/random145.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 145 -description = Random 145 Service Check -service = misc.random -host = 127.0.0.145 -interval = 145 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random146.conf b/etc.local/monitors/stress1/random146.conf deleted file mode 100644 index be7582f..0000000 --- a/etc.local/monitors/stress1/random146.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 146 -description = Random 146 Service Check -service = misc.random -host = 127.0.0.146 -interval = 146 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random147.conf b/etc.local/monitors/stress1/random147.conf deleted file mode 100644 index 8f058ec..0000000 --- a/etc.local/monitors/stress1/random147.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 147 -description = Random 147 Service Check -service = misc.random -host = 127.0.0.147 -interval = 147 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random148.conf b/etc.local/monitors/stress1/random148.conf deleted file mode 100644 index d2027bc..0000000 --- a/etc.local/monitors/stress1/random148.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 148 -description = Random 148 Service Check -service = misc.random -host = 127.0.0.148 -interval = 148 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random149.conf b/etc.local/monitors/stress1/random149.conf deleted file mode 100644 index 63b5d5e..0000000 --- a/etc.local/monitors/stress1/random149.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 149 -description = Random 149 Service Check -service = misc.random -host = 127.0.0.149 -interval = 149 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random15.conf b/etc.local/monitors/stress1/random15.conf deleted file mode 100644 index c5971fb..0000000 --- a/etc.local/monitors/stress1/random15.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 15 -description = Random 15 Service Check -service = misc.random -host = 127.0.0.15 -interval = 15 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random150.conf b/etc.local/monitors/stress1/random150.conf deleted file mode 100644 index dcf7edf..0000000 --- a/etc.local/monitors/stress1/random150.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 150 -description = Random 150 Service Check -service = misc.random -host = 127.0.0.150 -interval = 150 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random151.conf b/etc.local/monitors/stress1/random151.conf deleted file mode 100644 index 6188c5a..0000000 --- a/etc.local/monitors/stress1/random151.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 151 -description = Random 151 Service Check -service = misc.random -host = 127.0.0.151 -interval = 151 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random152.conf b/etc.local/monitors/stress1/random152.conf deleted file mode 100644 index 8fdb891..0000000 --- a/etc.local/monitors/stress1/random152.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 152 -description = Random 152 Service Check -service = misc.random -host = 127.0.0.152 -interval = 152 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random153.conf b/etc.local/monitors/stress1/random153.conf deleted file mode 100644 index ca1458d..0000000 --- a/etc.local/monitors/stress1/random153.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 153 -description = Random 153 Service Check -service = misc.random -host = 127.0.0.153 -interval = 153 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random154.conf b/etc.local/monitors/stress1/random154.conf deleted file mode 100644 index 40e618f..0000000 --- a/etc.local/monitors/stress1/random154.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 154 -description = Random 154 Service Check -service = misc.random -host = 127.0.0.154 -interval = 154 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random155.conf b/etc.local/monitors/stress1/random155.conf deleted file mode 100644 index 803bd8a..0000000 --- a/etc.local/monitors/stress1/random155.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 155 -description = Random 155 Service Check -service = misc.random -host = 127.0.0.155 -interval = 155 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random156.conf b/etc.local/monitors/stress1/random156.conf deleted file mode 100644 index 93769c9..0000000 --- a/etc.local/monitors/stress1/random156.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 156 -description = Random 156 Service Check -service = misc.random -host = 127.0.0.156 -interval = 156 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random157.conf b/etc.local/monitors/stress1/random157.conf deleted file mode 100644 index b4ec82f..0000000 --- a/etc.local/monitors/stress1/random157.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 157 -description = Random 157 Service Check -service = misc.random -host = 127.0.0.157 -interval = 157 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random158.conf b/etc.local/monitors/stress1/random158.conf deleted file mode 100644 index 9bfa5a6..0000000 --- a/etc.local/monitors/stress1/random158.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 158 -description = Random 158 Service Check -service = misc.random -host = 127.0.0.158 -interval = 158 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random159.conf b/etc.local/monitors/stress1/random159.conf deleted file mode 100644 index 374ab44..0000000 --- a/etc.local/monitors/stress1/random159.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 159 -description = Random 159 Service Check -service = misc.random -host = 127.0.0.159 -interval = 159 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random16.conf b/etc.local/monitors/stress1/random16.conf deleted file mode 100644 index 69d1ff1..0000000 --- a/etc.local/monitors/stress1/random16.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 16 -description = Random 16 Service Check -service = misc.random -host = 127.0.0.16 -interval = 16 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random160.conf b/etc.local/monitors/stress1/random160.conf deleted file mode 100644 index c9e76df..0000000 --- a/etc.local/monitors/stress1/random160.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 160 -description = Random 160 Service Check -service = misc.random -host = 127.0.0.160 -interval = 160 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random161.conf b/etc.local/monitors/stress1/random161.conf deleted file mode 100644 index 6ab32a0..0000000 --- a/etc.local/monitors/stress1/random161.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 161 -description = Random 161 Service Check -service = misc.random -host = 127.0.0.161 -interval = 162 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random162.conf b/etc.local/monitors/stress1/random162.conf deleted file mode 100644 index d9e9c5f..0000000 --- a/etc.local/monitors/stress1/random162.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 162 -description = Random 162 Service Check -service = misc.random -host = 127.0.0.162 -interval = 162 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random163.conf b/etc.local/monitors/stress1/random163.conf deleted file mode 100644 index 1688338..0000000 --- a/etc.local/monitors/stress1/random163.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 163 -description = Random 163 Service Check -service = misc.random -host = 127.0.0.163 -interval = 163 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random164.conf b/etc.local/monitors/stress1/random164.conf deleted file mode 100644 index 93bd4ab..0000000 --- a/etc.local/monitors/stress1/random164.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 164 -description = Random 164 Service Check -service = misc.random -host = 127.0.0.164 -interval = 164 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random165.conf b/etc.local/monitors/stress1/random165.conf deleted file mode 100644 index 5f29264..0000000 --- a/etc.local/monitors/stress1/random165.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 165 -description = Random 165 Service Check -service = misc.random -host = 127.0.0.165 -interval = 165 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random166.conf b/etc.local/monitors/stress1/random166.conf deleted file mode 100644 index 0684b12..0000000 --- a/etc.local/monitors/stress1/random166.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 166 -description = Random 166 Service Check -service = misc.random -host = 127.0.0.166 -interval = 166 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random167.conf b/etc.local/monitors/stress1/random167.conf deleted file mode 100644 index 11838b3..0000000 --- a/etc.local/monitors/stress1/random167.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 167 -description = Random 167 Service Check -service = misc.random -host = 127.0.0.167 -interval = 167 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random168.conf b/etc.local/monitors/stress1/random168.conf deleted file mode 100644 index df337f2..0000000 --- a/etc.local/monitors/stress1/random168.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 168 -description = Random 168 Service Check -service = misc.random -host = 127.0.0.168 -interval = 168 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random169.conf b/etc.local/monitors/stress1/random169.conf deleted file mode 100644 index 4ad0ee5..0000000 --- a/etc.local/monitors/stress1/random169.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 169 -description = Random 169 Service Check -service = misc.random -host = 127.0.0.169 -interval = 169 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random17.conf b/etc.local/monitors/stress1/random17.conf deleted file mode 100644 index 29dea74..0000000 --- a/etc.local/monitors/stress1/random17.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 17 -description = Random 17 Service Check -service = misc.random -host = 127.0.0.17 -interval = 17 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random170.conf b/etc.local/monitors/stress1/random170.conf deleted file mode 100644 index a009401..0000000 --- a/etc.local/monitors/stress1/random170.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 170 -description = Random 170 Service Check -service = misc.random -host = 127.0.0.170 -interval = 170 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random171.conf b/etc.local/monitors/stress1/random171.conf deleted file mode 100644 index 2d35329..0000000 --- a/etc.local/monitors/stress1/random171.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 171 -description = Random 171 Service Check -service = misc.random -host = 127.0.0.171 -interval = 171 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random172.conf b/etc.local/monitors/stress1/random172.conf deleted file mode 100644 index e653302..0000000 --- a/etc.local/monitors/stress1/random172.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 172 -description = Random 172 Service Check -service = misc.random -host = 127.0.0.172 -interval = 172 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random173.conf b/etc.local/monitors/stress1/random173.conf deleted file mode 100644 index 87cbafe..0000000 --- a/etc.local/monitors/stress1/random173.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 173 -description = Random 173 Service Check -service = misc.random -host = 127.0.0.173 -interval = 173 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random174.conf b/etc.local/monitors/stress1/random174.conf deleted file mode 100644 index b26efc9..0000000 --- a/etc.local/monitors/stress1/random174.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 174 -description = Random 174 Service Check -service = misc.random -host = 127.0.0.174 -interval = 174 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random175.conf b/etc.local/monitors/stress1/random175.conf deleted file mode 100644 index ef76cb2..0000000 --- a/etc.local/monitors/stress1/random175.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 175 -description = Random 175 Service Check -service = misc.random -host = 127.0.0.175 -interval = 175 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random176.conf b/etc.local/monitors/stress1/random176.conf deleted file mode 100644 index 1ae5a2e..0000000 --- a/etc.local/monitors/stress1/random176.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 176 -description = Random 176 Service Check -service = misc.random -host = 127.0.0.176 -interval = 176 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random177.conf b/etc.local/monitors/stress1/random177.conf deleted file mode 100644 index 4939849..0000000 --- a/etc.local/monitors/stress1/random177.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 177 -description = Random 177 Service Check -service = misc.random -host = 127.0.0.177 -interval = 177 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random178.conf b/etc.local/monitors/stress1/random178.conf deleted file mode 100644 index 1f83906..0000000 --- a/etc.local/monitors/stress1/random178.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 178 -description = Random 178 Service Check -service = misc.random -host = 127.0.0.178 -interval = 178 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random179.conf b/etc.local/monitors/stress1/random179.conf deleted file mode 100644 index cfdafde..0000000 --- a/etc.local/monitors/stress1/random179.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 179 -description = Random 179 Service Check -service = misc.random -host = 127.0.0.179 -interval = 179 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random18.conf b/etc.local/monitors/stress1/random18.conf deleted file mode 100644 index 22823c3..0000000 --- a/etc.local/monitors/stress1/random18.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 18 -description = Random 18 Service Check -service = misc.random -host = 127.0.0.18 -interval = 18 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random19.conf b/etc.local/monitors/stress1/random19.conf deleted file mode 100644 index 17afa4b..0000000 --- a/etc.local/monitors/stress1/random19.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 19 -description = Random 19 Service Check -service = misc.random -host = 127.0.0.19 -interval = 19 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random2.conf b/etc.local/monitors/stress1/random2.conf deleted file mode 100644 index 79818f7..0000000 --- a/etc.local/monitors/stress1/random2.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 2 -description = Random 2 Service Check -service = misc.random -host = 127.0.0.2 -interval = 2 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random20.conf b/etc.local/monitors/stress1/random20.conf deleted file mode 100644 index ae3cfd2..0000000 --- a/etc.local/monitors/stress1/random20.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 20 -description = Random 20 Service Check -service = misc.random -host = 127.0.0.20 -interval = 20 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random21.conf b/etc.local/monitors/stress1/random21.conf deleted file mode 100644 index c2fa3f5..0000000 --- a/etc.local/monitors/stress1/random21.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 21 -description = Random 21 Service Check -service = misc.random -host = 127.0.0.21 -interval = 21 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random22.conf b/etc.local/monitors/stress1/random22.conf deleted file mode 100644 index 66bc5d1..0000000 --- a/etc.local/monitors/stress1/random22.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 22 -description = Random 22 Service Check -service = misc.random -host = 127.0.0.22 -interval = 22 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random23.conf b/etc.local/monitors/stress1/random23.conf deleted file mode 100644 index 757c4d6..0000000 --- a/etc.local/monitors/stress1/random23.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 23 -description = Random 23 Service Check -service = misc.random -host = 127.0.0.23 -interval = 23 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random24.conf b/etc.local/monitors/stress1/random24.conf deleted file mode 100644 index ea4c1cb..0000000 --- a/etc.local/monitors/stress1/random24.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 24 -description = Random 24 Service Check -service = misc.random -host = 127.0.0.24 -interval = 24 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random25.conf b/etc.local/monitors/stress1/random25.conf deleted file mode 100644 index 27746b2..0000000 --- a/etc.local/monitors/stress1/random25.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 25 -description = Random 25 Service Check -service = misc.random -host = 127.0.0.25 -interval = 25 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random26.conf b/etc.local/monitors/stress1/random26.conf deleted file mode 100644 index b6a9f38..0000000 --- a/etc.local/monitors/stress1/random26.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 26 -description = Random 26 Service Check -service = misc.random -host = 127.0.0.26 -interval = 26 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random27.conf b/etc.local/monitors/stress1/random27.conf deleted file mode 100644 index 05e08f2..0000000 --- a/etc.local/monitors/stress1/random27.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 27 -description = Random 27 Service Check -service = misc.random -host = 127.0.0.27 -interval = 27 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random28.conf b/etc.local/monitors/stress1/random28.conf deleted file mode 100644 index cbc72ea..0000000 --- a/etc.local/monitors/stress1/random28.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 28 -description = Random 28 Service Check -service = misc.random -host = 127.0.0.28 -interval = 28 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random29.conf b/etc.local/monitors/stress1/random29.conf deleted file mode 100644 index b93f58a..0000000 --- a/etc.local/monitors/stress1/random29.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 29 -description = Random 29 Service Check -service = misc.random -host = 127.0.0.29 -interval = 29 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random3.conf b/etc.local/monitors/stress1/random3.conf deleted file mode 100644 index dd4bd18..0000000 --- a/etc.local/monitors/stress1/random3.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 3 -description = Random 3 Service Check -service = misc.random -host = 127.0.0.3 -interval = 3 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random30.conf b/etc.local/monitors/stress1/random30.conf deleted file mode 100644 index 1f71cca..0000000 --- a/etc.local/monitors/stress1/random30.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 30 -description = Random 30 Service Check -service = misc.random -host = 127.0.0.30 -interval = 30 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random31.conf b/etc.local/monitors/stress1/random31.conf deleted file mode 100644 index 0c19647..0000000 --- a/etc.local/monitors/stress1/random31.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 31 -description = Random 31 Service Check -service = misc.random -host = 127.0.0.31 -interval = 31 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random32.conf b/etc.local/monitors/stress1/random32.conf deleted file mode 100644 index f7949b8..0000000 --- a/etc.local/monitors/stress1/random32.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 32 -description = Random 32 Service Check -service = misc.random -host = 127.0.0.32 -interval = 32 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random33.conf b/etc.local/monitors/stress1/random33.conf deleted file mode 100644 index 5135786..0000000 --- a/etc.local/monitors/stress1/random33.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 33 -description = Random 33 Service Check -service = misc.random -host = 127.0.0.33 -interval = 33 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random34.conf b/etc.local/monitors/stress1/random34.conf deleted file mode 100644 index b3a5ea6..0000000 --- a/etc.local/monitors/stress1/random34.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 34 -description = Random 34 Service Check -service = misc.random -host = 127.0.0.34 -interval = 34 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random35.conf b/etc.local/monitors/stress1/random35.conf deleted file mode 100644 index 04f76ec..0000000 --- a/etc.local/monitors/stress1/random35.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 35 -description = Random 35 Service Check -service = misc.random -host = 127.0.0.35 -interval = 35 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random36.conf b/etc.local/monitors/stress1/random36.conf deleted file mode 100644 index a955750..0000000 --- a/etc.local/monitors/stress1/random36.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 36 -description = Random 36 Service Check -service = misc.random -host = 127.0.0.36 -interval = 36 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random37.conf b/etc.local/monitors/stress1/random37.conf deleted file mode 100644 index c9b441b..0000000 --- a/etc.local/monitors/stress1/random37.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 37 -description = Random 37 Service Check -service = misc.random -host = 127.0.0.37 -interval = 37 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random38.conf b/etc.local/monitors/stress1/random38.conf deleted file mode 100644 index e76f503..0000000 --- a/etc.local/monitors/stress1/random38.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 38 -description = Random 38 Service Check -service = misc.random -host = 127.0.0.38 -interval = 38 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random39.conf b/etc.local/monitors/stress1/random39.conf deleted file mode 100644 index e87c66d..0000000 --- a/etc.local/monitors/stress1/random39.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 39 -description = Random 39 Service Check -service = misc.random -host = 127.0.0.39 -interval = 39 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random4.conf b/etc.local/monitors/stress1/random4.conf deleted file mode 100644 index 0360167..0000000 --- a/etc.local/monitors/stress1/random4.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 4 -description = Random 4 Service Check -service = misc.random -host = 127.0.0.4 -interval = 4 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random40.conf b/etc.local/monitors/stress1/random40.conf deleted file mode 100644 index ddbecba..0000000 --- a/etc.local/monitors/stress1/random40.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 40 -description = Random 40 Service Check -service = misc.random -host = 127.0.0.40 -interval = 40 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random41.conf b/etc.local/monitors/stress1/random41.conf deleted file mode 100644 index 7819546..0000000 --- a/etc.local/monitors/stress1/random41.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 41 -description = Random 41 Service Check -service = misc.random -host = 127.0.0.41 -interval = 41 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random42.conf b/etc.local/monitors/stress1/random42.conf deleted file mode 100644 index ce6cf70..0000000 --- a/etc.local/monitors/stress1/random42.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 42 -description = Random 42 Service Check -service = misc.random -host = 127.0.0.42 -interval = 42 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random43.conf b/etc.local/monitors/stress1/random43.conf deleted file mode 100644 index f6585f8..0000000 --- a/etc.local/monitors/stress1/random43.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 43 -description = Random 43 Service Check -service = misc.random -host = 127.0.0.43 -interval = 43 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random44.conf b/etc.local/monitors/stress1/random44.conf deleted file mode 100644 index 64ebdab..0000000 --- a/etc.local/monitors/stress1/random44.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 44 -description = Random 44 Service Check -service = misc.random -host = 127.0.0.44 -interval = 44 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random45.conf b/etc.local/monitors/stress1/random45.conf deleted file mode 100644 index af5b6bd..0000000 --- a/etc.local/monitors/stress1/random45.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 45 -description = Random 45 Service Check -service = misc.random -host = 127.0.0.45 -interval = 45 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random46.conf b/etc.local/monitors/stress1/random46.conf deleted file mode 100644 index ab71822..0000000 --- a/etc.local/monitors/stress1/random46.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 46 -description = Random 46 Service Check -service = misc.random -host = 127.0.0.46 -interval = 46 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random47.conf b/etc.local/monitors/stress1/random47.conf deleted file mode 100644 index 145e27c..0000000 --- a/etc.local/monitors/stress1/random47.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 47 -description = Random 47 Service Check -service = misc.random -host = 127.0.0.47 -interval = 47 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random48.conf b/etc.local/monitors/stress1/random48.conf deleted file mode 100644 index 51aed79..0000000 --- a/etc.local/monitors/stress1/random48.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 48 -description = Random 48 Service Check -service = misc.random -host = 127.0.0.48 -interval = 48 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random49.conf b/etc.local/monitors/stress1/random49.conf deleted file mode 100644 index d542876..0000000 --- a/etc.local/monitors/stress1/random49.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 49 -description = Random 49Service Check -service = misc.random -host = 127.0.0.49 -interval = 49 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random5.conf b/etc.local/monitors/stress1/random5.conf deleted file mode 100644 index b856515..0000000 --- a/etc.local/monitors/stress1/random5.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 5 -description = Random 5 Service Check -service = misc.random -host = 127.0.0.5 -interval = 5 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random50.conf b/etc.local/monitors/stress1/random50.conf deleted file mode 100644 index c387958..0000000 --- a/etc.local/monitors/stress1/random50.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 50 -description = Random 40 Service Check -service = misc.random -host = 127.0.0.40 -interval = 40 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random51.conf b/etc.local/monitors/stress1/random51.conf deleted file mode 100644 index ddba646..0000000 --- a/etc.local/monitors/stress1/random51.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 51 -description = Random 51 Service Check -service = misc.random -host = 127.0.0.51 -interval = 51 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random52.conf b/etc.local/monitors/stress1/random52.conf deleted file mode 100644 index ad51004..0000000 --- a/etc.local/monitors/stress1/random52.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 52 -description = Random 52 Service Check -service = misc.random -host = 127.0.0.52 -interval = 52 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random53.conf b/etc.local/monitors/stress1/random53.conf deleted file mode 100644 index 27c7b9a..0000000 --- a/etc.local/monitors/stress1/random53.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 53 -description = Random 53 Service Check -service = misc.random -host = 127.0.0.53 -interval = 53 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random54.conf b/etc.local/monitors/stress1/random54.conf deleted file mode 100644 index 8ee6ec8..0000000 --- a/etc.local/monitors/stress1/random54.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 54 -description = Random 54 Service Check -service = misc.random -host = 127.0.0.54 -interval = 54 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random55.conf b/etc.local/monitors/stress1/random55.conf deleted file mode 100644 index f5b0aef..0000000 --- a/etc.local/monitors/stress1/random55.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 55 -description = Random 55 Service Check -service = misc.random -host = 127.0.0.55 -interval = 55 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random56.conf b/etc.local/monitors/stress1/random56.conf deleted file mode 100644 index 24ff17d..0000000 --- a/etc.local/monitors/stress1/random56.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 56 -description = Random 56 Service Check -service = misc.random -host = 127.0.0.56 -interval = 56 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random57.conf b/etc.local/monitors/stress1/random57.conf deleted file mode 100644 index 3e7b73a..0000000 --- a/etc.local/monitors/stress1/random57.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 57 -description = Random 57 Service Check -service = misc.random -host = 127.0.0.57 -interval = 57 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random58.conf b/etc.local/monitors/stress1/random58.conf deleted file mode 100644 index ca63280..0000000 --- a/etc.local/monitors/stress1/random58.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 58 -description = Random 58 Service Check -service = misc.random -host = 127.0.0.58 -interval = 58 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random59.conf b/etc.local/monitors/stress1/random59.conf deleted file mode 100644 index 9cfa146..0000000 --- a/etc.local/monitors/stress1/random59.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 59 -description = Random 59 Service Check -service = misc.random -host = 127.0.0.59 -interval = 59 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random6.conf b/etc.local/monitors/stress1/random6.conf deleted file mode 100644 index cab53ab..0000000 --- a/etc.local/monitors/stress1/random6.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 6 -description = Random 6 Service Check -service = misc.random -host = 127.0.0.6 -interval = 6 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random60.conf b/etc.local/monitors/stress1/random60.conf deleted file mode 100644 index ad6818d..0000000 --- a/etc.local/monitors/stress1/random60.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 60 -description = Random 60 Service Check -service = misc.random -host = 127.0.0.60 -interval = 60 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random61.conf b/etc.local/monitors/stress1/random61.conf deleted file mode 100644 index e4fbddc..0000000 --- a/etc.local/monitors/stress1/random61.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 61 -description = Random 61 Service Check -service = misc.random -host = 127.0.0.61 -interval = 61 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random62.conf b/etc.local/monitors/stress1/random62.conf deleted file mode 100644 index a92871d..0000000 --- a/etc.local/monitors/stress1/random62.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 62 -description = Random 62 Service Check -service = misc.random -host = 127.0.0.62 -interval = 62 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random63.conf b/etc.local/monitors/stress1/random63.conf deleted file mode 100644 index a1d0031..0000000 --- a/etc.local/monitors/stress1/random63.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 63 -description = Random 63 Service Check -service = misc.random -host = 127.0.0.63 -interval = 63 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random64.conf b/etc.local/monitors/stress1/random64.conf deleted file mode 100644 index 89fb47f..0000000 --- a/etc.local/monitors/stress1/random64.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 64 -description = Random 64 Service Check -service = misc.random -host = 127.0.0.64 -interval = 64 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random65.conf b/etc.local/monitors/stress1/random65.conf deleted file mode 100644 index fda099e..0000000 --- a/etc.local/monitors/stress1/random65.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 65 -description = Random 65 Service Check -service = misc.random -host = 127.0.0.65 -interval = 65 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random66.conf b/etc.local/monitors/stress1/random66.conf deleted file mode 100644 index ee485bb..0000000 --- a/etc.local/monitors/stress1/random66.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 66 -description = Random 66 Service Check -service = misc.random -host = 127.0.0.66 -interval = 66 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random67.conf b/etc.local/monitors/stress1/random67.conf deleted file mode 100644 index 761b051..0000000 --- a/etc.local/monitors/stress1/random67.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 67 -description = Random 67 Service Check -service = misc.random -host = 127.0.0.67 -interval = 67 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random68.conf b/etc.local/monitors/stress1/random68.conf deleted file mode 100644 index 5ea5981..0000000 --- a/etc.local/monitors/stress1/random68.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 68 -description = Random 68 Service Check -service = misc.random -host = 127.0.0.68 -interval = 68 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random69.conf b/etc.local/monitors/stress1/random69.conf deleted file mode 100644 index 822143a..0000000 --- a/etc.local/monitors/stress1/random69.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 69 -description = Random 69 Service Check -service = misc.random -host = 127.0.0.69 -interval = 69 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random7.conf b/etc.local/monitors/stress1/random7.conf deleted file mode 100644 index 9e550b5..0000000 --- a/etc.local/monitors/stress1/random7.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 7 -description = Random 7 Service Check -service = misc.random -host = 127.0.0.7 -interval = 7 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random70.conf b/etc.local/monitors/stress1/random70.conf deleted file mode 100644 index 4e6aad6..0000000 --- a/etc.local/monitors/stress1/random70.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 70 -description = Random 70 Service Check -service = misc.random -host = 127.0.0.70 -interval = 70 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random71.conf b/etc.local/monitors/stress1/random71.conf deleted file mode 100644 index 864fdb8..0000000 --- a/etc.local/monitors/stress1/random71.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 71 -description = Random 71 Service Check -service = misc.random -host = 127.0.0.71 -interval = 71 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random72.conf b/etc.local/monitors/stress1/random72.conf deleted file mode 100644 index 13cb3a7..0000000 --- a/etc.local/monitors/stress1/random72.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 72 -description = Random 72 Service Check -service = misc.random -host = 127.0.0.72 -interval = 72 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random73.conf b/etc.local/monitors/stress1/random73.conf deleted file mode 100644 index 0f46767..0000000 --- a/etc.local/monitors/stress1/random73.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 73 -description = Random 73 Service Check -service = misc.random -host = 127.0.0.73 -interval = 73 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random74.conf b/etc.local/monitors/stress1/random74.conf deleted file mode 100644 index 2899bb6..0000000 --- a/etc.local/monitors/stress1/random74.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 74 -description = Random 74 Service Check -service = misc.random -host = 127.0.0.74 -interval = 74 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random75.conf b/etc.local/monitors/stress1/random75.conf deleted file mode 100644 index 1e58a41..0000000 --- a/etc.local/monitors/stress1/random75.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 75 -description = Random 75 Service Check -service = misc.random -host = 127.0.0.75 -interval = 75 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random76.conf b/etc.local/monitors/stress1/random76.conf deleted file mode 100644 index 3ff3b9f..0000000 --- a/etc.local/monitors/stress1/random76.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 76 -description = Random 76 Service Check -service = misc.random -host = 127.0.0.76 -interval = 76 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random77.conf b/etc.local/monitors/stress1/random77.conf deleted file mode 100644 index 848db5f..0000000 --- a/etc.local/monitors/stress1/random77.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 77 -description = Random 77 Service Check -service = misc.random -host = 127.0.0.77 -interval = 77 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random78.conf b/etc.local/monitors/stress1/random78.conf deleted file mode 100644 index b2e55bb..0000000 --- a/etc.local/monitors/stress1/random78.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 78 -description = Random 78 Service Check -service = misc.random -host = 127.0.0.78 -interval = 78 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random79.conf b/etc.local/monitors/stress1/random79.conf deleted file mode 100644 index b6e298b..0000000 --- a/etc.local/monitors/stress1/random79.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 79 -description = Random 79 Service Check -service = misc.random -host = 127.0.0.79 -interval = 79 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random8.conf b/etc.local/monitors/stress1/random8.conf deleted file mode 100644 index f62399c..0000000 --- a/etc.local/monitors/stress1/random8.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 8 -description = Random 8 Service Check -service = misc.random -host = 127.0.0.8 -interval = 8 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random80.conf b/etc.local/monitors/stress1/random80.conf deleted file mode 100644 index 183ec67..0000000 --- a/etc.local/monitors/stress1/random80.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 80 -description = Random 80 Service Check -service = misc.random -host = 127.0.0.80 -interval = 80 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random81.conf b/etc.local/monitors/stress1/random81.conf deleted file mode 100644 index c2e35b7..0000000 --- a/etc.local/monitors/stress1/random81.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 81 -description = Random 81 Service Check -service = misc.random -host = 127.0.0.81 -interval = 81 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random82.conf b/etc.local/monitors/stress1/random82.conf deleted file mode 100644 index 34599e9..0000000 --- a/etc.local/monitors/stress1/random82.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 82 -description = Random 82 Service Check -service = misc.random -host = 127.0.0.82 -interval = 82 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random83.conf b/etc.local/monitors/stress1/random83.conf deleted file mode 100644 index 5613ffb..0000000 --- a/etc.local/monitors/stress1/random83.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 83 -description = Random 83 Service Check -service = misc.random -host = 127.0.0.83 -interval = 83 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random84.conf b/etc.local/monitors/stress1/random84.conf deleted file mode 100644 index bbb205c..0000000 --- a/etc.local/monitors/stress1/random84.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 84 -description = Random 84 Service Check -service = misc.random -host = 127.0.0.84 -interval = 84 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random85.conf b/etc.local/monitors/stress1/random85.conf deleted file mode 100644 index b6b542e..0000000 --- a/etc.local/monitors/stress1/random85.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 85 -description = Random 85 Service Check -service = misc.random -host = 127.0.0.85 -interval = 85 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random86.conf b/etc.local/monitors/stress1/random86.conf deleted file mode 100644 index 01dee9b..0000000 --- a/etc.local/monitors/stress1/random86.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 86 -description = Random 86 Service Check -service = misc.random -host = 127.0.0.86 -interval = 86 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random87.conf b/etc.local/monitors/stress1/random87.conf deleted file mode 100644 index 1eb8039..0000000 --- a/etc.local/monitors/stress1/random87.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 87 -description = Random 87 Service Check -service = misc.random -host = 127.0.0.87 -interval = 87 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random88.conf b/etc.local/monitors/stress1/random88.conf deleted file mode 100644 index 14af7b1..0000000 --- a/etc.local/monitors/stress1/random88.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 88 -description = Random 88 Service Check -service = misc.random -host = 127.0.0.88 -interval = 88 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random89.conf b/etc.local/monitors/stress1/random89.conf deleted file mode 100644 index eb8c3fd..0000000 --- a/etc.local/monitors/stress1/random89.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 89 -description = Random 89 Service Check -service = misc.random -host = 127.0.0.89 -interval = 89 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random9.conf b/etc.local/monitors/stress1/random9.conf deleted file mode 100644 index f995d17..0000000 --- a/etc.local/monitors/stress1/random9.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 9 -description = Random 9 Service Check -service = misc.random -host = 127.0.0.9 -interval = 9 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random90.conf b/etc.local/monitors/stress1/random90.conf deleted file mode 100644 index 6504012..0000000 --- a/etc.local/monitors/stress1/random90.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 90 -description = Random 9 Service Check -service = misc.random -host = 127.0.0.90 -interval = 90 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random91.conf b/etc.local/monitors/stress1/random91.conf deleted file mode 100644 index 7d880a9..0000000 --- a/etc.local/monitors/stress1/random91.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 91 -description = Random 91 Service Check -service = misc.random -host = 127.0.0.91 -interval = 91 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random92.conf b/etc.local/monitors/stress1/random92.conf deleted file mode 100644 index 1904519..0000000 --- a/etc.local/monitors/stress1/random92.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 92 -description = Random 92 Service Check -service = misc.random -host = 127.0.0.92 -interval = 92 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random93.conf b/etc.local/monitors/stress1/random93.conf deleted file mode 100644 index c968e69..0000000 --- a/etc.local/monitors/stress1/random93.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 93 -description = Random 93 Service Check -service = misc.random -host = 127.0.0.93 -interval = 93 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random94.conf b/etc.local/monitors/stress1/random94.conf deleted file mode 100644 index 1278a06..0000000 --- a/etc.local/monitors/stress1/random94.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 94 -description = Random 94 Service Check -service = misc.random -host = 127.0.0.94 -interval = 94 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random95.conf b/etc.local/monitors/stress1/random95.conf deleted file mode 100644 index eaa38b5..0000000 --- a/etc.local/monitors/stress1/random95.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 95 -description = Random 95 Service Check -service = misc.random -host = 127.0.0.95 -interval = 95 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random96.conf b/etc.local/monitors/stress1/random96.conf deleted file mode 100644 index 78a38a6..0000000 --- a/etc.local/monitors/stress1/random96.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 96 -description = Random 96 Service Check -service = misc.random -host = 127.0.0.96 -interval = 96 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random97.conf b/etc.local/monitors/stress1/random97.conf deleted file mode 100644 index 3d4218d..0000000 --- a/etc.local/monitors/stress1/random97.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 97 -description = Random 97 Service Check -service = misc.random -host = 127.0.0.97 -interval = 97 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random98.conf b/etc.local/monitors/stress1/random98.conf deleted file mode 100644 index 58b2ffa..0000000 --- a/etc.local/monitors/stress1/random98.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 98 -description = Random 98 Service Check -service = misc.random -host = 127.0.0.98 -interval = 98 - -[args] -message = Hello World! diff --git a/etc.local/monitors/stress1/random99.conf b/etc.local/monitors/stress1/random99.conf deleted file mode 100644 index e6b75f7..0000000 --- a/etc.local/monitors/stress1/random99.conf +++ /dev/null @@ -1,9 +0,0 @@ -[monitor] -title = Random 99 -description = Random 99 Service Check -service = misc.random -host = 127.0.0.99 -interval = 99 - -[args] -message = Hello World! diff --git a/etc.local/notifications/.gitkeep b/etc.local/notifications/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/etc.local/notifications/email.conf b/etc.local/notifications/email.conf deleted file mode 100644 index e69de29..0000000 diff --git a/etc.local/plugins/.gitkeep b/etc.local/plugins/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/etc.local/services/.gitkeep b/etc.local/services/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/etc.local/tasks/.gitkeep b/etc.local/tasks/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/etc.local/tasks/mariadb.conf b/etc.local/tasks/mariadb.conf deleted file mode 100644 index e69de29..0000000 diff --git a/etc/databases/mysql.conf b/etc/databases/mysql.conf new file mode 100644 index 0000000..7dd1f61 --- /dev/null +++ b/etc/databases/mysql.conf @@ -0,0 +1,5 @@ +[mysql] +host = HOST +user = USER +password = PASSWORD +database = DATABASE diff --git a/etc/tasks/mariadb.conf b/etc/tasks/mariadb.conf deleted file mode 100644 index 90c48db..0000000 --- a/etc/tasks/mariadb.conf +++ /dev/null @@ -1,4 +0,0 @@ -[mariadb] -database = uplink -password = PASSWORD -user = root diff --git a/linspector/configuration.py b/linspector/configuration.py index 52b4274..11dd814 100644 --- a/linspector/configuration.py +++ b/linspector/configuration.py @@ -29,7 +29,7 @@ class Configuration: "root path!") # add keys and values defined in sub dirs and configuration ini files. - for target_section in ['notifications', 'plugins', 'services', 'tasks']: + for target_section in ['databases', 'notifications', 'plugins', 'services', 'tasks']: # check if section exists before adding content. if not exists add the section. if not self._configuration.has_section(target_section): self._configuration.add_section(target_section) diff --git a/linspector/databases/dummy.py b/linspector/databases/dummy.py index d95733c..2150933 100644 --- a/linspector/databases/dummy.py +++ b/linspector/databases/dummy.py @@ -12,11 +12,8 @@ def create(configuration, environment, log): class DummyDBDatabase(Database): """ - This is a dummy database + This is a dummy database to make sure all monitor can work even when no database is configured. """ - def connect(self): - pass - def insert(self): pass diff --git a/linspector/databases/mysql.py b/linspector/databases/mysql.py index 17b62f7..1797be3 100644 --- a/linspector/databases/mysql.py +++ b/linspector/databases/mysql.py @@ -3,7 +3,6 @@ This file is part of Linspector (https://linspector.org/) Copyright (c) 2022-2023 Johannes Findeisen . All Rights Reserved. See LICENSE (MIT license). """ -#from mysql.connector import connect, Error import pymysql.cursors from linspector.database import Database @@ -18,24 +17,64 @@ class MySQLDatabase(Database): def __init__(self, configuration, environment, log): super().__init__(configuration, environment, log) - try: - self._connection = pymysql.connect(host='127.0.0.1', - user='linspector', - password='password', - database='linspector', - cursorclass=pymysql.cursors.DictCursor) - log.debug(self._connection) - except Exception as err: - log.warning('database connection failed: {0}'.format(err)) + self._connection = None try: - with self._connection.cursor() as cursor: - sql = 'SELECT CURDATE()' - cursor.execute(sql) - result = cursor.fetchone() - log.info(result) - except Exception as err: - log.warning('database query failed: {0}'.format(err)) + self._database = None + if self._configuration.get_option('databases', 'mysql_database'): + self._database = self._configuration.get_option('databases', 'mysql_database') - def insert(self): - pass + self._host = None + if self._configuration.get_option('databases', 'mysql_host'): + self._host = self._configuration.get_option('databases', 'mysql_host') + + self._password = None + if self._configuration.get_option('databases', 'mysql_password'): + self._password = self._configuration.get_option('databases', 'mysql_password') + + self._user = None + if self._configuration.get_option('databases', 'mysql_user'): + self._user = self._configuration.get_option('databases', 'mysql_user') + + self._table = None + if self._configuration.get_option('databases', 'mysql_table'): + self._table = self._configuration.get_option('databases', 'mysql_table') + + self._user = None + if self._configuration.get_option('databases', 'mysql_user'): + self._user = self._configuration.get_option('databases', 'mysql_user') + + except Exception as err: + log.warning('database configuration error: {0}'.format(err)) + + def insert(self, identifier, json, message, status, timestamp): + try: + self._connection = pymysql.connect(cursorclass=pymysql.cursors.DictCursor, + database=self._database, + host=self._host, + password=self._password, + user=self._user) + self._log.debug(self._connection) + except Exception as err: + self._log.warning('database connection failed: {0}'.format(err)) + + try: + with (self._connection): + with self._connection.cursor() as cursor: + sql = 'INSERT INTO ' + self._table + ' (' \ + 'identifier, ' \ + 'json, ' \ + 'message, ' \ + 'status, ' \ + 'timestamp ' \ + ') VALUES (\"' + \ + str(identifier) + '\",\"' + \ + str(json) + '\",\"' + \ + str(message) + '\",\"' + \ + str(status) + '\",\"' + \ + str(timestamp) + '\")' + self._log.debug(sql) + cursor.execute(sql) + self._connection.commit() + except Exception as err: + self._log.warning('database query failed: {0}'.format(err)) diff --git a/linspector/monitor.py b/linspector/monitor.py index 2e87d39..2830e76 100644 --- a/linspector/monitor.py +++ b/linspector/monitor.py @@ -5,6 +5,7 @@ See LICENSE (MIT license). """ import configparser import importlib +import time class Monitor: @@ -122,6 +123,14 @@ class Monitor: self._result = self._services[self._service].execute(self._identifier, self, self._service, **self._args) + self._log.debug(self._databases) + for database in self._databases: + self._databases[database].insert(self._identifier, + self._result, + self._result['message'], + self._result['status'], + int(time.time())) + self._log.debug(self._tasks) for task in self._tasks: self._tasks[task].execute() diff --git a/linspector/services/vendor/avm/is_connected.py b/linspector/services/vendor/avm/is_connected.py index 63225cb..d8bc191 100644 --- a/linspector/services/vendor/avm/is_connected.py +++ b/linspector/services/vendor/avm/is_connected.py @@ -35,6 +35,8 @@ class IsConnectedService(Service): ' service=' + service + ' status=' + ('OK' if fc.is_connected else 'ERROR')) - result = {"status": ('OK' if fc.is_connected else 'ERROR'), "message": "CUSTOM"} + result = {"status": ('OK' if fc.is_connected else 'ERROR'), + "message": "Uplink on host " + monitor.get_host() + " " + + ('UP' if fc.is_connected else 'DOWN')} return result