Xymon Mailing List Archive search

perl dir on bb-xsnmp.pl

4 messages in this thread

list Asif Iqbal · Mon, 11 Jun 2007 14:03:04 -0400 ·
I do not have a perl dir under my hobbit server instance as defined in
bb-xsnmp.pl

use lib qw(/local/packages/IT/HOBBIT/hobbit/server/ext/perl/

How do I go by using it?

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Dave Haertig · Mon, 11 Jun 2007 12:14:50 -0600 ·
Do you mean something like this:
 
Add to .../client/etc/hobbitclient.cfg:
 
PERL5LIB="/development/hobbit/lib"
quoted from Asif Iqbal


From: Asif Iqbal [mailto:user-6f4b51ac2a40@xymon.invalid] 
Sent: Monday, June 11, 2007 12:03 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] perl dir on bb-xsnmp.pl


I do not have a perl dir under my hobbit server instance as defined in
bb-xsnmp.pl

use lib qw(/local/packages/IT/HOBBIT/hobbit/server/ext/perl/

How do I go by using it?

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Asif Iqbal · Mon, 11 Jun 2007 14:31:30 -0400 ·
On 6/11/07, Haertig, David F (Dave) <user-68874b735d77@xymon.invalid> wrote:
 Do you mean something like this:

Add to .../client/etc/hobbitclient.cfg:

PERL5LIB="/development/hobbit/lib"
Well is there a perl module for Hobbit or can I just change the following
line in bb-xsnmp.pl

use lib qw(/local/packages/IT/HOBBIT/hobbit/server/ext/perl/

to

use lib qw(/path/to/perl/)
quoted from Dave Haertig

*From:* Asif Iqbal [mailto:user-6f4b51ac2a40@xymon.invalid]
*Sent:* Monday, June 11, 2007 12:03 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* [hobbit] perl dir on bb-xsnmp.pl

I do not have a perl dir under my hobbit server instance as defined in
bb-xsnmp.pl

use lib qw(/local/packages/IT/HOBBIT/hobbit/server/ext/perl/

How do I go by using it?

--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Dave Haertig · Mon, 11 Jun 2007 12:50:13 -0600 ·
I am not familiar with the bb-xsnmp.pl program.  If it's trying to "use"
some custom module, then you need to make sure you have that custom
module correctly installed on your system and perl knows how to find it
(via PERL5LIB or "use lib" directive).
 
For example, all my Hobbit custom perl scripts have:
 
use lib qw( /development/hobbit/lib );
use bbMsg;
 
bbMsg.pm is a custom module I wrote, it's not in the standard PERL
library path, so I have to specify "use lib" in my scripts or PERL5LIB
in my environment telling perl where it can find my module (which
happens to be in /development/hobbit/lib).
quoted from Asif Iqbal
 

From: Asif Iqbal [mailto:user-6f4b51ac2a40@xymon.invalid] 
Sent: Monday, June 11, 2007 12:32 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] perl dir on bb-xsnmp.pl


On 6/11/07, Haertig, David F (Dave) <user-68874b735d77@xymon.invalid> wrote: 

	Do you mean something like this:
	 
	Add to .../client/etc/hobbitclient.cfg:
	 
	PERL5LIB="/development/hobbit/lib"


Well is there a perl module for Hobbit or can I just change the
following line in bb-xsnmp.pl


use lib qw(/local/packages/IT/HOBBIT 
/hobbit/server/ext/perl/
quoted from Asif Iqbal

to

use lib qw(/path/to/perl/)


	From: Asif Iqbal [mailto:user-6f4b51ac2a40@xymon.invalid] 
	Sent: Monday, June 11, 2007 12:03 PM
	To: user-ae9b8668bcde@xymon.invalid
	Subject: [hobbit] perl dir on bb-xsnmp.pl
	
	
	I do not have a perl dir under my hobbit server instance as
defined in bb-xsnmp.pl
	
	use lib qw(/local/packages/IT/HOBBIT/hobbit/server/ext/perl/
	
	How do I go by using it?
	
	-- 
	Asif Iqbal
	PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
	
	
-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu