Ok, I am sorry if this has been covered already, but I have been looking for several days without an answer. I am new to Nagios and Linux as well. I have only been using them for about a week now. I am an experienced Windows administrator.
I have Nagios installed, up and running well. I followed instructions where I could find them. I am currently attempting to setup NSClient ++ to monitor my windows servers. When I run the verification I get the following message back.
Error: Service check command ‘check_nt’ specified in service ‘UpTime’ for host ‘host’ not defined anywhere!
the message is the same no matter what function I am trying to check, UPTIME, CPUUSAGE, CLIENTVERSION, etc.
I believe that my problem is that check NT is not defined in my commands.cfg file. I have not found any good examples of a command.cfg file that defines check_nt however. I have plenty of commands for checking the actual services, just nothing for the actual check_nt command.
I am not sure if I am on the right track or not. Could someone please give me a hint as to which way I should go. I do not think they are incorrect, btu I am going to post my code snipet from the services anyway.
Thanks for any help.