define service{
hostgroup_name jonathan
service_description EXIM
max_check_attempts 4
event_handler rr-exim
}
define command{
command_name rr-exim
command_line /etc/nagios/commands/remote-restart-exim $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$
}
/usr/nagios/bin/nagios -v /etc/nagios.cfg
Nagios 2.10
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 10-21-2007
License: GPL
Reading configuration data...
Error: Service description, host name, or check command is NULL
Error: Could not register service (config file '/etc/nagios/config.cfg', starting on line 35)
***> One or more problems was encountered while processing the config files...