Service definition problem with nagios 2.5

Thomas Knutson thomas.knutson at versimark.com
Fri Sep 29 18:52:58 CEST 2006


 

I am trying to set up a new install of nagios, and have set up several
before (just not 2.5.)  The service/plugin that I am trying to use it
check_nt and my syntax is as follows

 

 

define service{

        use                             generic-service         ; Name
of service template to use

        hostgroup_name                  EXCHANGE-SERVERS

        service_description             DISK C:\

        is_volatile                     0

        check_period                    24x7

        max_check_attempts              3

        normal_check_interval           60

        retry_check_interval            30

        contact_groups                  exchange-admins

        notification_interval           300

        notification_period             24x7

        notification_options            c,w,r

        check_command
"/usr/local/libexec/nagios/check_nt -H $HOSTADDRESS$ -p 1248 -v
USEDDISKSPACE -l C -w 95 -c

99"

        }

 

 

When I check my configuration, this is what I get.  I cant seem to
figure it out, can anyone point me in the right direction?

 

[root at nagios /usr/local/nagios/bin]# ./nagios -v
/usr/local/nagios/etc/nagios.cfg 

 

Nagios 2.5

Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)

Last Modified: 07-13-2006

License: GPL

 

Reading configuration data...

 

Running pre-flight check on configuration data...

 

Checking services...

Error: Service check command '"/usr/local/libexec/nagios/check_nt -H
$HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l C -w 95 -c 99"' specified in
service 'DISK C:\' for host 'VMODEX01' not defined anywhere!

        Checked 4 services.

Checking hosts...

        Checked 1 hosts.

Checking host groups...

        Checked 1 host groups.

Checking service groups...

        Checked 0 service groups.

Checking contacts...

        Checked 5 contacts.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060929/109c3701/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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