Error when trying to add a check_netapp check

Page, Jeremy jeremy.page at gilbarco.com
Wed Sep 3 16:22:40 CEST 2008


I don't think so, it's in the same directory as all my other check
scripts. Is there something else I need to do? Other check_netapp
commands work, it's just this one that's failing (see below)

Do I need to add something to my commands.cfg file?

Here's an example of what does work:
define service{
        use                             generic-service
        host_name                       gvr-array02
        service_description             System Desctiption
        check_command                   check-netapp-sysdescr
        max_check_attempts              5
        normal_check_interval           5
        retry_check_interval            1
        notification_interval           120
        contact_groups                  admins
        notification_period             workhours
        }

define service{
        use                             generic-service
        host_name                       gvr-array02
        service_description             Failed Fans
        check_command                   check-netapp-failedfans
        max_check_attempts              5
        normal_check_interval           5
        retry_check_interval            1
        notification_interval           120
        contact_groups                  admins
        notification_period             24x7

-----Original Message-----
From: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] 
Sent: Wednesday, September 03, 2008 9:55 AM
To: Page, Jeremy
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Error when trying to add a check_netapp
check

The path to command might need to be set?

On 9/3/08, Page, Jeremy <jeremy.page at gilbarco.com> wrote:
> I am sorry for asking what I am sure is a very basic question, but
I've
> inherited my Nagios system and I'm trying to get a disk space check in
> ASAP. Here is the error I'm getting:
>
>
>
> Checking services...
>
> Error: Service check command 'check_netapp -H gvr-array02.gilbarco.com
> -C pubic -v DISKUSED -w 15 -c 10' specified in service 'Disk space'
for
> host 'gvr-array02' not defined anywhere!
>
>         Checked 1386 services.
>
>
>
> And here is the check command it's choking on:
>
>
>
>   check_command                   check_netapp -H
> gvr-array02.gilbarco.com -C pubic -v DISKUSED -w 15 -c 10
>
>         max_check_attempts              5
>
>         normal_check_interval           5
>
>         retry_check_interval            1
>
>         notification_interval           120
>
>         contact_groups                  admins
>
>         notification_period             24x7
>
>         }
>
>
>
> Where have I gone wrong? I know this command works if I run it from
the
> command line, so does that mean I need to do something in another
config
> file to define this check?
>
>
>
> This message (including any attachments) contains confidential
> and/or proprietary information intended only for the addressee.
> Any unauthorized disclosure, copying, distribution or reliance on
> the contents of this information is strictly prohibited and may
> constitute a violation of law.  If you are not the intended
> recipient, please notify the sender immediately by responding to
> this e-mail, and delete the message from your system.  If you
> have any questions about this e-mail please notify the sender
> immediately.


This message (including any attachments) contains confidential 
and/or proprietary information intended only for the addressee.  
Any unauthorized disclosure, copying, distribution or reliance on 
the contents of this information is strictly prohibited and may 
constitute a violation of law.  If you are not the intended 
recipient, please notify the sender immediately by responding to 
this e-mail, and delete the message from your system.  If you 
have any questions about this e-mail please notify the sender 
immediately. 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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