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

260 Commits

Author SHA1 Message Date
e0381ec7f6 add nginx agent use python3 2019-06-10 10:58:35 +08:00
b525250942 Merge pull request #232 from SourceDoctor/dhcp-status-fix
fix dhcp-status configfile declaration
2019-05-26 23:56:58 -05:00
e0d1ee3c12 Merge pull request #234 from SourceDoctor/smart_enhancement
Looks good and works here! :)
2019-05-26 23:55:53 -05:00
3ecdc4dfc1 enhance smart to show power_on_hours also 2019-05-23 23:57:56 +02:00
e5d5915868 mdadm config file fix (#233) 2019-05-13 17:55:02 -05:00
b0da8f7ab7 fix configfile declaration 2019-05-09 22:32:54 +02:00
24e4896cf2 Merge pull request #231 from SourceDoctor/dhcp-status_binarypath_config
dhcp-status - seperate binary path configuration from code
2019-05-08 17:54:23 -05:00
c13bacb36d Merge pull request #230 from SourceDoctor/mdadm_support
add mdadm support
2019-05-06 16:36:44 -05:00
dadc369c1c add mdadm support 2019-05-06 21:24:36 +02:00
230c53a3f3 dhcp-status - seperate binary path configuration from code 2019-05-06 19:00:20 +02:00
459f56833b Merge pull request #223 from bestlong/master
remove duplicate code #223
2019-05-06 03:35:15 -05:00
1dacd20d50 Merge pull request #228 from Munzy/master
Added SAS Drive Wrapping
2019-05-06 03:26:15 -05:00
59938039cb Spacing Fixes 2019-04-16 13:57:30 -07:00
935373ee3c Removed Excess Spacing 2019-04-16 13:55:34 -07:00
f69b396c48 Added Wrapper for SAS drives. 2019-04-16 13:50:16 -07:00
d822c899a7 Merge pull request #226 from VVelox/smart-update
SMART monitoring update adding RAID support
2019-03-24 03:56:16 -05:00
544fd8bd6e update the date 2019-03-19 02:58:30 -05:00
8fbfbd5b39 Merge pull request #225 from VVelox/pa-fix
portactivity fixes
2019-03-19 02:53:30 -05:00
503fb9f738 tested and it appears to work properly... documentation updated 2019-03-19 02:25:17 -05:00
bdfd0ceea9 update the guessing to only use smartctl --scan-open and generate with more complex options 2019-03-19 00:40:06 -05:00
38acc2bd3d actually make this work on system not FreeBSD and deal with the bug where a connection may not have a protocol 2019-03-18 03:39:17 -05:00
cb04f8c0ac Merge pull request #224 from VVelox/zfs-fix
ZFS-FreeBSD divide by zero fix
2019-03-17 23:27:46 -05:00
af32f56a74 merge... and update version 2019-03-17 06:07:59 -05:00
658c3c6ead Merge branch 'zfs-fix' of https://github.com/VVelox/librenms-agent into zfs-fix 2019-03-17 06:06:57 -05:00
6564128305 remove unneeded else statement and re-apply patch 2019-03-17 06:02:43 -05:00
3ce06d6def freshly initilized ZFS pulls that are not in use don't have a $data_demand_total 2019-03-17 05:55:33 -05:00
8114d88f91 remove duplicate code 2019-03-16 14:33:31 +08:00
147cb67824 Use os-release whenever possible for the distro script (#220)
Except centos... https://bugs.centos.org/view.php?id=8359
2019-02-12 20:33:05 -06:00
c9a0d2893e Fix: zpool list output changed, incorrect values (#219)
* fix zpool data, output of zpool list -pH changed in freebsd 11

* fix zpool data, output of zpool list -pH changed in freebsd 11

* bump version

* version dump to 2
2019-02-11 16:06:57 -06:00
3a407e3f72 Update powerdns script to json (#218) 2019-01-17 11:44:02 -06:00
ad300c035a various misc fixes for the postfix poller (#112)
* update postfix

* move a few things to reduce the number of changed lines

* move mself to the end

* white space cleanup and another small cleanup of $chr

* use $chrNew instead of $chrC when writing the current values

* more white space cleanup

* replace one more missed instance of iuoscp
2019-01-09 23:41:39 -06:00
c406061401 Fix: InnoDB stat support for MariaDB v10+ (#211)
* mariadb innodb support for v10+

* fix newer innodb insert buffers

* agent mysql to snmp extend
2019-01-09 23:40:40 -06:00
6fdaffa1b2 Added gpsd script for SNMP Extend (#217)
Fixed Typos

Fixed another typo
2019-01-09 23:35:28 -06:00
f54c442d06 Merge pull request #216 from jasoncheng7115/patch-2
Added Proxmox VE Versoin support
2018-12-29 22:17:13 +01:00
1b90904f61 convert the FreeBSD NFS stuff over to JSON and add in lots of sanity (#190)
* convert fbsdnfsclient over to JSON

* Convert the server stuff to JSON and fix the output of the client extend.

* misc. stuff

* lots of cleanup and sanity added to the FreeBSD NFS scripts

* fix the #! line

* update the docs at the top
2018-12-28 20:10:13 -06:00
5be1b168ba JSON SNMP extend for UPS-APC app. (#189)
* add snmp/ups-apcups, a Perl rewrite of snmp/ups-apcups.sh to support JSON

* finish documenting it

* add version and remove units from the returned values
2018-12-28 20:08:46 -06:00
107d72e862 Added Proxmox VE Versoin support 2018-12-25 09:15:22 +08:00
433d744953 Added FreeNAS Version support (#215)
Hi, 

I added FreeNAS version information support, as shown in the figure:

![2018-12-15 11 53 31](https://user-images.githubusercontent.com/30381035/50044886-2329a580-00c5-11e9-817c-b89a8374270d.png)
![2018-12-15 11 53 49](https://user-images.githubusercontent.com/30381035/50044887-2329a580-00c5-11e9-93b4-b140809f84a3.png)
2018-12-16 14:21:00 +00:00
3c4511d987 Merge pull request #214 from dsgagi/patch-1
Fix Debian detection on Proxmox - lsb_release binary doesn't exist
2018-12-14 19:03:01 +01:00
dc3d2673dd Update distro
Remove extra white spaces.
2018-12-14 18:49:58 +01:00
456d2e7672 Update distro
Minor changes to the code, for better output.
2018-12-14 18:47:54 +01:00
5b53ab54c8 Update distro 2018-12-12 16:09:25 +01:00
ff124a1358 add portactivity SNMP extend (#159)
* add portactivity SNMP extend in its initial form

* update for the current json_app_get

* add version to the returned JSON

* add basic POD documentation
2018-11-22 09:04:58 -06:00
a827734c0e CloudLinux distro detection (#208)
Added CloudLinux distro detection, previously CloudLinux got identified as RedHat
2018-10-25 14:19:20 -05:00
8d66211adc Fix package manager detection (#204)
* Fix package manager detection

* use release file for os detection

* Use command to to validate package manager type

* check if exists and the execute permission is granted

* make script more portable
2018-10-25 06:17:42 -05:00
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
381cc2466a fix nginx script indentation (#205) 2018-10-23 07:51:12 -05:00
3dada041e4 Fix binary operator expected error (#203) 2018-10-18 09:37:10 -05:00
ccb244aa09 osupdate script clean up (#199)
- Change script name for simplify of configuration management orchestration scripts.
- Update code syntax.
2018-10-17 17:28:39 +01:00
f0f34b4a2d phpfpmsf script clean up (#198)
- Change script name for simplify of configuration management orchestration scripts.
- Update code syntax.
2018-10-17 17:28:07 +01:00