passive host check from client
Posted: Tue Feb 23, 2016 2:56 am
Hi Guy's.
I have a problem that are driving me insane....almost
I've have a passive check that are deployed on clients, that sends a OK to server every 20 min.
I can also see that the check is logged af the server "EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;bmhtest;0;OK, PASSIVE HOST CHECK: bmhtest;0;OK" so fare so good.
Now im trying to get the server to check freshness of the passive host check, so that if the check from the client is older then 30 min, then give me some form of alarm, but i can't get that part in place.
If i close down the clinet, so that the check will not be sent, nothing is happening on the server, i don't see it in that log, and i would expect a "Host is unreachable" or something.
I have enabled the following in nagios.cfg
accept_passive_host_checks=1
translate_passive_host_checks=1
check_host_freshness=1
host_freshness_check_interval=1500
Do i miss something or ?
I would love for someone to say..."you're a noob, you have to do this ans this in order to get it to work
"
I have a problem that are driving me insane....almost
I've have a passive check that are deployed on clients, that sends a OK to server every 20 min.
I can also see that the check is logged af the server "EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;bmhtest;0;OK, PASSIVE HOST CHECK: bmhtest;0;OK" so fare so good.
Now im trying to get the server to check freshness of the passive host check, so that if the check from the client is older then 30 min, then give me some form of alarm, but i can't get that part in place.
If i close down the clinet, so that the check will not be sent, nothing is happening on the server, i don't see it in that log, and i would expect a "Host is unreachable" or something.
I have enabled the following in nagios.cfg
accept_passive_host_checks=1
translate_passive_host_checks=1
check_host_freshness=1
host_freshness_check_interval=1500
Do i miss something or ?
I would love for someone to say..."you're a noob, you have to do this ans this in order to get it to work