probs configuring check_dns
Michael Loftis
mloftis at wgops.com
Sun Oct 13 17:33:40 CEST 2002
Yah, that service command is using check_tcp, you wanted check_dns.
--On Sunday, October 13, 2002 2:45 PM +0000 Tom Welsh <twelsh at tcplan.net>
wrote:
> Hi all,
> im slowly but surely adding checks to my nagios box an ive come over a
> problem i cant seem to get to the bottom of on check_dns. From the shell
> i can do ....
># ./check_dns -H www.tcplan.net -v
> DNS ok - 0 seconds response time, Address(es) is/are 80.87.131.163
> which works fine. I have specified the following in my checkcommands.cfg
> and services.cfg respectivly CHECKCOMMANDS.cfg
># 'check_dns' command definition
> define command{
> command_name check_dns
> command_line $USER1$/check_dns -H ns1.clara.net -s $HOSTADDRESS$
> }
> SERVICES.CFG
># Service definition for check_dns
> define service{
> use generic-service ; Name of
> servic e template to use
> host_name web-server
> service_description check_dns
> is_volatile 0
> check_period 24x7
> max_check_attempts 3
> normal_check_interval 5
> retry_check_interval 1
> contact_groups tcplan-support
> notification_interval 240
> notification_period 24x7
> notification_options c,r
> check_command check_tcp!$ARG1$
> }
> but i get the following unknown problem shown in SERVICE STATUS.....
> Server port must be a positive integer.
> Can someone point out my obvious mistake coz i cant spot it and i've been
> looking now for over an hour. Cheers
> Tom Welsh
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list