ASNMTAP

 view release on metacpan or  search on metacpan

INSTALL  view on Meta::CPAN

# -----------------------------------------------------------------------
# © Copyright 2003-2011 by Alex Peeters [alex.peeters@citap.be]
# -----------------------------------------------------------------------

# General - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Author       : Alex Peeters [alex.peeters@citap.be]
Latest update: dd month 2011
Version      : 3.002.003


# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# INSTALL - DRAFT v1.1  - - - - - - - - - - - - - - - - - - - - - - - - -
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

fixRights.sh
------------

vi fixRights.sh and change when needed
AMPATH=/opt/asnmtap-3.001.xxx	       # path where ASNMTAP is installed
ASNMTAPUSER=asnmtap                    # use for the ASNMTAP::Application
WWWUSER=apache                         # nobody
...

chmod 755 fixRights.sh

./fixRights.sh


Symbolic link:
--------------

ln -s /opt/asnmtap-3.001.xxx-new asnmtap


-------------------------------------------------------------------------
- ASNMTAP/Nagios PLUGINS                                                -
-------------------------------------------------------------------------

Information about the ASNMTAP/Nagios Plugins can be found at:
  man ASNMTAP::Asnmtap

  Asnmtap.cnf
  -----------

  mv $AMPATH/Asnmtap.cnf-orig $AMPATH/Asnmtap.cnf

  vi $AMPATH/Asnmtap.cnf and modify at least <COMMON>...</COMMON>
  ...
  # Common variables - - - - - - - - - - - - - - - - - - - - - - - - - -
  <COMMON>
    APPLICATION     Application Monitoring
    BUSINESS        CITAP
    DEPARTMENT      Development
    COPYRIGHT       2003-2011
    SENDEMAILTO     alex.peeters@citap.be
  # TYPEMONITORING  central                      # central or distributed
  # RUNCMDONDEMAND  localhost                    # localhost or probe
  </COMMON>
  ...


Information about how to build ASNMTAP Plugins can be found at:
  - man ASNMTAP::Asnmtap::Plugins
  - man ASNMTAP::Asnmtap::Plugins::IO
  - man ASNMTAP::Asnmtap::Plugins::Modem
  - man ASNMTAP::Asnmtap::Plugins::Mail
  - man ASNMTAP::Asnmtap::Plugins::Nagios

INSTALL  view on Meta::CPAN

  - Holidays Bundle
  - Timeperiods
  
  - Users 
  
  - Reports (to define the 'Detailed Statistics & Report Generation' that are generated by the Archiver) 


  3) Moderator at http://asnmtap.citap.com/asnmtap/cgi-bin/moderator/index.pl

  - Session Console (for the Display) 

  - Status Console (for the Collector/Display) 
  
  - Trendline Correction Reports (for the Collector) 
  
  - Plugin Crontab Scheduling Reports (for the Collector) 
  - Collector Crontab Scheduling Reports (for the Collector) 
  - Collector Daemon Scheduling Reports (for the Collector) 

  - Plugins (to edit short description, trendline, holiday bundle and uploading plugindoc)


  4) Guest and members at http://asnmtap.citap.com/asnmtap/nav/index/

    ... TODO ...


  RSYNC tussen PROBE en CENTRALE servers
  --------------------------------------

    ... TODO ... NO PART OF NORMAL SETUP ...


  Install ChartDirector 4.x for Perl 
  -----------------------------------

    download chartdir_perl_linux.tar.gz from http://www.advsofteng.com/
    wget http://www.advsofteng.com/chartdir_perl_linux.tar.gz
    mv chartdir_perl_linux.tar.gz /opt/.
    tar -xvzf chartdir_perl_linux.tar.gz
    rm chartdir_perl_linux.tar.gz

    ASNMTAP configuration
    ---------------------

    Applications.cnf

    <COMMON>
    ...
      <CHARTDIRECTOR>
        LIB             /opt/ChartDirector/lib/.
      </CHARTDIRECTOR>
    ...
    </COMMON>
 

  Perfparse integration
  ---------------------

    download latest snapshot from http://wiki.perfparse.org/cvs_snapshots/
    bzip2 -d perfparse-06-mm-dd.tar.bz2
    tar -xvf perfparse-06-mm-dd.tar
    cd perfparse-all

    ./configure --prefix=/opt/asnmtap/perfparse --with-imagedir=/opt/asnmtap/applications/htmlroot/img/ --with-cgidir=/opt/asnmtap/applications/htmlroot/cgi-bin --with-http_image_path=/asnmtap/img --with-data-source=asnmtap
    make
    make install-strip


  SNMPTT integration 
  ------------------

    Install net-snmp 5.4.x

    ... TODO ... NO PART OF NORMAL SETUP ...

    MySQL 5.0.x

     SQLyog -> Db -> Import from SQL Statements ... -> \opt\asnmtap-3.001.xxx\plugins\templates\snmptt\snmptt-3.002.003-v5.0.x.sql
     SQLyog -> Db -> Import from SQL Statements ... -> \opt\asnmtap-3.001.xxx\plugins\templates\snmptt\create_weblogic_configuration_database_with_SNMP-3.002.003_mysql-v5.0.x.SQL
     or
     mysql -u root -p  < /opt/asnmtap/plugins/templates/snmptt/snmptt-3.002.003-v5.0.x.sql
     mysql -u root -p  < /opt/asnmtap/plugins/templates/snmptt/create_weblogic_configuration_database_with_SNMP-3.002.003_mysql-v5.0.x.SQL

    ... TODO ... NO PART OF NORMAL SETUP ...

  NagTrap integration 
  -------------------

    ... TODO ... NO PART OF NORMAL SETUP ...

    more /opt/asnmtap/applications/htmlroot/snmptraps/.htaccess
    AuthName "CITAP's Nagios Access"
    AuthType Basic
    AuthUserFile /etc/httpd/conf/nagios-htpasswd.users
    require valid-user

    ... TODO ... NO PART OF NORMAL SETUP ...


  Install HTML to PDF converter for Perl 
  --------------------------------------

    HTMLDOC: http://www.htmldoc.org/

    Downloading the Software 
    Get the software from http://www.htmldoc.org/
    wget http://ftp.easysw.com/pub/htmldoc/1.8.25/htmldoc-1.8.25-source.tar.gz

    Installing the Software
    tar -xvzf htmldoc-1.8.27-source.tar.gz
    cd htmldoc-1.8.27
    ./configure
    make
    make install

    Licensing the Software 
    The HTMLDOC License window is shown the first time you run the software.

    Click on the Update License button to add a license to your system



( run in 0.804 second using v1.01-cache-2.11-cpan-f52f0507bed )