Perl Modules (Was Re: Cost of Nagios)

Demetri Mouratis dmourati at cm.math.uiuc.edu
Thu Jun 17 06:40:16 CEST 2004


On Thu, 17 Jun 2004, Stanley Hopcroft wrote:

> If speed is required, some of the power tools like nmap + CPAN
> Nagios::Config might get one going very quickly,

If speed is required, Nagios::Config is a non-starter:

[root at demetri02 root]# perl -MCPAN -e "install Nagios::Config"
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Wed, 16 Jun 2004 22:35:48 GMT
Warning: Cannot install Nagios::Config, don't know what it is.
Try the command

    i /Nagios::Config/

to find objects with matching identifiers.

[root at demetri02 root]# perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.61)
ReadLine support available (try 'install Bundle::CPAN')

cpan> i /Nagios/
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Wed, 16 Jun 2004 22:35:48 GMT
Distribution    H/HO/HOPCROFTS/Nagios-WebTransact-0.16.tar.gz
Distribution    H/HO/HOPCROFTS/Nagios-WebTransact-Timed-0.06.tar.gz
Distribution    T/TO/TOBEYA/Nagios-Cmd-0.05.tar.gz
Distribution    T/TO/TOBEYA/Nagios-Object-0.03.tar.gz
Module          Nagios::Cmd     (T/TO/TOBEYA/Nagios-Cmd-0.05.tar.gz)
Module          Nagios::Cmd::Read (T/TO/TOBEYA/Nagios-Cmd-0.05.tar.gz)
Module          Nagios::Config::File
(T/TO/TOBEYA/Nagios-Object-0.03.tar.gz)
Module          Nagios::Object  (T/TO/TOBEYA/Nagios-Object-0.03.tar.gz)
Module          Nagios::Object::Config
(T/TO/TOBEYA/Nagios-Object-0.03.tar.gz)
Module          Nagios::StatusLog (T/TO/TOBEYA/Nagios-Object-0.03.tar.gz)
Module          Nagios::WebTransact
(H/HO/HOPCROFTS/Nagios-WebTransact-0.16.tar.gz)
Module          Nagios::WebTransact::Timed
(H/HO/HOPCROFTS/Nagios-WebTransact-Timed-0.06.tar.gz)

cpan> install Nagios::Config::File
<snip>

Too early to specify a build action 'Build'.  Do 'Build Build' instead.
make: *** [Build] Error 29
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

Or am I missing something?
---------------------------------------------------------------------
Demetri Mouratis
dmourati at linfactory.com



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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