Commit Graph

60 Commits

Author SHA1 Message Date
Nick Hilliard
50210234c1 Use rrdtool_escape() for sensors instead of manually padding text (#9029)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
2018-08-17 21:53:55 +01:00
FTBZ
c80f9726c8 feature: Added new EER and Water Flow Rate sensors (#8104)
* Add new EER sensor

* remove bad RRD option

* add waterflow sensor

* add test data result

* added test json data
2018-01-18 20:50:19 +00:00
bergroth
84fdfdf542 Junos dwdm interface sensor support (#7714)
* Junos dwdm interface sensor support  …
  four new sensors
    Chromatic Dispersion ps/nm
    Delay s (seconds)
    Q_factor (dB)
    preFEC_BER (ratio)

  reuse of
    SNR, dbm, temperature, current

* new dwdm sensors more generic, ber and quality_factor

* new sensors updated

* renamed html graphs new sensors

*  fixed ber polling

* Change to base SI Hz and s.

* update sensor divisors to bigint

* rename sql-schema/216.sql to 218.sql

* YAML junos dwmd sensor definitions, except BER

* bigint divisor fixed

* deafult 1 divisior

* small fixes including schema change for another PR

* schema fix
2017-12-12 20:27:10 -06:00
Neil Lathwood
e751206f74 newdevice: Added more detection for IgniteNet FusionSwitch (#7384)
* newdevice: Added more detection for IgniteNet FusionSwitch

* fixed current graphs descr

* small updates

* small updates recommended by murrant
2017-10-25 08:10:02 -05:00
Neil Lathwood
592e8aca4c newdevice: Added sensor detection for APC In Row RD devices (#7385)
* newdevice: Added sensor detection for APC In Row RD devices

* Update apc.yaml

* Update apc.yaml

* Update cooling.inc.php

* Update pressure.inc.php
2017-09-29 21:13:27 +01:00
Eric Lindsjö
c5acb65b2f fix: Escape sensor_descr_fixed in dBm sensors graph (#7146)
* Escape sensor_descr_fixed so that graphs with ':' in sensor_descr can be rendered

* Remove superfluous calls to substr and str_pad
2017-08-12 21:05:21 +01:00
Tony Murray
20b08cf595 refactor: finish logic and definition separation (#6883)
Clean up rewrites to only have function definitions
Move authentication initialization into a function
2017-07-03 15:38:58 -05:00
Neil Lathwood
d48be5f507 newdevice: Added detection for Cisco EPC devices (#6690)
* newdevice: Added detection for Cisco EPC devices

* updated test file

* added dbm support

* added snr support
2017-05-23 10:28:44 -05:00
Tony Murray
4ae4847a60 fix: Change rfc1628 'state' (est. runtime and on battery) to runtime (#6158)
* fix: Change rfc1628 'state' (est. runtime and on battery) to runtime

* Fix up the graph error ( : in ds name).
Change seconds on battery to minutes so the value is in minutes

* wrong scale for limits

* Don't use snmp_walk
2017-03-12 21:44:24 +00:00
VVelox
7f91fab663 webui: Cleanup white backgrounds on certain graphs 2017-03-02 18:07:55 +00:00
Neil Lathwood
5e349685b3 newdevice: APC in-row coolers 2017-01-07 02:09:41 +02:00
Justin Settle
5355c194a6 Replace \\\\l with \l on GPRINT lines 2016-10-25 09:53:35 -04:00
boudreau
d4f2ed53b3 Create runtime.inc.php 2016-09-19 10:56:17 -04:00
Tony Murray
8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
Neil Lathwood
2aaf9559ea Merge pull request #4016 from crcro/ipmi_rewrites
ipmi sensors rewrite based on known hardware id
2016-08-11 23:37:40 +01:00
crcro
96ed9c072c run rename only for ipmi type sensors, added the power usage sensors, updated rewrite for known hosts 2016-08-10 04:55:30 +03:00
crcro
d5b499bae3 ipmi sensors rewrite based on known hardware id 2016-08-10 00:20:51 +03:00
Tony Murray
57650e4ffc Remove nfs requirement for distributed poller (with rrdtool 1.5+)
Use data_update instead of rrd_update/rrd_create and influx_update
Centralize rrd file check so we can check against a remote rrdcached server too
Use rrd_name() to generate rrd file names
2016-07-07 21:10:06 -05:00
Paul Heinrichs
a13d148fb1 Added Signal Sensor 2016-03-22 10:37:07 -04:00
Paul Gear
0d2949f69e Overhaul use of rrdtool_lastupdate & STACK for rrdtool 1.4/1.5 compatibility 2015-11-15 11:48:39 +10:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Job Snijders
ebd0f6fc35 Apply "Squiz" code style on old (pre-2014) files 2015-07-11 16:12:35 +02:00
Mike Rostermund
e769a4ffc6 Handle case where sensor_limit is not set for sensor_charge graphs 2015-06-25 03:47:20 -07:00
Mike Rostermund
81611babd3 Remove grey area from load graph 2015-06-11 20:59:35 +02:00
Mike Rostermund
cd3c56863b Added a load tab on device->health 2015-06-11 20:31:45 +02:00
laf
57a08a0ade Finished dell rac support and updated mib 2015-05-19 01:04:17 +01:00
mchasteen
c1c26bf831 Added new sensor - Battery Charge. Added discover and polling for APC UPSes. 2015-02-26 19:30:49 +00:00
Adam Amstrong
b273e04241 /// -> //
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
Adam Amstrong
cacf913a55 # -> / for phpdoc
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +00:00
Tom Laermans
cc7f01ee26 more rrdtool_escape goodness
git-svn-id: http://www.observium.org/svn/observer/trunk@3230 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-23 10:37:23 +00:00
Adam Amstrong
f768558e7e fix auth for graphs to allow cidr filter. fix schema 006
git-svn-id: http://www.observium.org/svn/observer/trunk@3169 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-11 15:21:42 +00:00
Adam Amstrong
d52042ba47 cleanups to how graphing works. start using device= for device graphs.
git-svn-id: http://www.observium.org/svn/observer/trunk@3167 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-11 13:26:14 +00:00
Adam Amstrong
8cf5ae5c75 dirty bitch moron files
git-svn-id: http://www.observium.org/svn/observer/trunk@2780 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-14 10:54:35 +00:00
Adam Amstrong
cb7a0d39c7 i don't remember what i changed.
git-svn-id: http://www.observium.org/svn/observer/trunk@2654 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-05 16:22:37 +00:00
Tom Laermans
d864ce234f kill a whole bunch of trailing spaces
git-svn-id: http://www.observium.org/svn/observer/trunk@2516 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 09:55:11 +00:00
Adam Amstrong
3041b03da2 graphs auth.inc.phps to db*
git-svn-id: http://www.observium.org/svn/observer/trunk@2303 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 12:49:23 +00:00
Adam Amstrong
f80ecae2e3 unify sensor rrd filenaming, move to fuction.
git-svn-id: http://www.observium.org/svn/observer/trunk@2168 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-26 15:07:52 +00:00
Adam Amstrong
e7c8b77583 Power discovery/polling enabled for IPMI, CISCO-ENTITY-SENSORS-MIB and ENTIY-SENSORS-MIB
git-svn-id: http://www.observium.org/svn/observer/trunk@2104 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-20 09:59:48 +00:00
Tom Laermans
bb4746d4d0 cleanups, small fixes and remove test-*php from the root
git-svn-id: http://www.observium.org/svn/observer/trunk@1998 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-31 10:51:02 +00:00
Tom Laermans
a14ae7e60a moar cleanup
git-svn-id: http://www.observium.org/svn/observer/trunk@1901 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-17 11:46:02 +00:00
Tom Laermans
730d8405bd correct humidity graphs after DS name change
git-svn-id: http://www.observium.org/svn/observer/trunk@1767 61d68cd4-352d-0410-923a-c4978735b2b8
2010-12-20 21:19:01 +00:00
Tom Laermans
69ce49fe2e rename fanspeed rrds to work like the other sensors
git-svn-id: http://www.observium.org/svn/observer/trunk@1764 61d68cd4-352d-0410-923a-c4978735b2b8
2010-12-16 11:13:53 +00:00
Tom Laermans
06d2a707d5 some sensor unification, rename sensor rrds and rename the DS, add testing IPMI support (no web-part yet) - tested against Intel RMM3 and working. some further cleanups as well.
git-svn-id: http://www.observium.org/svn/observer/trunk@1758 61d68cd4-352d-0410-923a-c4978735b2b8
2010-12-15 17:54:42 +00:00
Tom Laermans
3133a5b2fd fix graphs after r1750, sigh
git-svn-id: http://www.observium.org/svn/observer/trunk@1754 61d68cd4-352d-0410-923a-c4978735b2b8
2010-12-02 18:12:50 +00:00
Adam Amstrong
1b7829ec51 fix unauthenticated graphs via $config['allow_unauth_graphs']
git-svn-id: http://www.observium.org/svn/observer/trunk@1691 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-22 22:12:32 +00:00
Adam Amstrong
0db6ad08ff vastly improved entity-sensors and cisco-entity-sensors speed. improved entity-mib inventory. removed device_id element from oid caches. add min/max ranges to sensor graphs.
git-svn-id: http://www.observium.org/svn/observer/trunk@1669 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-11 17:08:56 +00:00
Adam Amstrong
5facf544d7 high/low range
git-svn-id: http://www.observium.org/svn/observer/trunk@1668 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-11 14:00:12 +00:00
Adam Amstrong
3b5ed3524e autoset thresholds for sensors which don't have them
git-svn-id: http://www.observium.org/svn/observer/trunk@1666 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-11 12:46:07 +00:00
Tom Laermans
316d81da09 Add precision to current graph, sexify fix-port-rrd.php, fix papouch tme precision and lm-sensors description fixing
git-svn-id: http://www.observium.org/svn/observer/trunk@1658 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-10 16:11:10 +00:00
Adam Amstrong
8143340a02 rename merge generateiflink && generate_if_link to generate_port_link, rename generatedevicelink to generate_device_link
git-svn-id: http://www.observium.org/svn/observer/trunk@1624 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-02 22:09:52 +00:00