Huhn Hur Tu
28.12.10, 15:02
Hallo,
ich kämpfe schon eine Weile mit dem Rdiff Plugin für Nagios3 unter Debian Lenny.
Eintrag in /etc/nagios3/commands.cfg
check rdiff-backup
define service{
use local-service
host_name localhost
service_description rdiff-backup
check_command check_rdiff!/rdiff-web/root!8!10!500!24
}
/etc/nagios-plugins/config/rdiff
#check rdiff-backup
define command{
command_name check_rdiff
command_line sudo $USER1$/check_rdiff -r $ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4$ -p $ARG5$
}
Und bei einem Restart noelt Nagios
Restarting nagios3 monitoring daemon: nagios3
/etc/init.d/nagios3: line 64: kill: (10520) - No such process
Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL
Reading configuration data...
Error: Template 'local-service' specified in service definition could not be not found (config file '/etc/nagios3/commands.cfg', starting on line 90)
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
errors in config! failed!
failed!
Ich muss zugeben dass ich von nagios nicht viel Ahnung habe.
Gruss Stefan
ich kämpfe schon eine Weile mit dem Rdiff Plugin für Nagios3 unter Debian Lenny.
Eintrag in /etc/nagios3/commands.cfg
check rdiff-backup
define service{
use local-service
host_name localhost
service_description rdiff-backup
check_command check_rdiff!/rdiff-web/root!8!10!500!24
}
/etc/nagios-plugins/config/rdiff
#check rdiff-backup
define command{
command_name check_rdiff
command_line sudo $USER1$/check_rdiff -r $ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4$ -p $ARG5$
}
Und bei einem Restart noelt Nagios
Restarting nagios3 monitoring daemon: nagios3
/etc/init.d/nagios3: line 64: kill: (10520) - No such process
Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL
Reading configuration data...
Error: Template 'local-service' specified in service definition could not be not found (config file '/etc/nagios3/commands.cfg', starting on line 90)
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
errors in config! failed!
failed!
Ich muss zugeben dass ich von nagios nicht viel Ahnung habe.
Gruss Stefan