-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pnp4nagios update for php5.6 to php8.0 #10
base: master
Are you sure you want to change the base?
Conversation
other files to make rpm building work better
avoid fontconfig crashes.
note that pid files moved from /var/run to /run, in line with modern linux
remove rrd_convert and rrd_modify, because they do not work for current rrd xml configuration.
file locking is needed for the few times/day when a pair of process_perfdata runs try to update the stats file at the same time; minor but annoying. Updated release version in .spec file
add logwatch config setup spec file update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be broken apart intop smaller changes (Read: It's not just "PHP5-PHP8" migration).
Some ideas for general categories:
- Fix RPM Build from
git
- Various Fedora contribs:
** Logwatch forpnp4nagios
**npcd
system/service/startup configurations and scripts
** Logrotate configuration - Fixes
rpmbuild
fromgit
- File locking for process_perfdata
** Is this actually needed? Is there a race/contention there, right now, between threads?
Note: This also appears to break / change some things / nehaviour in potentially unexpected ways on other platforms. Some examples:
- Should likely remove Subversion tags sich as
$Id$
(in-comments, essentially harmless) - Removes previously used environment variables and adds others
- Hard-coded non-standard (?) directories (eg. /run instead of /var/run)
Overall, I appreciate the contirbution!
It would be nice to break this apart into smaller bite-size quantites, though (all of the Fedora contrib, for example). Most of this isn't a "PHP8 migration," unfortunately.
so have to do it explicitly. Also, set up environment variable XDG_CACHE_HOME in systemd startup of httpd with a plugin
php8.1+ usual complaints about auto-creating arrays
Major changes: update for php8.0
packaging (make rpms easier ... see spec file in dist and README)
file lock in process_perfdata.pl to avoid some errors.
rrdtools needs env setting XDG_CACHE_HOME for fontconfig
Tested on Fedora 35 (php 8.0) Alma 8.6 (php 7.2) and Fedora 22 (php 5.6).