官术网_书友最值得收藏!

  • Monitoring with Opsview
  • Alan Wijntje
  • 659字
  • 2021-07-21 18:06:21

Installing and configuring Opsview Core

Getting your first Opsview system running is actually relatively easy as Opsview offers three different ways of getting started:

  • Packages
  • Virtual appliance
  • On demand

Depending on your requirements you can choose the installation type that suits you best.

Please note that the username/password or even installation instructions might change, so check out the Opsview documentation website for the latest instructions and the Opsview download page (http://www.opsview.com/technology/downloads/opsview-core).

Package-based installations

Opsview provides packages for the most common Linux distributions, and if you are already running any of these packages, installing them becomes very easy indeed.

The Linux distributions supported are:

  • Red Hat Enterprise Linux
  • Ubuntu (LTS releases)
  • Debian
  • SUSE Linux Enterprise
  • CentOS

For the most up-to-date list of supported systems, visit http://docs.opsview.com/doku.php?id=opsview-core:platforms.

Prerequisites

Depending on your operating system, you may need to take some additional steps to address the few prerequisites that Opsview has:

  • Security-Enhanced Linux extensions (SELinux): Currently, Opsview is not compatible with SELinux, so if SELinux is enabled on your system, you have to disable it.
  • CentOS: On CentOS systems, RPMForge must be set up to resolve any dependencies Opsview may have, so make sure it is enabled (visit http://repoforge.org for the latest version).
  • Red Hat Enterprise Linux: On Red Hat EL 6, the Red Hat Optional Server 6 repositories must be enabled in RHN (Red Hat Network).

    Both EL 5 and EL 6 systems need to have a recent version of libmcrypt installed, which can be downloaded at http://dl.fedoraproject.org/pub/epel/<version>/x86_64. Check the repository for the latest version, and enter it in the URL. For example, the URL http://dl.fedoraproject.org/pub/epel/6/x86_64 is for RHEL 6.

  • Debian/Ubuntu: The Opsview repositories for Debian and Ubuntu are GPG-signed (where GPG stands for GNU Privacy Guard) for security. To prevent issues with APT (Advanced Packaging Tool) not being able to verify the contents of the repository, enter the following in the command line:
    sudo gpg --keyserver subkeys.pgp.net --recv-key 0FC6984B
    sudo gpg --export --armor 0FC6984B | sudo apt-key add -
    

    This will install the APT key for Opsview (on occasions, retrieving the key fails due to an unresponsive pgp.net server; simply wait for a couple of minutes and try again).

  • SUSE Linux Enterprise: To resolve all dependencies make sure the Extras repo is enabled on your system. For this we type the following command:
    zypper mr -e nu_novell_com:SLES11-Extras
    

Installing Opsview

Once all the prerequisites are met you can add the repositories, and install Opsview using your favorite package manager.

From the Opsview download page, select the distribution you would like to install as shown in the following screenshot, and you will be redirected to the latest install guides:

Installing Opsview

Virtual appliance

Opsview also offers a virtual appliance version of Opsview Core that can be installed into ESX, vSphere, or VMware Player environments.

Download the virtual appliance from the Opsview download page as shown in the following screenshot:

Virtual appliance

Deploy it and power up the Virtual Machine (VM).

By default, VM is configured to use DHCP (Dynamic Host Configuration Protocol) for an IP address which might be undesirable (the current IP is displayed on the console when the server is running).

You can change this by logging into the server with SSH (Secure Shell) using both the username and password as conf and running the NETCONF utility.

On demand

The last of the three possible installation methods of Opsview Core is the on-demand version that runs in Amazon EC2.

Running Opsview Core is free of charge, but the EC2 instance will be charged by Amazon.

Opsview Core running on the recommended m1.small general purpose type should be able to monitor up to 250 hosts (the number might vary depending on the number of checks, frequency, and so on).

To install, first make sure you have a working AWS account, then select the datacenter closest to you from the Opsview website, and within seconds you can have a running instance of Opsview Core by simply following the instructions. The selection list is shown in the following screenshot:

On demand
主站蜘蛛池模板: 云浮市| 历史| 高安市| 上虞市| 太谷县| 麦盖提县| 元江| 锦州市| 关岭| 资中县| 广德县| 台中县| 石棉县| 二连浩特市| 锡林浩特市| 桂平市| 德惠市| 蓬溪县| 柳林县| 武城县| 望城县| 夹江县| 北宁市| 正镶白旗| 新郑市| 武威市| 大城县| 罗源县| 五台县| 中牟县| 湘潭市| 海阳市| 治县。| 高淳县| 巴彦淖尔市| 密云县| 乳源| 阳城县| 康乐县| 盐边县| 武义县|