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

43 Commits

Author SHA1 Message Date
3b9d632a8d hddtemp, ignore devices not supporting SMART (#153) 2017-12-04 20:11:17 +00:00
2996ad88b0 fix: Update mysql (#127)
Update mysql agent script based on updated changes in newest version of Percona Monitoring Plugins (Cacti template).

Changes enable correct parsing of status data for newer versions of MySQL/MariaDB database servers and should be backward compatible with older versions.
2017-10-27 07:39:09 +02:00
6a40ca1e9c fix munin agent (#148)
Without the full munin-scripts path, this script won't find munin file and return nothing.
2017-09-20 20:47:11 +01:00
cc6d7882db Strip all non-ASCII characters from hddtemp output (#136) 2017-06-10 10:20:48 +01:00
f473c5e30c Added try-except checks for global values. (#107)
Fixed an error which prevented output.
It seems some ceph version probably use different values or something. This is a quick fix to have the script output the correct values.
2017-05-23 07:44:05 -05:00
705cc0f3fe add support for SGE/rocks job tracker (#118) 2017-04-18 21:34:05 +01:00
d7085e001c hddtemp: parallelize calls to hddtemp for performance (#117)
This poll script runs hddtemp with a list of all drives as arguments and reads the output. hddtemp scans each drive's SMART status serially, which scales poorly with a large number of drives.

In lieu of a patch to the actual hddtemp project, optionally use GNU parallel when available to parallelize the call to hddtemp.

In testing a machine with 58 drives I went from a runtime of about 5 seconds per run to 0.5s, a performance improvement of 10x.
2017-04-18 21:32:41 +01:00
5f47aad492 hddtemp: improve detection of drives (#115)
Previously, this script was only able to find 26 drives (sda-sdz) due to the use of globbing.

A better strategy for detecting drives would be to use lsblk on systems that support it, failing over to globbing.

This patch adds support both for lsblk and a more comprehensive glob solution with find that will at least catch 26^2 drives.
2017-04-07 07:45:56 +01:00
67bae5a86c fix: Update proxmox agent to use new Perl module (#88)
PVE::API2Client is deprecated in Proxmox 4.4-6. Agent now requires
installation of libpve-apiclient-perl via apt.

This commit fixes #81.
2017-04-06 09:24:36 +00:00
ff6ee0e2bc Fixed correct amount of pipeline symbols when degrees symbol is missing. (#85)
When the script is called through xinetd/check_mk (on my system), there is no degree symbol, but a space.
Changed the script to handle both correctly
2017-02-17 00:46:13 +00:00
3d061d2407 Support python2.6 for powerdns scripts
fixes #67
2016-12-14 16:27:15 -06:00
36ed3f008c Agent: script to collect data from GPSD (#69) 2016-10-08 21:26:07 +01:00
91c251fd94 fix: a dirty hack to prevent failing of stats when the cluster is rebuilding (#68)
because Ceph returns '-inf' which the json decompiler doesn't seem to get..
2016-10-05 09:06:48 +00:00
6128dc3c71 Update hddtemp to include hddtemp -w option (#56)
hddtemp gives inconsistent values in it's current state, after some debugging I was able to resolve the issue by passing -w to the hddtemp command, this will wake-up the drive if it is in a sleep state to gather information.
2016-09-09 07:16:28 +01:00
351e5aa7bc Freeswitch (#53)
feature: Added freeswitch support
2016-08-28 20:06:04 +01:00
9cd81f1b93 Added unbound stats script 2016-08-17 09:36:39 -03:00
760f9de567 /bin/bash => /usr/bin/env bash to allow freebsd agent work without patching each files 2016-07-29 13:23:20 +02:00
dde18e9895 Merge pull request #36 from murrant/powerdns-recursor
PowerDNS Recursor agent
2016-07-26 20:46:20 +01:00
18f4006e09 Merge pull request #33 from murrant/mysql-php7
Use mysqli instead of mysql
2016-07-26 20:45:38 +01:00
9a3846cac3 PowerDNS Recursor agent 2016-07-22 15:33:16 -05:00
c70d12c83c Remove duplicate nfsstats file 2016-07-22 15:22:48 -05:00
bfdf71d699 Merge pull request #34 from murrant/nfs
Copy nfsstats script from main repo.
2016-07-21 22:30:29 -05:00
9501c2f4ff Copy nfsstats script from main repo.
Send PR to remove scripts from the main repo.
2016-07-21 22:28:41 -05:00
fc07e27c37 Fix permissions 2016-07-21 22:26:02 -05:00
e80b025818 Use mysqli instead of mysql 2016-07-21 21:31:25 -05:00
9bad4dfb3e Something like this @einarjh ? 2016-07-13 15:06:57 +02:00
6d27c7edb3 Wrap these calls in an eval to prevent it from dying if its a container instead of a qemu vm. Fixes #28 2016-07-11 17:06:14 +02:00
5b21301ecd Added nfsstats.sh file 2016-07-09 19:12:13 +01:00
d00ce4a15a Merge pull request #29 from murrant/powerdns-python3
Python3 fixes for powerdns agent.  Compatible with python2.
2016-06-30 08:57:07 +01:00
ca5a5a12c0 Python3 fixes for powerdns agent. Compatible with python2. 2016-06-29 19:52:10 -05:00
8328d71c09 Local script to collect stats from rrdcached
Being able to connect to local unix sockets is the primary advantage of this.
2016-06-08 20:37:04 -05:00
8d856e2764 Improved hddtemp agent module
I had some issues with the netcat / daemon implementation of the module.
netcat was stallingor sometimes netcat did not return the full output of hddtemp.
Running hddtemp directly without running it as a daemon is much more stable for me.

This new version also does not give any stdout output when hddtemp is not installed or when no disks can be found.
Running the script manually on a server does give stderr output for easy debugging.
2016-05-05 10:27:30 +02:00
d16462bb5a Add PowerDNS Authoritative Agent 2015-11-23 14:10:15 +01:00
66d502837d Moved mysql tag a bit up and added a newline to error msg. 2015-11-11 14:21:49 +01:00
9b4c3b3400 Add support for Ceph 2015-11-10 10:58:24 +01:00
30b7651e01 Crap, forgot this line... 2015-11-04 14:40:19 +01:00
65540872e7 Fix the proxmox-agent for Proxmox VE 4.0 2015-11-04 14:30:21 +01:00
2b96259532 Add license 2015-08-28 10:52:04 +02:00
fee2ed820b Add proxmox-agent 2015-08-28 10:49:19 +02:00
87a20db845 Merge pull request #5 from tuxis-ie/master
Add files to create a Debian-package
2015-08-20 17:14:11 +00:00
63d31665ce Fix MySQL Host Logic 2015-08-18 15:08:50 +00:00
2b4d17280d Strip comments (on Qemu boxes, this pollutes a lot 2015-08-17 16:57:48 +02:00
f0o
195a46c1e3 Initial commit 2015-05-18 10:58:01 +00:00