* refactor: convert validations to modules to prep for gui integration
* accidentally dropped, schema update
* fix accidental output to webui
* mention discovery-wrapper.py and re-arrange.
* refine some fix statements
* rename the Config validation group to Configuration.
* fix some scrutinizer issues
remove as many local functions from validator.php as possible
move extensions from pre-check
remove duplicate timezone check
looks like there is some db schema differences between mariadb 10.1 and 10.2, investigating
* mariadb version diff take2
* Check schema version first for database.
Remove stop to go back to command line for install docs.
Add helpful link when there is no devices added to /addhost
* fix incorrect validation for empty string defaults
* Fix style
* Add additional file permissions checks
* catch exception and fail for invalid timezone
Change visuals a bit.
* add php version warning
* fix space
* fix: Erros in the documentations for CentOS 7
* fix: Erros in the documentations for CentOS 7
* fix: Erros in the documentations for CentOS 7
* fix: Erros in the documentations for CentOS 7
* Some corrections to make docs work as intended.
* re-add httpd_execmem for nginx
Try to group things that go together
prevent repeat actions such as running yum/apt
The only reason to return to command line after install.php is to check validate.php.
(The future is to move most validation to the web ui)
* Allow host renames with selinux enforcing
you have to change the fcontext of /opt/librenms/rrd/ to allow read/write.
* Update Installation-CentOS-7-Nginx.md
Changed to add semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/rrd(/.*)?' to complete the selinux change.
* Update Installation-CentOS-7-Apache.md
* Refactor remove use of pear Net_IPv4 and Net_IPv6
Caution, I added tests to test the functionality of the new functions, but I'm not 100% certain the replaced usages match 100%. Please test.
Left usage in generate-iplist.php because I'm not sure the use of that script, so I didn't want to implement additional functionality to support it.
Add support for ipv6 fo ipInNetwork() function
Add phpdocs to functions
Remove accidental inclusion
Use binary operations instead of string for networKFromIp()
Tidy up binary operations in ipInNetwork()
tidy parsing cidr network
Change to a class based implementation.
Update phpdocs.
Fully catch exceptions for hex parsing.
Fix mistake.
support older phpunit versions
Fix php shifting to negative with php 5
* Fix graph authorization. Uncaught exception and checking an ipv4 against an ipv6 network == fail.
* Also remove colons from hex strings.
* Fix typo in bgp polling
Two passes of removing invalid characters from hex strings. (That way we don't mangle valid IPs)
The -p option is not needed by the default installation of mariadb-server on CentOS Linux release 7.3.1611 (Core)
Including it without knowing to press enter for no password results in an authentication error:
root@netmon ~# mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Alternatively, it could be noted to leave the password field blank when asked.
php-fpm runs as the apache user, add it to the librenms group too.
Changing the user of php-fpm breaks other things, so this is the better fix
Primarily broken when using rrdcached.
With SVG introduced, the icons for hosts are broken. The pattern match has been revised to support more image formats, including SVG. This resolves the icons showing up as broken images when running lighttpd.
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md
* initial work to standardise collation
* more updates
* final bits for collation update (famous last words)
* Rename 165.sql to 166.sql
* Update schema version inside 166.sql
* moved schema file 166->171
I only really ordered the top level nav and installation, others could be customized if desired.
Shorten the header to LibreNMS Docs, so the menu stays nice on smaller screens, maybe even should shorten it to LibreNMS
Add some links on the index.md page