Search found 6 matches

by naitsab
Mon Jan 22, 2018 3:29 am
Forum: Open Source Nagios Projects
Topic: Wrong current_state with check_tcp command
Replies: 11
Views: 4764

Re: Wrong current_state with check_tcp command

Thanks for the input.
I will try to schedule an upgrade then !
by naitsab
Thu Jan 18, 2018 3:10 am
Forum: Open Source Nagios Projects
Topic: Wrong current_state with check_tcp command
Replies: 11
Views: 4764

Re: Wrong current_state with check_tcp command

Hey, I cannot give you the source code. It was installed from an rpm, with the version: 1.4.16-10.el6.x86_64.
The UI is red critical. I am not sure what you mean by 'Force' in UI, I guess its a re-schedule manually right? if so state does not change.
by naitsab
Wed Jan 17, 2018 5:00 am
Forum: Open Source Nagios Projects
Topic: Wrong current_state with check_tcp command
Replies: 11
Views: 4764

Re: Wrong current_state with check_tcp command

Here it is: hoststatus { host_name=HIDDEN modified_attributes=0 check_command=check_tcp!3306 check_period= notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=10.010 check_latency=0.187 check_type=0 cur...
by naitsab
Tue Jan 16, 2018 7:21 am
Forum: Open Source Nagios Projects
Topic: Wrong current_state with check_tcp command
Replies: 11
Views: 4764

Re: Wrong current_state with check_tcp command

Here is the config log_file=/var/log/nagios/nagios.log cfg_file=/etc/nagios/objects/commands.cfg cfg_file=/etc/nagios/objects/contacts.cfg cfg_file=/etc/nagios/objects/timeperiods.cfg cfg_file=/etc/nagios/objects/templates.cfg cfg_dir=/etc/nagios/conf.d object_cache_file=/var/log/nagios/objects.cach...
by naitsab
Tue Jan 16, 2018 6:41 am
Forum: Open Source Nagios Projects
Topic: Wrong current_state with check_tcp command
Replies: 11
Views: 4764

Re: Wrong current_state with check_tcp command

Hello My status_update_interval is set to 10, just one warning (over more than 1000 hosts) about a host, that does not have services associated with it, but its normal in our case. Nothing fancy in /var/log/messages neither, and service is running properly (monitoring 1000s hosts, working properly) ...
by naitsab
Mon Jan 15, 2018 10:36 am
Forum: Open Source Nagios Projects
Topic: Wrong current_state with check_tcp command
Replies: 11
Views: 4764

Wrong current_state with check_tcp command

Hello, I have a command using check_tcp it returns exit code 2 but the status.dat file shows a current_state=1. Anyone know where it could come from, I expect it to be 2? Nagios environment: #Centos6.8 nagios-3.5.1-1.el6.x86_64 nagios-plugins-1.4.16-10.el6.x86_64 nagios-plugins-tcp-1.4.16-10.el6.x86...