1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
Jellyfrog
61064dc9fe Cleanup some code (#355)
* Format with isort

* Format with Black

* Fix CRLF

* Format with shellcheck

* Fix some warning

* Fix PHP style

* Dont modifiy check_mk files

* Fixes
2021-03-18 12:24:30 +01:00
SourceDoctor
83c985d270 Merge pull request #213 from Kovrinic/master
Added Ubuntu 14.04 zfs support
2020-05-26 00:17:48 +02:00
Svennd
bafc0ac154 Update zfs-linux 2019-12-10 14:39:07 +01:00
Svennd
eb541450e5 Merge branch 'master' into patch-1 2019-12-10 14:38:03 +01:00
Svennd
dd27e7936d Update zfs-linux
Traceback (most recent call last):
  File "./zfs-linux", line 178, in <module>
    sys.exit(main(sys.argv[1:]))
  File "./zfs-linux", line 92, in main
    DEMAND_MISSES_PERCENT = DEMAND_DATA_MISSES / ARC_MISSES * 100
ZeroDivisionError: division by zero
2019-11-25 11:48:03 +01:00
Frédéric Bourqui
f9f031912c DEMAND_ used instead of PREFETCH_METADATA_MISSES 2019-08-11 10:08:20 +02:00
Frédéric Bourqui
944a209d7f Add support for BSD and Illumos kstat 2019-08-11 09:59:26 +02:00
Kovrinic
166d1022f3 Moved sudo command into the snmpd.conf. Added notes for settings to change if using older ZoL zfs. 2019-04-09 22:04:26 -05:00
Kovrinic
43ab324f65 Added Ubuntu 14.04 zfs support 2018-11-28 21:22:16 -06:00
Félim Whiteley
d49fe954df Add divide by zero check (#191)
On several servers (Ubuntu 18.04) DEMAND_DATA_TOTAL is 0 currently and is causing an error

Traceback (most recent call last):
  File "/usr/local/bin/zfs-linux", line 178, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/local/bin/zfs-linux", line 76, in main
    DATA_DEMAND_PERCENT = DEMAND_DATA_HITS / DEMAND_DATA_TOTAL * 100
ZeroDivisionError: division by zero
2018-10-23 11:46:54 -05:00
voxnil
28a2f8ae55 Update zfs-linux to use env for python 2018-10-15 21:00:16 +01:00
Serphentas
a56adb467a add zfs support for linux (#170)
* add zfs support for linux

* fix pools and anon_hits_per

* strip percent sign for pool cap

* fix anon_hits json key typo

* fix demand_data_hits json key typo

* fix comparison as in #169

* fix min_size_percent
2018-04-11 09:39:32 +01:00