How to determine if Nagios install is (ePN) embedded Perl Nagios?

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Fri Aug 27 03:30:45 CEST 2004


Dear Sir,

I am writing to thank you for your letter and say,


> From: "Hicks, Matthew" <m.hicks at sap.com>
> To: nagios-users at lists.sourceforge.net
> Date: Thu, 26 Aug 2004 17:06:16 +0200
> Subject: [Nagios-users] How to determine if Nagios install is (ePN) embedded Perl Nagios?
> 
> 
> I'm in the process of picking up support for an existing Nagios install =
> and I'm new to it. So this might be a na=EFve question, but is there an =
> easy way to determine whether Nagios was built as ePN or not?  Is ePN =
> even a factor or am I dealing with documentation artifacts?  Nagios -V =
> or -v was unrevealing. =20
>

Nagios versions, or versions of relevant things are helpful.

As it turns out from your subsequent letter that you are using Nagios 
2.0alpha1 where the -m option is not implemented, life is harder.

Your options are

1  strings <nag_binary> | grep perl_

eg 

tsitc> strings nagios-2.0a1_SUSS | grep perl_
PL_perl_destruct_level
perl_construct
perl_parse
perl_call_argv
perl_run
perl_call_pv
perl_destruct
perl_alloc
perl_free
perl_get_sv
max_embedded_perl_calls
max_embedded_perl_calls
Illegal value for max_embedded_perl_calls
Usage: DynaLoader::dl_install_xsub(perl_name, symref, 
filename="$Package")
tsitc> 

2 or if Nag was built from source, examine the source directory for

config.status - check the options used when it was last run

eg tsitc> grep perl config.status 
# ./configure  --enable-embedded-perl --with-perlcache


examine include/config.h

eg tsitc> grep EMB include/config.h
#define EMBEDDEDPERL 1
tsitc> 

These are all unequivocal signs that the dir was either edited to 
resemble an ePN build, or was last used to build an ePN.


 
> TIA! --Matt
> 
> 

Yours sincerely.

-- 
Stanley Hopcroft

Network specialist, IT Infrastructure
IP Australia
Ph: (02) 6283 3189  Fax: (02) 6281 1353
PO Box 200 Woden  ACT 2606
http://www.ipaustralia.gov.au


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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