* Handle unknown device_type's.
If a device is not one of the default configuration, add its type to the
list and make it selected. Add 'Other' only as a fallback.
Signed-off-by: Marcus van Dam <marcus@marcusvandam.nl>
* fix whitespace
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Convert LastSync date for oxidized config info. Add format in settings.
* commas and spaces fix
* commas and spaces fix2
* fixed time if oxidized returned null
* commas and spaces fix
* datetime format fix
* UTC is already in the string
Co-authored-by: Tony Murray <murraytony@gmail.com>
* removing $graphs global
* remove unused things
* fix some additional graphs
* Fix graphs persisting too soon
* correct name for poller module performance graph
* only one type of graph is used here
Was not properly formatting to user's timezone
Also handle the case where the browser and server timezone don't match
don't show incorrect values in dialog then pop to the correct ones.
Update title on modal to be appropriate
* Device Availability Calculation
* Travis fix
* .
* schema corrections
* flexible duration
* travis
* .
* .
* .
* .
* remove not needed code
* line Text to RRD
* update humantime
* .
* only set up again if device was marked as down
* set RRD area transparency
* save uptime also, to keep last availability as good as possible
* file description correction
* look for outages even if uptime > duration
* Added Device Groups panel on Overview tab
* spaces and commas fix
* added color in group name
* spaces and commas fix2
* fix3
* fix attempt 4
* change text color to preexisting class
* change text color to preexisting class v2
* rename title
* capitalize
* rename title again
* title, title... again
* Don't call clean() on the inputs to the SNMP settings form, it'll call
strip_tags() and break values with angle brackets in.
* Call htmlspecialchars when outputting DB values to HTML instead
* Escape other stuff that should have been validated elsewhere, just in case
* Added discovery and graphing for JunOS (SRX) RPM probes
* Proposed changes for a percent based sensor type
* Fixed missing MIB declaration in JunOS YAML discovery file
* Updated Health-information.md to reflect the new percentage value type
* Added separate test data for junos_rpm type
* Update sensors.php
* Update sensors.php
* Update functions.inc.php
* test re-run
* Update junos_rpm.json
* percentage -> loss
* add ifSpeed prev test data
* mis-merge
* update sensors
* and bgp...
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Ping only device doesn't display
if os was set to something, ping os wasn't loaded and we try to get overview graphs from it.
* Fix snmp_disable device page load error
When other os is set.
* Revamp os setting loading
the only safe way to access is Config::getOsSetting()
* Remove getOsSetting fallback behavior
Most instances don't use it and it can have unexpected results Config::getOsSetting('blah', 'group') == 'librenms'
* refactor and remove unneeded load_os/loadOs calls now since getOsSetting automatically loads it.
* restore unix overview graphs, they are different
small cleanups
* fix
* Update addhost.inc.php
bugfix: push snmp v3 user settings to the front of the config array and not the back.
To reproduce the bug:
Force add new snmp v3 device.
The v3 settings added to the database will not be the same as entered in the webpage
* Update addhost.inc.php
Minor change in order to trigger travis build