[Check_mk (english)] disabling PING (check-host-alive) for specific hostnames

Hello,

For active checks (dns, http, ftp) I’m using hostname specific for services being checked (active_dns, active_http, active_ftp). This checks are for checking general availability of the service for end-user. Apart from that I’m checking
service directly on servers. active_* hostnames use as IP address localhost and I don’t want to check if host is alive. what is the best way to disable PING so the hosts won’t be included in hosts count.

Regards,

Rafal Bialek

A host is a host and as far as I know there is no way to exclude it from the overall host count. Here is what you can do though;

Add a tag - “Always UP” to these active_* hosts.

Then create a rule under 'Host Check Command" that always assume the host is up for the hosts tagged “Always UP”.

Create a dashboard/host view to show all hosts that DO NOT have the tag Always UP. This will give you a true count.

Also, the assume always UP will never cause the host to alert, not that it ever should since it it coming from your localhost (monitoring server)

Paul

···

On Thu, Oct 19, 2017 at 12:55 AM, Rafal Bialek bialy_rb@hotmail.com wrote:

Hello,

For active checks (dns, http, ftp) I’m using hostname specific for services being checked (active_dns, active_http, active_ftp). This checks are for checking general availability of the service for end-user. Apart from that I’m checking
service directly on servers. active_* hostnames use as IP address localhost and I don’t want to check if host is alive. what is the best way to disable PING so the hosts won’t be included in hosts count.

Regards,

Rafal Bialek


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en