Random Project

Failre to load nagios with this as a service

does anyone have an example of this script as a nagios service. I keep getting a config error. They dont seem to log the config errors in nagios.
I can run from command line. I tried combining ars named pair separate and together but still get error.
command line from libexec dir
check_esx -h 10.2.2.1 -l CPU -u ss -p wer
in config file
define service{
use local-service ; Name of service template to use
host_name frhg-vcenter
service_description CPU
check_command check_esx!- h 10.2.2.1!-u ss!-p wer!-l CPU
notifications_enabled 0
}

Any ideas or examples?