rendered paste bodydefine service{
hostgroup_name jonathan
service_description EXIM
check_command /etc/nagios/commands/remote-restart-exim -----> I'm not sure if is right..
max_check_attempts 4
normal_check_interval 5
retry_check_interval 3
check_period 24x7
notification_interval 30
notification_period 24x7
notification_options w,c,r
contact_groups pp-admins
event_handler rr-exim
}
define command{
command_name rr-exim
command_line /etc/nagios/commands/remote-restart-exim $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$
}
------------------------------------
Nagios 2.10
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 10-21-2007
License: GPL
Reading configuration data...
Running pre-flight check on configuration data...
Checking services...
Error: Service check command '/etc/nagios/commands/remote-restart-exim' specified in service 'EXIM' for host 'bc09333' not defined anywhere!
Checked 134 services.
Checking hosts...
Warning: Host 'roon' has no services associated with it!
Checked 17 hosts.
Checking host groups...
Checked 3 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 7 contacts.
Checking contact groups...
Checked 5 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 39 commands.
Checking time periods...
Checked 1 time periods.
Checking extended host info definitions...
Checked 0 extended host info definitions.
Checking extended service info definitions...
Checked 0 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 1
Total Errors: 1