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.
Service definition
define service{
host_name rdytest
service_description UpTime
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups server_admins
notification_interval 120
notification_period 24x7
notification_options c,r
check_command check_nt!UPTIME
}
Thanks for any help.