[Nagiosplug-help] Problem with check_netapp3.pl

alexandre fedi alex94130 at hotmail.fr
Mon Aug 16 14:44:18 CEST 2010


Thanks for your reply.

Here is "commands.cfg" :

define command {
command_name check_netapp3
command_line $USER1$/contrib/check_netapp3.pl -H $HOSTADDRESS$ -C public -v $ARG1$ -w $ARG2$ -c $ARG3$
}

Here is "service check" :

# Check CPU Server hardware - check_netapp3.pl
define service{
use         generic-service
host_name    hostname
service_description CPULOAD
check_command check_netapp3!CPULOAD!80!90
}

Alexandre



Date: Mon, 16 Aug 2010 14:31:46 +0200
From: ck at claudiokuenzler.com
To: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] Problem with check_netapp3.pl

Permissions look good and it runs with your Nagios user. Already sth good.
Did you double-check the command you're using in commands.cfg and in your actual service check? Maybe there's a typo-mistake in your config?


On Mon, Aug 16, 2010 at 2:20 PM, alexandre fedi <alex94130 at hotmail.fr> wrote:









Here is the command with 'nagios' user, with same arguments :

[root at nagios etc]# su - nagios
[nagios at nagios ~]$ /usr/local/nagios/libexec/contrib/./check_netapp3.pl -H 192.X.X.X -C public -v CPULOAD -w 80 -c 90

CPULOAD OK - CPU load: 6%|cpuload=6%

Here's permissions :

-rwxr-xr-x 1 nagios nagios 22051 aoû 16 09:56 /usr/local/nagios/libexec/contrib/check_netapp3.pl


Alexandre



> From: lists at xodus.org
> Date: Mon, 16 Aug 2010 07:05:50 -0500
> To: nagiosplug-help at lists.sourceforge.net

> Subject: Re: [Nagiosplug-help] Problem with check_netapp3.pl
> 
> 
> On Aug 16, 2010, at 6:47 AM, alexandre fedi wrote:

> 
> > Hi all,
> > 
> > I'm trying to use "check_netapp3.pl" to monitor my Netapp FAS2050 (http://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/NetApp/Check_netapp3/details).

> > 
> > Running the command in terminal works fine:
> > 
> > [root at nagios contrib]# ./check_netapp3.pl -H 192.X.X.X -v CPULOAD    

> > CPULOAD OK - CPU load: 5%|cpuload=5%
> 
> It may run fine as the 'root' user, but likely not as the nagios user. Try running it as 'nagios' from the command line, exactly as you use it in the command{} definition (with appropriate substitutions).

> 
> --
> Marc
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by 
> 
> Make an app they can't live without

> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev 
> _______________________________________________
> Nagiosplug-help mailing list

> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help

> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
 		 	   		  

------------------------------------------------------------------------------

This SF.net email is sponsored by



Make an app they can't live without

Enter the BlackBerry Developer Challenge

http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________

Nagiosplug-help mailing list

Nagiosplug-help at lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/nagiosplug-help

::: Please include plugins version (-v) and OS when reporting any issue.

::: Messages without supporting info will risk being sent to /dev/null





------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100816/447502b3/attachment.html>


More information about the Help mailing list