Architecture Management

Work Completed By: Tim West

DESCRIPTION

The administration of physical devices, logical elements and standards across the ICT Architecture. Within the scope of management is functionality such as monitoring, logging, configuring, troubleshooting and reporting.

Areas within architecture management control are as follows:
1. Standards – application of and adherence to agreed configurations
2. Logical Elements – ensuring the provision of key infrastructure services
3. Physical Devices – visibility of a device’s health or physical status

The ITIL framework looks to create a catalogue of services, a business and a technical version. The technical version provides a well defined list of the technical services that underpin the business services and can be used as a basis for monitoring the underlying technical components. This provides an overall status for a service (using RED, AMBER, GREEN) that is useful for both management and the business. To achieve this services must be defined and all technical components identified and linked back to the service. This project will investigate mapping multiple 'types' of components, services or standards and linking them to a service.

DETAILS/LOCATION OF PRACTICAL DEMONSTRABLE OUTPUT

To set-up a monitoring solution we chose to use Nagios, with the NDOUtils and NagiosBusiness Processes AddOns.

We started by creating VM with CentOS 5.3 installed, and then followed the Nagios on Fedora Quick Start Guide. This gave us a running Nagios install, just monitoring the local VM, which was enough for testing purposes.

Next we installed MySql:

# yum install mysql mysql-server mysql-devel
# service mysqld start
# /usr/bin/mysql_secure_installation

Then we installed NDOUtils:

$ tar -zxvf ndoutils-1.4b8.tar.gz
$ cd ndoutils-1.4b8
$ ./configure
$ make
$ cp src/ndomod-3x.o /usr/local/nagios/bin/ndomod.o
$ cp src/ndo2db-2x /usr/local/nagios/bin/ndo2db
$ cp config/ndomod.cfg /usr/local/nagios/etc
$ cp config/ndo2db.cfg /usr/local/nagios/etc
$ echo  broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg >> /usr/local/nagios/etc/nagios.cfg

Edit ndo2db.cfg and chnage the username and password for the database connection.

Now create the database:

# mysql -p
mysql> create database nagiosdb;
mysql> create user 'nagios'@'localhost' identified by nagiospass;
mysql> grant select,update,insert,delete on *.* to 'nagios'@'localhost';
mysql> exit
$ cd db
$ ./installdb -u nagios -p nagiospass -h localhost -d nagiosdb

We can now restart Nagios:

# service nagios restart

Followed by starting ndo2db:

# /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg

The Nagios configuration and the output from all the checks, should now be passed to NDO and stored in the database.

Now for Nagios Business Processes:

We first need to install an extra perl module which isn't in the standard CentOS repo, we need to add access to RPMForge:

# rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
# yum install perl-CGI-Simple
$ tar -zxvf nagios-business-process-addon-0.9.3.tar.gz
$ cd nagios-business-process-addon-0.9.3
$ ./configure
$ make install
# service httpd restart

Edit /usr/local/nagios/share/side.php and add the following after the Network Outages line:

<li>
<a href="/nagiosbp/cgi-bin/nagios-bp.cgi" target="main" onMouseOver="switchdot('statuswrl-dot',1)" onMouseOut="switchdot('statuswrldot',0)" class="NavBarItem">Business Process View</a>
</li>
<li>
<a href="/nagiosbp/cgi-bin/nagios-bp.cgi?mode=bi" target="main" onMouseOver="switchdot('statuswrl-dot',1)" onMouseOut="switchdot('statuswrl-dot',0)" class="NavBarItem">Business Impact</a>
</li>

We now need to edit the configuration files:

$ cd /usr/local/nagiosbp/etc
$ cp ndo.cfg-sample ndo.cfg
$ cp nagios-bp.cfg-sample nagios-bp.cfg

Start by editing ndo.cfg and changing the username and password for the database. Next we need to configure nagios-bp.cfg to set-up our business processes. Changes to this file take immediate effect.

There is demo site for Nagios Business Prcoesses AddOn at http://nagiosbp.projects.nagiosforge.org/demo.shtml, where you can try-out all the features discussed above.

PROJECT OUTCOME

Describe the degree to which the work was successful in addressing the project description. Include reasons why or why not.

SHORT TERM BENEFITS

What immediate impact could the output of this R&D work have on the organisation – could it provide benefits without compromising our strategic approach?

STRATEGIC IMPLICATIONS

How the work carried out fits with our strategic direction or how it should contribute to our strategic thinking.

OTHER NOTES ETC

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License