BSD Ports

net-mgmt/observium 26.1 FreeBSD

Autodiscovering PHP/MySQL/SNMP based network monitoring

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
EULA
Categories
net-mgmt
Package size
78424.9 KiB, 930722.2 KiB installed

Description

Observium is an autodiscovering PHP/MySQL/SNMP based network monitoring which includes support for a wide range of network hardware and operating systems including Cisco, Linux, FreeBSD, Juniper, Brocade, Foundry, HP and many more.

Observium has grown out of a lack of easy to configure network monitoring platforms. It is intended to provide a more navigable interface to the health and performance of your network. Its design goals include collecting as much historical data about devices as possible, being completely autodiscovered with little or no manual intervention, and having a very intuitive interface.

In the other systems

SystemPortVersion
FreeBSDnet-mgmt/observium26.1
DragonFlynet-mgmt/observium24.12
HardenedBSDnet-mgmt/observium26.1
GhostBSDnet-mgmt/observium26.1

Install

Binary package:

pkg install observium-php82

From the ports tree:

cd /usr/ports/net-mgmt/observium/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	observium-php82>0:net-mgmt/observium

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest26.126.10.19.8_224.12-
FreeBSD:14:quarterly26.126.1n/a24.12-
FreeBSD:15:latest26.126.1n/a24.1224.12
FreeBSD:15:quarterly26.126.1n/an/an/a
FreeBSD:16:latest26.126.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

Runtime 6

The full lists below include those, and their dependencies in turn.

Build dependencies 20
Run dependencies 194

The first 100 are listed.

No port depends on this one.

Configuration

Options name: net-mgmt_observium

OptionDefaultDescription
APACHEMODonUse PHP with Apache 2.4+ module
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
FPINGonEnable fping support ping monitoring
IPMITOOLonEnable support for monitoring hardware IPMI
LIBVIRTonVirtualization support via libvirt
MYSQLDoffUse local MySQL server
NAGPLUGINSonPlugins from nagios-plugins.org
PYPOLLERonEnable Python Poller Wrapper
SUBVERSIONonSubversion version control support
WMIConEnable support for WMI polling
USES
cpe php:cli,flavors python shebangfix sudo
Service scripts
none
Flavors
observium-php83-26.1, observium-php84-26.1, observium-php85-26.1, observium-php86-26.1

Message after installing

=== Configuration details ===
You can mostly follow the guide at:
https://observium.org/wiki/Installation

with the following notes:
- Installation directory is /usr/local/www/observium
- The following lines should be put in a file /usr/local/etc/cron.d/observium
  or alternatively /etc/cron.d/observium

# Run a complete discovery of all devices once every 6 hours
33	*/6	*	*	*	www	/usr/local/www/observium/observium-wrapper discovery >/dev/null 2>&1
# Run automated discovery of newly added devices every 5 minutes
*/5	*	*	*	*	www	/usr/local/www/observium/observium-wrapper discovery --host new >/dev/null 2>&1
# Run multithreaded poller wrapper every 5 minutes
*/5	*	*	*	*	www	/usr/local/www/observium/observium-wrapper poller >/dev/null 2>&1
# Run housekeeping script daily for syslog, eventlog and alert log
13	5	*	*	*	www	/usr/local/www/observium/housekeeping.php -ysel >/dev/null 2>&1
# Run housekeeping script daily for rrds, ports, orphaned entries in the database and performance data
47	4	*	*	*	www	/usr/local/www/observium/housekeeping.php -yrptb >/dev/null 2>&1

Notes:

- A minimal install can be created with the following steps and configuration file:

0: make sure apache and mysql are up and running.

1: create the database and a dbaccount with the following (my)SQL commands:

    CREATE DATABASE observium DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
    GRANT ALL PRIVILEGES ON observium.* TO 'observium'@'localhost' IDENTIFIED BY 'notSecure';

2: create config file starting with the sample config file

        cp /usr/local/www/observium/config.php.default /usr/local/www/observium/config.php

   and make sure to set at least the following fields:

        $config['db_host'] = 'localhost';
        $config['db_user'] = 'observium';
        $config['db_pass'] = 'notSecure';
        $config['db_name'] = 'observium';

3:  populate the admin user and initialize the database (as 'www' user):

        sudo -u www /usr/local/www/observium/discovery.php -u
        sudo -u www /usr/local/www/observium/adduser.php admin SomeInsecureAdminPassword 10

4:   and verify that collection is working:

        sudo -u www /usr/local/www/observium/discovery.php -h all -d
        sudo -u www /usr/local/www/observium/poller.php -h all -d

5: Install the above crontabs.

6: Edit the file

   /usr/local/etc/apache24/Includes/observium.conf
   
   and fill out a port number and hostname, or use the
   default at port 8080.

7: restart the webserver with 

       service apache24 restart

   or stop/start if in case of IP or SSL changes.

6: log in with a web browser; using the username 'admin' and the
   password 'SomeInsecureAdminPassword'.

   Hosts can be added from the webinterface or from the commandline.

Files

distinfo 1
FileSizeSHA256
observium-community-26.1.tar.gz1.33583004e+08c08492753e9166aa8ab3edbfecb4d399e91acb991a7c0c164dd0d15af60c493e
Master sites 1
  • https://www.observium.org/

Commit history 0

No commits in the history this site was built from.