Spine is a poller for Cacti that primarily strives to be as fast as
possible. For this reason it is written in native C, makes use of POSIX
threads, and is linked directly against the net-snmp library for
minimal SNMP polling overhead.
It's a replacement for the default 'poller.php' script, so you must
decide if using Spine makes sense for your installation.
net-mgmt/cacti-spine: Fix build with net-snmp
net-snmp-config --cflags injects -Werror=declaration-after-statement
which causes builds to fail as the source has variable declarations
after statements (valid in C99 but not C89).
Downgrade this from a fatal error to a warning
PR: ports/292340
Reported by: Robert Blayzor <rblayzor@inoc.net>
net-mgmt/cacti-spine: Update to 1.2.28
Changes:
* When using Ping or SNMP Uptime, host is not always detected properly
* Add Ping Method where connection refused assumes host is up
net-mgmt/cacti-spine: Update to 1.2.26
Changes:
* Errors cam be reported when uptime OID is not present
* MySQL reconnect option is depreciated
* Spine does not check a host with no poller items
* Poller may report the wrong number of devices polled
* Allow users to override the threads setting at the command line
* Allow spine to run in ping-only mode
net-mgmt/cacti-spine: Update to 1.1.25
Changes:
- Spine should see if script to be executed is executable
- Enhance number recognition
- When polling devices, sort by larger number of items first
- Log format may be corrupted when timeout occurs
- Compile warning appears due to GCC flag on RHEL7/RHEL8
- Downed device detection only checks one of the two uptime OIDs
- Compile error appears due to execinfo.h on FreeBSD
- Bootstrap shell script contains some PHP cruft
- Padding is not always removed from the start of non-numeric strings
- Improve SNMP result handling for non-numeric results
- Further improve SNMP result handling for non-numeric results
- Remove check for the max_oids column which has been present since Cacti v1.0
- Minimize Sorting when fetching poller records for maximum performance
- Spine should see if script to be executed is executable
net-mgmt/cacti-spine: upgrade to 1.2.23
Changes:
- Unexpected reindexing occurs when using uptime as the reindex method
- spine does not compile with SQL TLS deactivated
- Spine should prevent the script server from connecting to remote when offline
- Improve Script Server Timeout Logging
- Add SQL_NO_CACHE to Spine Queries
net-mgmt/cacti-spine: update to 1.2.22
Changes/Bug Fixes:
* When polling time is exceed, spine does not always exit as expected
* Spine logging at `-V 5` includes an extra line feed
* Incorrect SNMP responses can cause spine to crash
* Properly handle devices that timeout responding to the Extended Uptime
* MariaDB can cause spine to abort prematurely despite error handling
* Spine should log the error time when exiting via signal
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
net-mgmt: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* @BABOLO <.@babolo.ru>
* Alex Samorukov, samm@freebsd.org
* Alexander Kriventsov <avk@vl.ru>
* Alexander Sulfrian <alexander@sulfrian.net>
* Alexander Y. Grigoryev <alexander.4mail@gmail.com>
* Alexandre Biancalana <ale@biancalanas.net>
* Alexandre Snarskii <snar@paranoia.ru>
* Alexandre Snarskii <snar@snar.spb.ru>
* Alexey Bobkov <mr.deadlystorm@gmail.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey V. Degtyarev
(Only the first 15 lines of the commit message are shown above )
Update to version 1.2.11
* Repeated warnings due to 'Recache Event Detected for Device'
* No error is recorded to log file when database is incorrect
* MySQL retry logic is not working as expected
* When using IPv6 address, segmentation fault can occur due to incorrectly
using IPv4 ping
* When polling results are null, segmentation errors may occur
* When collecting data, spine should be stripping alpha characters from output
Repocopy from net-mgmt/cacti-spine (r419786) -> net-mgmt/cacti88-spine
Multithreaded poller for Cacti written in C
New releases of Cacti are still unable to work with useful plugins like
"GPS Map" and "Network Weathermap".
PR: 219686
Submitted by: Vinicius Zavam <egypcio@googlemail.com>
Approved by: garga (mentor)
Differential Revision: https://reviews.freebsd.org/D11024
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)
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.
It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.
With help: marcus and kwm
Pointyhat-exp: a few times by pav
Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and
a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by: marcus
Approved by: portmgr