* Created add, edit, remove location and edit, remove services to the v0 API and added their corresponding routes
* Changed repeating code by adding a function that checks for missing parameters
* Reduced the lines of add_service_for_host, modified a little more the missing fields function
* Changed True and False to true and false, erased an unused var called $missing
* Solved merged confict
Deleted duplicate functions generated when solving merge conflicts
* fixed more conficts
Deleting duplicate entries produced by trying to solve a merge conflict
* fixing more duplicate functions
This merge conflict created more duplicates
* Update api_functions.inc.php
* Update api_functions.inc.php
* Update opnsense.yaml - too add discovery method
Update opnsense.yaml for new OPNsense OID called version.
This will help with detection after the user turns on "Display Verion in OID" within OPNsense
* Re-order to reduce snmp-scan.py time
First, check sysDescr for OPNsense. Then if sysObjectID is 1.3.6.1.4.1.12325.1.1.2.1.1, run an snmpget
* Create opnsense_1.snmprec
Make up test file since data was not supplied
Co-authored-by: Tony Murray <murraytony@gmail.com>
* more verbose fallback output detail
* update if statemen
* Switched
Sorry, I typed them backwards :D
Co-authored-by: Tony Murray <murraytony@gmail.com>
* device search by (valid) ip address
* add device_ip & not empty conditions to search results
* updated comments
* spaces after commas
* search ip and overwrite_ip for name based searches, too
* Added add and remove parents for device from the V0 API
* Fixed some minors errors (white spaces and lack of them, an unnecesary else)
* Added missing }
* Reducing cognitive complexity
* Further reduced cognitive complexity and added a check if parent device existed (it blew up when it did not)
* Refactored the code and fixed bugs (that i created) when deviceIds or parentIds where nonexistent
* Fixed } not on a new line issue
* Empty space removed
* Deleted lines added by mistake to composer.json
* removed a comma that broke composer.json
* added the missing element in composer.json
* Added optional ids to del_parents_fom_host
Updated del_parents_from_host() so it can accept parent(s) id(s) to delete, if none given it deletes all it's parents.
* Fixing code issues on del_parents_from_host
Refactored and solved small issues with del_parents_from_host
* Refactored code del_parents_from_host
Refactored del_parents_from_host() in order to comply with the projects standard
* Added one space
Added missing whitespace
* refactoring for better readability
Hello,
If you follow the original Rumi config, the path to the binaries are not changed, so you cannot do php -v after the yum install line.
If you install the yum-package-manager then apply the repo, all php packages become rumi php packages.
I hope the yum install line is correct, as i've tried to edit it and i hope i didnt miss any packages.
* All of the images in html/images/manifest.json 404 because the src specified was relative
* The resulting URL was /images/images/android-chrome-192x192.png (which does not exist). The files are in /images/.
* This fix adds a leading / to the src members, which effectively uses the correct path (e.g. /images/android-chrome-192x192.png)
* For reference, when using web manifests for icons, https://developer.mozilla.org/en-US/docs/Web/Manifest/icons
"If src is a relative URL, the base URL will be the URL of the manifest."
* librenmsv1.blade.php uses asset('images/manifest.json'); many other blades use it. This fix applies to all of these views.
/opt/librenms/resources/views/about/index.blade.php
/opt/librenms/resources/views/auth/2fa.blade.php
/opt/librenms/resources/views/auth/deny-demo.blade.php
/opt/librenms/resources/views/auth/external-auth-failed.blade.php
/opt/librenms/resources/views/auth/login.blade.php
/opt/librenms/resources/views/auth/public-status.blade.php
/opt/librenms/resources/views/device-group/create.blade.php
/opt/librenms/resources/views/device-group/edit.blade.php
/opt/librenms/resources/views/device-group/index.blade.php
/opt/librenms/resources/views/layouts/legacy_page.blade.php
/opt/librenms/resources/views/locations.blade.php
/opt/librenms/resources/views/settings/index.blade.php
/opt/librenms/resources/views/user/authlog.blade.php
/opt/librenms/resources/views/user/create.blade.php
/opt/librenms/resources/views/user/edit.blade.php
/opt/librenms/resources/views/user/index.blade.php
/opt/librenms/resources/views/user/preferences.blade.php
/opt/librenms/resources/views/vue.blade.php
/opt/librenms/resources/views/map/device-dependency.blade.php
* Default alert rules remove Devices up/down
removed the Devices up/down as the default alert rule. This can be confusing to new users. We already have the alert for SNMP and one for ICMP defaulted.
* Update alert_rules.json