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)
* doc: Complete the 1min polling documentation for performance
* doc: Complete the 1min polling documentation for performance
* doc: Complete the 1min polling documentation for performance
* refactor: speed up is_valid_port()
Convert is_valid_port to Config
Several Config optimizations
Update documentation
* fix getCombined() when os key is not set, but global is.
Add more tests
* feature: Allow ignore_mount, ignore_mount_string, ignore_mount_regex at OS level
* Change the storage settings to override global instead of merge.
Add documentation
* feature: Improve yaml state discovery
Handle state values that are returned as strings instead of int
Synchronize state values for existing state translations so we can change them without creating a new translation and losing historical data
More extensive/verbose yaml discovery phpunit tests
dbBulkInsert, use the first entry instead of requiring the first entry to be at index 0
* Update sensor state documentation
re-order values for better readability
remove os check
Use snmpwalk_group since it is more flexible
* Add some more debug output in dynamic discovery
removed all references to 'distributed_poller_host' as it's not used in any librenms code, and documentation doesn't actually document what it does or is for.
* Added limited support for ASA using emblem logging
* Updated documentation
* Updated ASA support to cover regular and emblem logging
* Gave the variable a more suitable name
* Removed debug output
* Update IRC-Bot.md
* Update IRC-Bot.md
would like 'Systemd start up script' to be bold type as I don't know how to do it via this editor
* Update IRC-Bot.md
* Ignore docs/
* Fix indenentation
YAML's pretty strict
* Remove static anchor names
Markdown does this automatically for us
* Tabelize entities
* Remove tildes
They don't do anything
* Renamed to index.md
* Remove backticks for headings
* Switch output format
text -> json
* renamed to index.md
* Removed `top` links
Cause TOC generation problems. A theme-wide `top` button would be more
appropriate
* Use [TOC]
Automatically generates everything
* Wrapped routes in backticks
* Moved logs around a bit
* Revert already pulled commits
* Ignore docs/
* Fix indenentation
YAML's pretty strict
* Remove static anchor names
Markdown does this automatically for us
* Tabelize entities
* Remove tildes
They don't do anything
* newfeature: ability to edit default alert template
* Fix style errors
* Added missing db query
* Removed unnecessary code, and added faq section
* Minor documentation about default alert template. And put back wrongly removed lines
* Fixing the silly old mistakes... again
* 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)
* Update Applications.md
C.H.I.P. power stats script setup
* Update Applications.md
Short description and link
* Update Applications.md
Added download link (will work when agent PR is approved)
* SSL config docs
Moving from https://github.com/librenms/librenms/pull/6932 to a new file
* rename to match other docs
* tidying the formatting
* update to add SSL-configuration
* tidied up docs a little
* feature: parallel snmp-scan.py
Reduces scan time of a /24 from 5 minutes to 14 seconds
Work is done by addhost.php
Just tries to addhost.php hostname/ip right now
Might need some more complexity added there, but I wasn't sure what.
* respect autodiscovery.nets-exclude
* Improvements in ip handling and output
Add compatibility arguments so it can be used as a drop in replacement for snmp-scan.php
* tidy
* Handle errors from config_to_json.php
* Handle Ctrl-C better. This is likely to get hit when someone scans a /16 or larger or an IPv6 network :)
* Move undefined outcome to proper location
* remove snmp-scan.php
* feature: Added support for sensors to be discovered from yaml
* added discovery definitions
* Updated docs, more code updates + tests
* removed the oid_name use
* pre-set variable from scrut output
* small updates as per comments in pr
* Allow index in descr
* Added ability to skip values
* Check for numeric values
* small update of oid name
* Enable secure cookies for authentication
Enables secure cookies for authentication when HTTPS is used.
* Add line with example secure session cookies
* Fix comment line that's too long
* Remove session secure cookie config
* Added secure cookie config to init.php
Commented out because having this enabled will prevent the server from sending cookies over HTTPS.
* Enable secure cookies if config value provided
* Make code formatting consistent
* Remove secure cookie config
* Use $config['secure_cookies'] to set cookies
* Add default option to turn secure cookies on
* Fix formatting issues
* Set secure cookies to default to false
* Add info about secure cookies
* Fix formatting
* Remove trailing whitespace
* move secure cookie default config to defaults.inc.php
* Remove trailing whitespace
* Fix formatting
* Remove empty line by rrd config
* Remove whitespace
* Fix the Ubuntu 16 rrdcached config
Missing user and group to run as and the -R option
* Create RRDCached.md
Add write threads in case users need to tune performance (4 is the default)
* Update FAQ.md
Added User info for Normal User and Global user along with Demo User.
* Update FAQ.md
tried to fix link :/
* Update FAQ.md
Noob trying to link faq.
* Update FAQ.md
* Create FAQ.md
trying to fix the links.
* Create FAQ.md
* Handle basic CTCP-support
* Add an option to toggle ctcp on and off in the config
* Fix whitespace-issue
* Fix null/NULL
* Updating docs, default config and fixing a few whitespace-issues
* Fixing the last whitespace-issues. Now with "pre-commit.php" as a standard...
* Ask people to contribute documentation
* Ask people to contribute documentation v2
Revised wording, also s/Git Hub/GitHub/ and misc acronym capitalisation.
* Update FAQ.md
* Allow irc-users to be authenticated by hostmask i config.php
* Fix some whitespace and a small typo
* Refactored the code a bit. Checking if user is already authd before matching on hostmask
* Updating docs
* Add missing " to docs
* feature: Added script (scripts/test-template.php) to test alert templates
* moved remaining functions, fixed php 5.3 and include dir
* added docs on use for test-template script
* refactor: OS discovery tests are now dynamic
All that needs to be done now is supply snmprec files with the proper name. os.snmprec or os_description.snmprec
I also tweaked the loading of yaml files to speed up the tests substantially.
Verifies all os have at least one test and all snmprec files are tested.
* fix typo
* add BIND named poller
* add BIND named graphs
* add BIND stuff
* add the color pallete used by this
* add app support
* white space cleanup
* document the bind stuff
* expand the linux package stuff a bit
* note the agent and zero_stats value
* now include the $mib stuff
* white space cleanup
* whoops, add the update app bit
* correct a error added when merging
* readd copyright info
* note myself in the copyright info
* feature: Wireless Sensors
Includes client counts for ios and unifi
Graphing could use some improvement.
Alerting and threshold ui not implemented
WIP: starting OO based wireless sensors.
Class based functionality working
remove old functional files
add schema file
discovery needs to be enabled, not polling
fix up schema
fix Unifi discovery not returning an array
Add some debug when discovering a sensor.
Fix style.
Add missing semicolin
Add a null object (Generic) for OS.
Fill out some phpdocs
Re-organized code
Each sensor type now has it's own discovery and polling interface
Custom polling tested with Unifi CCQ
Left to do:
Implement UI (Graphs and Custom thresholds)
Alerting
Testing
Fix event message text
Remove runDiscovery and runPolling from OS, they are unused and don't belong there.
Cleanups/docs
Missed this file.
Remove the requirement to fetch the current value to check validity.
Do that automatically if current is not specified
A few cleanups here and there
First pass at graphing.
device_ and wireless_ graphs added.
Add RouterOS support
Singleton OS instance isn't required right now.
Remove that to allow some memory to be freed.
Add wireless to the device list metrics.
Make all metrics clickable
Tweak graphs a bit
Implement limit configuration page.
Use sensors page as common code instead of duplicating.
Clean up some javascript interactions: Allow enter on values to save. Cancel if update is not needed. Enable the clear custom button after setting a custom value.
Add some wireless alert rules to the library.
Add documentation.
Add unifi client counts by ssid in addition to radio.
Optimize Sensor polling a bit.
Add HP MSM clients support (for full controller)
Fix function accessibility
Formalize the discovery and poller interfaces.
Add Xirrus clients and noise floor
move module interfaces to a more appropriate place.
push caching code up to os, unsure about this do to the limitations
No point in selectively enabling wireless discovery. We only discover if the device supports something.
Add RSSI, Power, and Rate.
Add these sensors for Ubnt Airos.
Clean up some copyrights.
Reduce the amount of files need to add new types.
Leave graph files for consistency and to allow customization.
Remove the old wifi clients graph completely.
ciscowlc should have improved counts (total and per-ssid)
Schema didn't get added.
Impelement the rest of the AirOS sensors
Reformat and re-organize the Airos.php class.
Add several UBNT AirFiber sensors
A few fixes add links to the section headers
Add HP MSM mibs.
* Schema file got dropped in rebase.
* Add wireless menu to view sensors across all devices.
Icons in the menu need help :/
* Add HeliOS, Mimosa, and Siklu support
Sensors added SNR + Noise
* Add power and utilization to Unifi
* Update polling to prefetch all sensor data in a few snmp requests as possible
* Add Extendair: tx+rx power, aggregate rate, frequency
* Add a check for duplicate sensors in discovery. Just print an error for now.
* Add Bit Error Ratio (named error-ratio to allow for bit error rate to be added if needed)
Fix an incorrect link in the wireless sensors table
* Add error rate and change all bps and Hz to use si units
* Fixes to limits and frequency display
* Fix overview graph frequency display
A few decimal place tweaks
* Don't allow switching sensor and wireless-sensor graphs, it doesn't work.
Change individual distance graphs to use si units
* Go through the OS and make sure I got all the sensors I can (probably missed some still)
Because pollWirelessChannelAsFrequency() is generic and a little complex, so pull it up to OS.
Message to help developers adding supports that don't return an array from discover functions.
* Fix some issues
* Remove noise and signal for now at least
A couple more fixes
Add a notification
* Oopsie
* Bonus AirFiber sensors
* update
just realized the pull script is a bad idea. not really portable. no
nfsv2 stats for centos 7+
* some php errors
* fixed v4ops
removed nfs-server.sh, as only cat /proc/net/rpc/nfsd is needed as an
extend.
* split rrd
split rrd to store and pull them seperatly
* scrutinizer-ci fix
scrutinizer-ci fix
* phpcbf
* messed up
* stuck, please ignore
* applied reviews murrant suggestions
applied reviews murrant suggestions
* dirty scope
dirty scope was the issue
* style fix ?
* style PSR2
* file handle chart
* fixed style + added documentation
* applied review tasks by murrant, thx murrant!
* applied laf's review, also added tabs in the view to reduce the amount of graphs per page
* opengridscheduler job tracker
* wrong copy of file
* applied laf's review. Thx laf!
* now including the modified files; thx laf for the review!
* Update Applications.md
* fix: Allow line returns in snmprec files with the 4x data type
Fill in IOS data files
IOS-XE discovery fails, fix that
* Restore IOS-XE, unsure if it can be removed
* api: API allow cidr network searches of the ARP table
* Allow non-encoded / in request
I also noticed that all is allowed to be called without device, which the sql query does not support.
* Add support for custom MySQL unix-socket
* NULL must be lowercase!
* Naive edit of html/install.php
* fixup
* Refactor dbConnect
Use it everywhere
* $config needs to be global
Don't need to set $database_link
* small cleanups
* feature: bind user for active_directory auth
Optional, allows the use of "remember me", API, and alerting.
* missing global (but still may not be working)
* always return a value from reauthenticate()
* Make sure the ldapbind credentials are correct on reauth.
Do not send output if they are incorrect (use d_echo) this breaks ajax calls, etc.
Add scripts/auth_test.php, to make it easier to debug authentication.
* Refine auth_test.php a bit more
A few small cleanups in other places of the auth
* Add auth_test.php to docs
Some more improvements in the auth_test.php output.
* Update Authentication.md
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.
* Initial support for graphite
* Enable graphite include
* fixed typos.
* Fixed port naming to graphite metric names
* Added documentation for Graphite
* added documentation for graphite
* fixed style
* replace / with _ in interface names for graphite
* sets default graphite port
* adds rrd-name tags to the metric, otherwise metrics get lost
* add suggested storage schema for graphite
* add whitespace
* Updated to show some output
* bad english
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.
* remove small typo
* alphabatize index
* sort everything
* Move agent back down to the bottom
And add a separator.
* Fix my mess up
* Create Agent-Setup.md
* Update Applications.md
* Update mkdocs.yml
* Remove agent setup content from this page.
* add single pool based poller for php-fpm
* add the page for php-fpm
* add graph for php-fpm
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
* use named OID as suggest by @laf
* document PHP-FPM monitoring
* link it in the index
* clean up the named oid
* add how to grab the script in question
* add f2b poller
* add f2b app page
* add f2b graph
* add fail2ban notes
* minor formatting cleanup
* ...more formatting cleanup
* rename it so it can be called via the app page
* Revert "rename it so it can be called via the app page"
This reverts commit 0bde88a038.
* *rename it so it can be called via the apps page
*setup the apps page to call it
* renamed the graph
* now include fail2ban in the apps properly
* correct the wget command so it does not stomp on phpfpm-sp
* update the fail2ban poller for the newest fail2ban script and now build multiple RRDs
* update for now graphing firewalled and banned
* update fail2ban docs to match the newest snmpd extend method
* search automatically for jails and graph them
* graphs the currently banned for a fail2ban jail
* change the tital of the graph for the total banned to make it more descriptive
* Add a explanation of the two variables in the total graph.
* misc. white space cleans ups
* misc. white space cleanup
* minor white space cleanup
* correct descr lenght
* correct descr lenght
* Update fail2ban.inc.php
* Use rrd_name properly
* note the cache file bits
* make caching optional and note why
* Update to new RrdDefinition class
* And the use statement ;/
* Messed the second rrd_def
* correct two minor errors that did not seem to be causing issues
* don't use $vars as per pull #5994
* don't use $vars as per pull #5994
* fix jails graphs
* Remove loops and temp variables
* whitespace
* Change graph so we don't get fractions
* add the common nfsen channel include
* add nfsen channel flows graph
* add nfsen channel packet graph
* add nfsen channel traffic graph
* update nfsen for channel support
* the nfsen general page
* add the nfsen channel page
* update the docs on nfsen to be more clear about configuring it
* white space cleanup
* white space cleanup
* misc code cleanup
* now consistently uses all the same quotes
* minor code cleanups
* Update nfsen_channel_common.inc.php
* minor white space cleanup
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
* Remote monitoring using tinc VPN
* Added 2 # command-pefixes
* Add bash source code highlighting
* Updated file name + some commands
* update docs
* Add a title for the RANCID section
* add single pool based poller for php-fpm
* add the page for php-fpm
* add graph for php-fpm
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
* use named OID as suggest by @laf
* document PHP-FPM monitoring
* link it in the index
* clean up the named oid
* add how to grab the script in question
* add f2b poller
* add f2b app page
* add f2b graph
* add fail2ban notes
* minor formatting cleanup
* ...more formatting cleanup
* rename it so it can be called via the app page
* Revert "rename it so it can be called via the app page"
This reverts commit 0bde88a038.
* *rename it so it can be called via the apps page
*setup the apps page to call it
* renamed the graph
* now include fail2ban in the apps properly
* correct the wget command so it does not stomp on phpfpm-sp
* update the fail2ban poller for the newest fail2ban script and now build multiple RRDs
* update for now graphing firewalled and banned
* update fail2ban docs to match the newest snmpd extend method
* search automatically for jails and graph them
* graphs the currently banned for a fail2ban jail
* change the tital of the graph for the total banned to make it more descriptive
* Add a explanation of the two variables in the total graph.
* misc. white space cleans ups
* misc. white space cleanup
* minor white space cleanup
* correct descr lenght
* correct descr lenght
* Update fail2ban.inc.php
* Use rrd_name properly
* note the cache file bits
* make caching optional and note why
* Update to new RrdDefinition class
* And the use statement ;/
* Messed the second rrd_def
* correct two minor errors that did not seem to be causing issues
* don't use $vars as per pull #5994
* don't use $vars as per pull #5994
* fix jails graphs
* Remove loops and temp variables
* whitespace
* Change graph so we don't get fractions
* feature: Allow customisation of rrd step/heartbeat when creating new rrd files
* revert defaults
* added docs + webui config option
* Move RrdDefinition to an Object to make them easier to create and remove the possibility of typos.
* Fix style/lint issues and missing use statements
* 3 more missing use statements
* updated doc + moved schema file
* add single pool based poller for php-fpm
* add the page for php-fpm
* add graph for php-fpm
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
* use named OID as suggest by @laf
* document PHP-FPM monitoring
* link it in the index
* clean up the named oid
* add how to grab the script in question
This wasn't working, as relevant config options were missing. Also, statistics-interval: 0 just dumps stats to the log, if someone decides they want to do it; ok. It has no influence on functionality.
* feature: Added ability to switch port polling mode
* update, speed things up slightly by walking certain tables
* more fixes
* updates
* updates
* update to exclude ports that are down
* wrong variable used
* update to set previous port status when null
* small update to port disco
* New event log severity model
* Revert "New event log severity model"
This reverts commit 0783527af8.
* Added hardware information through snmp extend
* formatting
* Added some documentation in the examples
* changes
* formatting
* removed the mib reference
* Adding location based filter for api-device calls
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
* configured linting etc, now pr should pass
* rebase and add entry to docs
These are often wider than icons, with a fallback to icons if the logo is not present
Logos are stored in /html/images/logos
SVG is preferred for HiDPI
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
* feature: Add support for SVG images
* docs: Add instructions for adding OS images
* Replace PNG os images by SVG
* fixes#4946
first try, should be checked first
only discovery first
* add OS modules status indication
* add debug output
add os poller module support
* fix some whitespaces
* fix missing semicolon
* fix some whitespaces
* Modify the modules page
It now shows unset for unset device settings.
Also, `$os_module_status = $config['os'][$device['os']]['poller_modules'][$module];` doesn't work like you would expect. Fix that behavior.
* Fix mangled tabs
* optimize debug output
add docs
* text highlighting
* Streamline docs #1
* Update docs
* Spell out Global, OS, Device.