nagios error: any help will be appreciated.
Posted on 2012-03-16
i am new to nagios; i had earlier installed nagios on unbuntu 10.4.3 and monitoring a windows server. but i accidentally deleted the commands.cfg file and i installed nagios again; but this time around it gives me an error.
[03-16-2012 13:17:24] Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: PROBLEM\n\nService: W3SVC\nHost: My Windows Server\nAddress: 192.168.60.16\nState: UNKNOWN\n\nDate/Time: Fri Mar 16 13:17:24 CDT 2012\n\nAdditional Info:\n\nUsage:check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l params] [-d SHOWALL] [-t timeout]\n" | /bin/mail -s "** PROBLEM Service Alert: My Windows Server/W3SVC is UNKNOWN **" nagios@localhost" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists...
[03-16-2012 13:17:24] SERVICE NOTIFICATION: nagiosadmin;winserver;W3SVC;UNKNOWN;notify-service-by-email;Usage:check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l params] [-d SHOWALL] [-t timeout]