Zum Inhalt springen
This is inherited 1.2.31 documentation. A supported Kadupul release or migration path is not yet available. Validate procedures before use.

Requirements

Dieser Inhalt gilt für 1.2.31. Aktuelle Dokumentation finden Sie in der neuesten Version.

Noch nicht übersetzte Seiten werden mit einem Hinweis auf Englisch angezeigt.

Based on the inherited 1.2.31 implementation. Check the manifest and installer in the exact source version you use; these lists are not a production support policy.

Component Requirement Absent
PHP Manifest declares 8.1 or newer; use a security-supported version Nothing runs
Database MySQL or MariaDB, InnoDB available Nothing runs
RRDtool A local binary; proxy deployment is not supported No graphs, no storage
net-snmp Command line tools, unless the PHP SNMP extension is present No SNMP collection
Web server PHP as a module or through FPM No interface
Scheduler cron, Windows Task Scheduler, or the shipped systemd unit No collection
Collector The shipped PHP collector, or Spine No collection

Two lists of extensions exist and they are not the same list. The dependency manifest declares what the package requires. The installer checks a different set at run time. Both are given below.

Extension Used for Missing
PDO The whole database layer No database access
pdo_mysql PDO’s MySQL driver No database access
mysqlnd The native driver PDO’s MySQL driver is built against No database access
Phar Archive handling expected by the dependency tooling Package tooling fails
dom XML documents Import, export and data query definitions fail
xml XML parsing Import, export and data query definitions fail
gd Image generation No error image when RRDtool fails, no graph images embedded in reports
gmp Arbitrary precision arithmetic in the bundled SNMP disk scripts Those scripts fall back to floating point and lose precision on 64-bit counters
intl Locale-aware number formatting Falls back to older formatting
json Settings, API payloads, the data input whitelist file Widespread failure
ldap LDAP and Active Directory authentication Only local and web basic authentication
mbstring Multibyte strings in device and graph text Non-ASCII text corrupts
openssl Package signature verification on import, and TLS Signed packages cannot be verified
pcntl Process control. The collector and several CLI tools fork No concurrency
posix User, group and process identity No ownership correction, no ICMP privilege raise
sockets Reachability checks, and the connection to a remote RRDtool No ICMP, UDP or TCP ping, no remote RRDtool
sqlite3 An in-memory working table in the RRD splice tool That tool falls back to PHP arrays and runs slower

gmp, intl and sqlite3 are guarded by a run-time check and have fallbacks. The manifest requires them anyway, so a package build fails without them even though the application would start.

Extension Used for Missing
ctype Character class tests in input validation Validation fails
date Date and time handling Nothing runs
filter Request variable validation Nothing runs
gd Image generation As above
gmp As above As above
hash HMAC and constant-time comparison for tokens Token and CSRF handling fail
intl As above As above
json As above As above
ldap As above As above
mbstring As above As above
openssl As above As above
pcre Regular expressions Nothing runs
PDO As above As above
pdo_mysql As above As above
session Web sessions No login
simplexml XML parsing Import, export and data query definitions fail
sockets As above As above
spl Standard library interfaces Nothing runs
standard PHP’s core function set Nothing runs
xml As above As above
zlib Compressing commands sent to a remote RRDtool Remote RRDtool fails

On Unix the list adds posix and pcntl. On Windows it adds com_dotnet instead.

date, pcre, spl, standard and json are part of every supported PHP build. They are checked so the report is explicit, not because they are commonly absent.

Four names appear in the manifest and not in the installer check: Phar, dom, mysqlnd and sqlite3. Ten appear in the installer check and not the manifest. Satisfying one list does not satisfy the other.

Extension or feature Used for Absent
snmp In-process SNMP Kadupul runs the net-snmp command line tools instead
gettext Translation catalogues English only
TrueType support in gd Text in the generated error image The image renders without text

The PHP SNMP extension can also be switched off in the configuration file while installed. The installer advises against installing it where SNMPv3 over IPv6 is required. Which path a given call takes is in SNMP.

Setting Recommended Status when unmet
memory_limit 400 MB, or unlimited Warning
max_execution_time 60 seconds, or unlimited Warning
date.timezone Any real zone Error. The check fails when it is unset

CLI runs raise memory_limit and max_execution_time themselves. The web interface does not.

The installer’s own version check uses the same 8.1.0 floor as the manifest.

Item Requirement
Engine MySQL or MariaDB
Version The tuning check targets MySQL 5.6 and later, MariaDB 10.0 and later
Table engine InnoDB for persistent tables
poller_output InnoDB. The upgrade converts an existing MEMORY table
Time zone tables mysql.time_zone_name populated
Account grant SELECT on mysql.time_zone_name

An unpopulated or inaccessible time zone table is a hard error at install. The reason is that collection timestamps are produced and converted by the database, not by the device and not by PHP. See Time and intervals.

The installer also reports on a set of MySQL tuning variables. Those are advice, not requirements, and the install proceeds without them.

Item Requirement
Binary Local path set in the settings
Versions selectable 1.3, 1.4, 1.5, 1.6, 1.7, 1.7.1, 1.7.2, 1.8
1.5 or later Needed before DCOUNTER and DDERIVE are offered as data source types

The configured version changes which arguments Kadupul emits. Setting it higher than the installed binary produces command failures rather than a version warning. Details are in RRDtool integration.

The inherited remote RRDtool client uses a TCP connection and needs sockets and zlib. It is documented for reference, not as a supported deployment option. See RRDtool proxy.

Five binaries, each with its own path setting.

Binary Setting
snmpget path_snmpget
snmpgetnext path_snmpgetnext
snmpwalk path_snmpwalk
snmpbulkwalk path_snmpbulkwalk
snmptrap path_snmptrap

Required when the PHP SNMP extension is absent or switched off. Kadupul does not bundle an SNMP implementation of its own.

Expectation Detail
PHP execution As a server module, or through FPM
URL prefix Must match $url_path in the configuration file
Denied paths Sixteen directories ship with .htaccess guards
Rewrite rules None needed

Fifteen of those .htaccess files deny everything, and include/.htaccess denies selected files. nginx and any Apache configured with AllowOverride None ignore those files entirely and need equivalent rules in the server configuration. The list, and the reason each one is on it, is in File layout.

The collector is started from outside. Nothing in the web interface starts it.

Platform Mechanism
Unix cron, or the shipped systemd unit for the collector daemon
Windows Task Scheduler

Start the poller at least as often as the configured collection interval. A one-minute launcher can service a five-minute collection interval; a five-minute launcher cannot meet a one-minute collection interval.

These are checked for writability at install, and on every run when the installation is a remote data collector.

Path Written by
The system temporary directory Several tools
log/ The application log
cache/boost/ Deferred RRD writes and cached images
cache/mibcache/ The MIB cache and its lock file
cache/purifier/ The HTML purifier’s serializer cache
cache/realtime/ Per-session realtime graph files
cache/spikekill/ Spike removal working files

resource/snmp_queries/, resource/script_server/, resource/script_queries/ and scripts/ are checked at install, and on every run on a remote data collector.

rra/ is not in either list and is the one that matters most. Both the web interface and the collector create RRD files there, so both accounts need to write it.

Case Result
The creating process runs as root The new file, and any new directory under a structured path layout, takes the owner and group of rra/
The creating process does not run as root The file takes that process’s own ownership, and nothing corrects it later

An installation where the web interface and the collector run as different unprivileged accounts will produce files one of them cannot update. Nothing reports this; the symptom is a flat graph.

Raw ICMP needs a privileged socket. The ping path raises its effective user id to zero for the duration of the socket and drops back afterwards. Where that is not possible, ICMP is unavailable and reachability has to be checked over UDP, TCP, or SNMP.

No other part of Kadupul requires privilege.

The application manifest declares PHP 8.1 or newer. A manifest constraint is not a tested compatibility matrix. PHP 8.1 is no longer security-supported; choose a version from the PHP supported-version list and verify it with the target branch’s tests and dependency checks.

Lizenz der Dokumentation: CC BY-SA 4.0Lizenz des Website-Codes: GPL-3.0-or-laterKadupul ist nicht mit The Cacti Group verbunden und wird von ihr nicht unterstützt.