Search found 6 matches

by neel5481
Thu Mar 30, 2017 12:48 pm
Forum: Open Source Nagios Projects
Topic: Host is not scheduled to be checked...
Replies: 12
Views: 9002

Re: Host is not scheduled to be checked...

Everything works fine after disabling active check in services.cfg file. Final hosts.cfg and services.cfg file will be as below. define host { host_name MyLocalHost address 127.0.0.1 active_checks_enabled 1 passive_checks_enabled 1 use generic-host max_check_attempts 10 check_command check-host-aliv...
by neel5481
Thu Mar 30, 2017 8:58 am
Forum: Open Source Nagios Projects
Topic: Host is not scheduled to be checked...
Replies: 12
Views: 9002

Re: Host is not scheduled to be checked...

Sorry it was log copy/paste issue. The host is same as "MyLocalHost" not "MyHost". We are using the command as below. [<timestamp>] PROCESS_SERVICE_CHECK_RESULT;<host_name>;<service_name>;<code>;<status_text> [1490857367] PROCESS_SERVICE_CHECK_RESULT;MyLocalHost;MyService;2;Level...
by neel5481
Thu Mar 30, 2017 2:06 am
Forum: Open Source Nagios Projects
Topic: Host is not scheduled to be checked...
Replies: 12
Views: 9002

Re: Host is not scheduled to be checked...

I was debugging and found the log of "nagios.log" and below is the error. [1490857367] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;MyHost;MyService;2;Level increased (threshold values: {1,2,3}, current value: 316) (new State: HIGH , old State: LOW) [1490857367] Warning: Passive check re...
by neel5481
Wed Mar 29, 2017 11:56 pm
Forum: Open Source Nagios Projects
Topic: Host is not scheduled to be checked...
Replies: 12
Views: 9002

Re: Host is not scheduled to be checked...

I have tried as per your suggestion regarding clear the cache and waited for half an hour but service status always shows "OK" on main services page. I am suspecting something wring with 'check_command' in services.cfg file. What should be 'check_command' in services.cfg file ? Is "ch...
by neel5481
Wed Mar 29, 2017 1:16 pm
Forum: Open Source Nagios Projects
Topic: Host is not scheduled to be checked...
Replies: 12
Views: 9002

Re: Host is not scheduled to be checked...

Thank you for your quick reply. Host is up now with your suggestion. I have made same changes to services.cfg file but on main "Services" page status shows "Pending" but when we click on that service then it display correct current status. Any reason for this ? My services.cfg fi...
by neel5481
Wed Mar 29, 2017 8:05 am
Forum: Open Source Nagios Projects
Topic: Host is not scheduled to be checked...
Replies: 12
Views: 9002

Host is not scheduled to be checked...

Hi, I am using cent OS 7 with nagios 4.0.8. I am always getting host status as "Pending" with status information saying "Host is not scheduled to be checked... ". Below are my hosts.cfg and services.cfg file content. hosts.cfg define host { host_name MyLocalHost address 127.0.0.1...