These ports do not build with PHP 7.0, make them as such. Also, mark those who try to use mysql, which does not exist in PHP 7.0. Sponsored by: Absolight5815027c46
Port details
net-mgmt/observium 26.1
Autodiscovering PHP/MySQL/SNMP based network monitoring
Port info
- Maintainer
- xaaports@dohd.org
- Packages
- latest: observium-php82 26.1, observium-php83 26.1, observium-php84 26.1, observium-php85 26.1, observium-php86 26.1
- Upstream
- up to date
- Last update
- to 26.1 · 80a13e90b7
- Quarterly
- 2026Q4: observium-php82 26.1, observium-php83 26.1, observium-php84 26.1, observium-php85 26.1, observium-php86 26.1
- WWW
- https://observium.org
- Links
- cgit · VuXML · Report wrong data
Install
- Package
# pkg install observium-php82# pkg install observium-php83# pkg install observium-php84# pkg install observium-php85# pkg install observium-php86installs observium-php82 26.1, observium-php83 26.1, observium-php84 26.1, observium-php85 26.1, observium-php86 26.1 fromlatest; fromquarterly(2026Q4) observium-php82 26.1, observium-php83 26.1, observium-php84 26.1, observium-php85 26.1, observium-php86 26.1- Port
# cd /usr/ports/net-mgmt/observium && make install clean# make -C /usr/ports/net-mgmt/observium config # change options first
- Size
- 76 MiB download · 909 MiB installed
- Depends on
- archivers/php82-zlib 8.2.35_2, converters/php82-iconv 8.2.35_2, databases/mysql84-client 8.4.11_1, databases/php82-mysqli 8.2.35_2, databases/py-mysqlclient 2.3.0, databases/rrdtool 1.11.0, devel/libvirt 12.8.0, devel/php82-tokenizer 8.2.35_2, devel/subversion 1.14.5_1, graphics/graphviz 16.1.0_2, graphics/php82-gd 8.2.35_2, graphics/png 1.6.59_1, lang/php82 8.2.35_2, lang/python312 3.12.15, net-mgmt/nagios-plugins 2.4.4_2,1, net-mgmt/net-snmp 5.9.5.2,1, net-mgmt/php82-snmp 8.2.35_2, net-mgmt/wmi-client 1.3.16_4, net/fping 5.5, net/mtr 0.96, net/pear-Net_IPv4 1.3.5, net/pear-Net_IPv6 1.3.0.b4_2, security/php82-filter 8.2.35_2, security/sudo 1.9.17p2_2, sysutils/ipmitool 1.8.19_3, sysutils/php82-posix 8.2.35_2, textproc/php82-ctype 8.2.35_2, textproc/php82-xml 8.2.35_2, www/apache24 2.4.69, www/php82-session 8.2.35_2
- License
- EULA
- Options
- 10 of 11 on in the package: APACHEMOD DOCS EXAMPLES FPING IPMITOOL LIBVIRT NAGPLUGINS PYPOLLER SUBVERSION WMIC
Show the 1 options that are off
MYSQLD - pkg-message
Shown 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.- Note
- Size, dependencies, options and messages are those of observium-php82.
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 26.1 | 26.1 | – |
| FreeBSD 15 | 26.1 | 26.1 | – |
| FreeBSD 14 | 26.1 | 26.1 | ✗ |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 26.1 | 26.1 | – |
| FreeBSD 14 | 26.1 | 26.1 | ✗ |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 26.1.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (68)
Fix when using rrdtool 1.5+ Pet portlint, add missing dependency. PR: 207057 Submitted by: Mathieu Arnold Approved by: maintainer433e0a25b0
net-mgmt/observium: Update to latest community release 0.16.1.7533 While here, hand over maintainershipb4fe834166
Update to 0.15.06.6430 Unmute installation PR: 2006913b1dd62e5d
Fix PATH issues for poller scripts used as cron entries
We don't have /usr/local/{bin,sbin} in cron PATH by default
Submitted by: mat53b8e92dfbAdd PYPOLLER option to add support for the Python poller wrapper Submitted by: mat86f30fa337
Correct paths to fping out of the box Submitted by: raf@verbiest.be8051ab9555
Update to 0.14.11.6000 Numerous fixes and enhancements: - Support for more functionality by default - @sample the config.php.default - Fix permissions issues - Default paths to utilities corrected PR: 193982 PR: 195919158a98a20b
Cleanup plistefc5cc0e55
Giving in and taking maintainership :-) Create empty rrd directory so webif doesn't warn you Scripts need to be executable or some functionality is missingae8a2ea5c2
Support STAGE Switch to the latest community edition: updated bi-annually Remove JAIL option; if you need to run Observium in a jail please enable raw socket support for the jail. Upstream is very specific about what they support and pulling an ancient perl fping script from CPAN is not comforting. Sponsored by: SupraNet Communications, Inc5296f66b97
Remove indefinite articles and trailing periods from COMMENT, plus minor COMMENT typos and surrounding whitespace fixes. A few Makefiles where not included as they contain Latin-1 characters that break the Phabricator workflow. Category N. CR: D307 Approved by: portmgr (bapt)7dc406a7a1
Add NO_STAGE all over the place in preparation for the staging support (cat: net-mgmt)985b201424
- Convert to optionsNG - Mostly silence portlint (use PLIST_SUB instead of PLIST_FILES)f0cda8d979
Reset rflynn@acsalaska.net: mailbox is full.3d7591748b
- Remove SITE_PERL from *_DEPENDS Approved by: portmgr@ (bapt@)c9b4f372f4
- Chase rrdtool shlib version bump.b240caf9e4
Add port net-mgmt/observium: As per WantedPorts. 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. - fix-up for invalid XML, fixed in upstream, but not in released version PR: ports/165251 Submitted by: Mel Flynn <rflynn@acsalaska.net> (maintainer) Approved by: gabor (mentor, implicit)a26e918289