Last active
October 31, 2016 15:58
-
-
Save nook24/4876a7dcde767624fb303d1eac250a4f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
host_name=24a404a5-f485-42d9-bab4-7884ad543436 | |
last_check=1477562797 => Thu Oct 27 12:06:37 CEST 2016 | |
next_check=1477931604 => Mon Oct 31 17:33:24 CET 2016 | |
check_options=0 | |
current_attempt=1 | |
max_attempts=3 | |
normal_check_interval=7200.000000 | |
retry_check_interval=7200.000000 | |
../bin/naemon --version | |
Naemon Core 1.0.5-source | |
Copyright (c) 2013-present Naemon Core Development Team and Community Contributors | |
Copyright (c) 2009-2013 Nagios Core Development Team and Community Contributors | |
Copyright (c) 1999-2009 Ethan Galstad | |
License: GPL | |
Just an service of this host, got scheduled like expected | |
service { | |
host_name=24a404a5-f485-42d9-bab4-7884ad543436 | |
service_description=2b96e340-c8c5-47a3-8749-142f9e112169 | |
normal_check_interval=60.000000 | |
retry_check_interval=60.000000 | |
plugin_output=OK - Agent version 1.2.6, execution time 0.1 sec | |
performance_data=execution_time=0.057 user_time=0.040 system_time=0.000 children_user_time=0.000 children_system_time=0.000 | |
last_check=1477927999 => Mon Oct 31 16:33:19 CET 2016 | |
next_check=1477928059 => Mon Oct 31 16:34:19 CET 2016 | |
###Naemon startup output | |
[1477927868] Warning: check_result_path is deprecated and will be removed. Support for processing check results from disk will be removed | |
[1477927868] Warning: max_check_result_reaper_time is deprecated and will be removed. Support for processing check results from disk will be removed | |
[1477927868] Warning: check_result_reaper_frequency is deprecated and will be removed. Support for processing check results from disk will be removed | |
[1477927868] Warning: nagios_group is deprecated and will be removed. Naemon is compiled to be run as nagios:www-data | |
[1477927868] Warning: nagios_user is deprecated and will be removed. Naemon is compiled to be run as nagios:www-data | |
[1477927868] Naemon 1.0.5-source starting... (PID=4985) | |
[1477927868] Local time is Mon Oct 31 16:31:08 CET 2016 | |
[1477927868] LOG VERSION: 2.0 | |
[1477927868] qh: Socket '/opt/openitc/nagios/var/rw/nagios.qh' successfully initialized | |
[1477927868] nerd: Channel hostchecks registered successfully | |
[1477927868] nerd: Channel servicechecks registered successfully | |
[1477927868] nerd: Fully initialized and ready to rock! | |
[1477927868] wproc: Successfully registered manager as @wproc with query handler | |
[1477927868] wproc: Registry request: name=Core Worker 4989;pid=4989 | |
[1477927868] wproc: Registry request: name=Core Worker 4988;pid=4988 | |
[1477927868] wproc: Registry request: name=Core Worker 4987;pid=4987 | |
[1477927868] wproc: Registry request: name=Core Worker 4986;pid=4986 | |
[1477927868] INITIAL HOST STATE: 24a404a5-f485-42d9-bab4-7884ad543436;UP;HARD;1;OK - 127.0.0.1: rta 0.038ms, lost 0% | |
[1477927868] INITIAL HOST STATE: 2f485eec-d8f0-492d-b90d-88f6668bf5b7;UP;HARD;1;OK - 127.0.0.1: rta 0.029ms, lost 0% | |
[1477927868] INITIAL HOST STATE: c36b8048-93ce-4385-ac19-ab5c90574b77;UP;HARD;1;WARNING - 127.0.0.1: rta 0.038ms, lost 0% | |
[1477927868] INITIAL SERVICE STATE: 24a404a5-f485-42d9-bab4-7884ad543436;2b96e340-c8c5-47a3-8749-142f9e112169;OK;HARD;1;OK - Agent version 1.2.6, execution time 0.1 sec | |
[1477927868] INITIAL SERVICE STATE: 24a404a5-f485-42d9-bab4-7884ad543436;3b009137-c7ad-43fd-9228-3fc236735e18;OK;HARD;1;OK - 15min load 0.07 at 2 CPUs | |
[1477927868] INITIAL SERVICE STATE: 24a404a5-f485-42d9-bab4-7884ad543436;fd1328f6-58e6-4078-bc10-c811b89f4dab;OK;HARD;1;OK - 0.64 GB used (0.62 RAM + 0.00 SWAP + 0.01 Pagetables, this is 32.5% of 1.95 RAM (0.00 total SWAP)), 0.0 mapped, 0.8 committed, 0.0 shared | |
[1477927868] INITIAL SERVICE STATE: 2f485eec-d8f0-492d-b90d-88f6668bf5b7;11278145-e381-4a4a-a4c0-a2d76acfc24c;OK;HARD;1;OK - Agent version 1.2.6, execution time 0.1 sec | |
[1477927868] INITIAL SERVICE STATE: 2f485eec-d8f0-492d-b90d-88f6668bf5b7;24cc5fe1-e2b6-420b-9d09-c7bdfb9f7d70;OK;HARD;1;OK - 0.64 GB used (0.63 RAM + 0.00 SWAP + 0.01 Pagetables, this is 32.7% of 1.95 RAM (0.00 total SWAP)), 0.0 mapped, 0.8 committed, 0.0 shared | |
[1477927868] INITIAL SERVICE STATE: 2f485eec-d8f0-492d-b90d-88f6668bf5b7;3ac6cc00-c0db-409e-a29c-b3a99a80b163;OK;HARD;1;OK - 15min load 0.07 at 2 CPUs | |
[1477927868] INITIAL SERVICE STATE: c36b8048-93ce-4385-ac19-ab5c90574b77;1c045407-5502-4468-aabc-7781f6cf3dec;OK;HARD;1;OK - load average: 0.14, 0.10, 0.07 | |
[1477927868] INITIAL SERVICE STATE: c36b8048-93ce-4385-ac19-ab5c90574b77;35b787ad-bd77-4626-b250-cfd8995b0120;OK;HARD;1;OK - 15min load 0.07 at 2 CPUs | |
[1477927868] INITIAL SERVICE STATE: c36b8048-93ce-4385-ac19-ab5c90574b77;7391f1aa-5e2e-447a-8a9b-b23357b9cd2a;OK;HARD;1;USERS OK - 3 users currently logged in | |
[1477927868] INITIAL SERVICE STATE: c36b8048-93ce-4385-ac19-ab5c90574b77;74f14950-a58f-4f18-b6c3-5cfa9dffef4e;OK;HARD;1;DISK OK - free space: / 4069 MB (42% inode=79%): | |
[1477927868] INITIAL SERVICE STATE: c36b8048-93ce-4385-ac19-ab5c90574b77;74fd8f59-1348-4e16-85f0-4a5c57c7dd62;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.04 ms | |
[1477927868] INITIAL SERVICE STATE: c36b8048-93ce-4385-ac19-ab5c90574b77;d35a0a80-fab9-4b32-ba43-e6566d199c0e;OK;HARD;1;OK - Agent version 1.2.6, execution time 0.1 sec | |
[1477927868] Successfully launched command file worker with pid 4991 | |
[1477927879] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;24a404a5-f485-42d9-bab4-7884ad543436;3b009137-c7ad-43fd-9228-3fc236735e18;0;OK - 15min load 0.05 at 2 CPUs|load1=0;8;16;0;2 load5=0.01;8;16;0;2 load15=0.05;8;16;0;2 | |
### Same issue with interval_length=60 and flaot values as check_interval | |
naemon.cfg: | |
interval_length=60 | |
hosttemplate.cfg: | |
define host{ | |
register 0 | |
use 8147201e91c4dcf7c016ba2ddeac3fd7e72edacc | |
host_name efbee68c-cf48-4b78-83f5-c856c56177f0 | |
name efbee68c-cf48-4b78-83f5-c856c56177f0 | |
display_name default host | |
alias default host | |
;Check settings: | |
check_command 5a538ebc-03de-4ce6-8e32-665b841abde3!3000.0,80%!5000.0,100%; Warning!Critical | |
initial_state u | |
check_period 41012866-6114-4853-9caf-6ffd19954e50 | |
check_interval 120 | |
retry_interval 0.1 | |
max_check_attempts 3 | |
active_checks_enabled 1 | |
passive_checks_enabled 1 | |
;Notification settings: | |
notifications_enabled 1 | |
contacts 152aecaf-e981-4b0b-8e05-86972868547d | |
notification_interval 7200 | |
notification_period 41012866-6114-4853-9caf-6ffd19954e50 | |
notification_options u,r | |
;Flap detection settings: | |
flap_detection_enabled 0 | |
;Everything else: | |
process_perf_data 0 | |
} | |
hosts.cfg: | |
define host{ | |
use efbee68c-cf48-4b78-83f5-c856c56177f0 | |
host_name 24a404a5-f485-42d9-bab4-7884ad543436 | |
display_name fulda_test_host | |
address 127.0.0.1 | |
} | |
retantion.dat after restart (and after it was rewritten) | |
last_check=1477562797 -> Thu Oct 27 12:06:37 CEST 2016 | |
next_check=1477936368 -> Mon Oct 31 18:52:48 CET 2016 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment