[Nagiosplug-help] Monitor a host where ping is disabled.

Nottorf, Stefan Stefan.Nottorf at plath.de
Tue Jul 7 15:59:05 CEST 2009


> -----Ursprüngliche Nachricht-----
> Von: Eikelenboom, Hans [mailto:Heikelenboom at alphenaandenrijn.nl] 
> Gesendet: Dienstag, 7. Juli 2009 10:17
> An: Nagios Plugin Help List
> Betreff: [Nagiosplug-help] Monitor a host where ping is disabled.
> 
>  
> Hello,
>  
> I want to monitor several hosts where ping is disabled.
> How can I disable the ping (standard) check in Nagios.
> Only i can connect to the port 443 so i want to use the check_tcp plugin.
>  
> Thanks in advance
>  
> Eikelenboom, Hans
> Informatievoorziening en Automatisering 
> 
> 
> P Please consider the environment before printing this e-mail

Hello,
you can also use templating to accomplish that:
# Template
define host{
    use           generic_host
    name          no_ping_host
    check_command check_tcp
    register      0
}

# host
define host{
    use           no_ping_host
    [...]
}

this should also do the job.
Regards,
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Stefan Nottorf.vcf
Type: text/x-vcard
Size: 422 bytes
Desc: Stefan Nottorf.vcf
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090707/e95c11f6/attachment.vcf>


More information about the Help mailing list