check_hd problem {Disarmed} {Fraud?}

Larry Low llow at telesphere.com
Thu Mar 6 23:01:50 CET 2008


Or you can add
# nagios: -epn
to the top of the perl plugin.

----
Larry Low
4150 N Drinkwater Blvd., 5th Floor
Scottsdale, AZ  85251
Office: 480.385.7045
E-mail: llow at telesphere.com'

Telesphere Networks, Inc


-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Domenico
Dig
Sent: Thursday, March 06, 2008 12:40 PM
To: Marc Powell; Nagios Users Mailinglist
Subject: Re: [Nagios-users] check_hd problem {Disarmed} {Fraud?}

I wont to thank you,
Your work around it' s a good solution

On 2/29/08, Marc Powell <marc at ena.com> wrote:
>
> On Feb 29, 2008, at 7:01 AM, Domenico Dig wrote:
>
> > Hi all
> > I'm having a problem with check_hd( the same problem with
> > check_winmem).
> >
> > With nagios server (debian & nagios 2.5) I try to check hd on
> > windows 2003, where i have installed snmp (
> > I have tested it with snmpwalk and it works, all mibs are shown) but
> > manually with:
> >
> > nagios:/# /usr/lib/nagios/plugins/check_hd 10.1.1.8 public 10 10 c
> > Critical  : no response
>
> FSS: Don't run plugins as root, nagios doesn't.
>
> > while trouth web interface I see the follow error
> >
> > **ePN failed to compile /usr/lib/nagios/plugins/check_hd: "Global
> > symbol "$PROGNAME" requires explicit package name at (eval 3) line 21,
>
> Nagios has been compiled with embedded perl support but this plugin
> isn't made to work with it.
> http://nagios.sourceforge.net/docs/2_0/embeddedperl.html
> . Either recompile without embedded perl, modify the plugin to 'fix'
> it or use the workaround below.
>
> > using this:
> > define command{
> >
> > command_name check_hd
> >
> > command_line $USER1$/check_hd $HOSTADDRESS$ public $ARG1$ $ARG2$
> > $ARG3$
> >
> > }
> >
>
> Using the following command_line will bypass use of the ePN for this
> plugin specifically --
>
> command_line /your/path/to/perl $USER1$/check_hd $HOSTADDRESS$ public
> $ARG1$ $ARG2$ $ARG3$
>
> --
> Marc
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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