configure a new plugin(check_load) ?

Achim Altmann aa at com-gate.com
Thu Sep 4 15:21:58 CEST 2003


Hello,
i have nagios installed and now i would like use some external plugins
They are also installed under libexec
Now i would like use check_load

i have some new entries create in
"services.cfg
steht nun folgendes (plugins sind installiert unter libexec)

define service{
        use                             generic-service         ; Name of
service template to use

        host_name                       test.domain.de
        service_description             check_load
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  linux-admins
        notification_interval           120
        notification_period             24x7
        notification_options            c,r
        check_command                   check_load -w WLOAD1,WLOAD5,WLOAD15 -c
CLOAD1,CLOAD5,CLOAD15
        }

i have alos create some entries in
 checkcommands.cfg
see the following lines

# 'check_load' command definition
define command{
        command_name    check_load
        command_line    $USER1$/check_load -w $ARG1$ -c $ARG2$
        }

if i start nagios with
/usr/local/nagios/bin/nagios -v nagios.cfg
the comes this error-message
Error: Service check command 'check_load -w WLOAD1,WLOAD5,WLOAD15 -c
CLOAD1,CLOAD5,CLOAD15' specified in service 'check_load' for host '
test.domain.de' not defined anywhere!

Why ?

it's all defined or ?

reagards

Achim






--
________________________________________
Fa. Com-Gate
Moltkestrasse 13
90429 Nürnberg

Phone: +49 (0)911 277 43 77
Fax  : +49 (0)911 395 74 96
Mobil: +49 172 834 56 26



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list