Menu

check_nt config error

Help
golds
2007-03-29
2013-04-25
  • golds

    golds - 2007-03-29

    Hello

    I'm trying to get nagios(OS X 10.4.5) to run checks against a windows server. I've

    1.installed the NC_Net client

    2.Run check_nt from the command line and have gotten the proper responses
    ./check_nt -H 192.168.1.1 -v CLIENTVERSION

    3. Set up the follwing command definition in my command.cfg file

       # 'check_nt' command definition
       define command{
            command_name    check_nt
            command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v $ARG1$ $ARG2$
            }

    4. Try to start nagios server but I get an error in the config file.

    When I comment out the following service

    define service{
            use                     generic-service
            host_name               TestServer
            service_description     NC_Net Version
            check_command           check_nt!CLIENTVERSION
            }

    Nagios starts beautifully. Can any one see the problem in my set up strategy?

    Thanks in Advance

     
    • golds

      golds - 2007-03-30

      Hello All

      I figured out my error. Problem solved.

       
      • tony

        tony - 2007-03-30

        I thought I responded to the first post sorry,

        I assume the problem was somewhere else in the configuration.
        but to restate what I ment to post yesterday:
        before starting/restarting Nagios use the -v to check the configuraiton
        this should help pinpoint many configuration issues.

        /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

        Tony

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.