**ePN failed to compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Globalsymbol "$script" requires explicit package name at (eval 1) line 29

rob.moss at uk.bnpparibas.com rob.moss at uk.bnpparibas.com
Wed Sep 13 11:21:25 CEST 2006


Yeah, it's a basic perl error saying that the script hasn't declared the
variable before using it.

Edit the script and right up the top where you see other entries similar to

my $variable;
my $othervaraible = "foo";

add in

my $script;

You could just turn off warnings, but that is bad practice and causes
further problems just like this one.

rob



|------------------------------------------>
|          Internet                        |
|          mark.duffy at tney.northy.nhs.uk   |
|                                          |
|                                          |
|          Sent by:                        |
|          nagios-users-bounces at lists.sourc|
|          eforge.net                      |
|                                          |
|          13/09/2006 10:11                |
|------------------------------------------>
  >---------------------------------------------------------------------------------------------------------------|
  |                                                                                                               |
  |                                                                                                               |
  |                                                                                                             To|
  |       nagios-users                                                                                            |
  |                                                                                                             cc|
  |                                                                                                               |
  |                                                                                                        Subject|
  |       Re: [Nagios-users] **ePN failed to      compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil:        |
  |       "Globalsymbol "$script" requires explicit package name at (eval 1) line 29                              |
  |                                                                                                               |
  |                                                                                                               |
  |                                                                                                               |
  |                                                                                                               |
  |                                                                                                               |
  |                                                                                                               |
  >---------------------------------------------------------------------------------------------------------------|




I got this error when I had the embedded Perl interpreter installed, I'm
no programmer so I just recompiled without the embedded Perl
interpreter, and if anyone does know a solution to this it would be
great as it would speed up my checks no end.

Regards,
Mark

> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of hendro budianto
> Sent: 13 September 2006 08:12
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] **ePN failed to
> compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Globalsymbol
> "$script" requires explicit package name at (eval 1) line 29
>
> Hi,
> My os is CentOS 4.0, nagios-devel-2.5-1.el4.rf,
> nagios-2.5-1.el4.rf and
> nagios-plugins-1.4.2-1.2.el4.rf.
> I already download check_snmp_cisco_memutil, loadavg
> and ifstatus from nagiosexchange.org. Adding command
> at /etc/nagios/checkcommand.cfg and services.cfg. But
> the error is occur at Status Information: **ePN failed
> to compile
> /usr/lib/nagios/plugins/check_snmp_cisco_memutil:
> "Global symbol "$script" requires explicit package
> name at (eval 1) line 29.
>
> Could anyone help me ? I want to implementation to my
> office .
>
>
> Best regards,
>
>
> Hendro B
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
------------------------------------------------------------------------
-
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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 email may contain confidential information and may be read,
copied and used only by the intended recipient.

The information in this email transmission may not be legally revealed
and is intended only for the use of the individual(s) named above. If
you are not the intended recipient you are hereby notified that any use,
dissemination, distribution or copying of this email message or its
information is strictly prohibited.


If you have received this email in error please notify the sender by reply
or by telephoning +44 (0)1642 283949.
Delete this message from your email system(s) and do not disclose its
contents to any person.




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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 message and any attachments (the "message") is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**********************************************************************************************

BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI & AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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