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

341 Commits

Author SHA1 Message Date
2cf11d0484 add check_mrpe script (#192)
* add check_mrpe script

* recommit

Co-authored-by: slashdoom <slashdoom>
2020-06-16 23:26:08 +02:00
dc9695641b Application sudo correction (#306) 2020-06-14 23:46:58 +02:00
6b96466473 Add backupninja snmp script (#264)
* Add backupninja snmp script

* jsonify output

* Better codestyle & apply JSON requirements

* Optimize file using redis.py example

* Properly use of the LibreNMS json format

* typo
2020-06-02 17:37:23 +02:00
17ae1ee9e4 Merge pull request #305 from SourceDoctor/remove_not_needed
remove unneeded file
2020-05-30 18:10:55 +02:00
4e1230c10e remove unneeded file 2020-05-30 18:10:16 +02:00
d1424da224 Merge pull request #262 from dlangille/patch-2
zfs-freebsd - Repair percentage calculation
2020-05-30 14:53:33 +02:00
83c985d270 Merge pull request #213 from Kovrinic/master
Added Ubuntu 14.04 zfs support
2020-05-26 00:17:48 +02:00
390051b197 Merge pull request #302 from Privex/privex-pdns-fix
Remove absolute exe for powerdns + use python3
2020-05-23 01:50:18 +02:00
c91ba4d29d Remove absolute exe for powerdns + use python3
- `agent-local/powerdns`
    - Replaced the absolute path `/usr/bin/pdns_control` with `pdns_control`, since pdns_control can also be in `/usr/sbin` or `/usr/local/bin`.
      Python can find the executable using PATH just fine.
    - Changed `vars` to `kvars` to avoid conflicting with the reserved `vars` Python symbol
    - Changed shebang to use `python3` instead of `python` - as Python 2 is EOL.

 - `agent-local/powerdns-recursor`
    - Changed shebang to use `/usr/bin/env` instead of a hardcoded path to Python
    - Changed shebang to use `python3` instead of `python` - as Python 2 is EOL.

**NOTE:** As per https://pythonclock.org/ - Python 2 is end-of-life, and is no longer included by default on modern Linux distros,
along with macOS (OS X).

I would recommend adjusting all Python-based agents to use Python 3 by default, instead of Python 2.
2020-05-22 07:48:00 +01:00
c3ea4d40a4 Merge pull request #287 from AnaelMobilia/patch-1
Fix ssl.SSLCertVerificationError
2020-05-17 19:51:04 +02:00
b04addf9d7 Merge pull request #300 from karlshea/patch-1
Update gpsd
2020-05-17 19:19:05 +02:00
9ea0b20f2d Merge pull request #294 from tbfr76/apache-stats.sh
Fix apache-stats.sh
2020-05-17 19:18:14 +02:00
a9c922d34c Merge pull request #299 from SourceDoctor/redis_agent
Redis Application Agent
2020-05-15 22:05:53 +02:00
e6892ea76d Update gpsd
4s max time limit was causing some timeouts, especially given the two 1s sleeps. Especially with a lot of sentences coming back from the GPS chip it was probably not enough to always catch the right variables.
2020-05-15 01:15:20 -05:00
cdaf20e2c8 Remove comments 2020-05-15 05:18:33 +02:00
c8f31e749e Redis Application Agent 2020-05-14 23:27:47 +02:00
5c5b32dcd8 Fix apache-stats.sh 2020-04-30 21:00:25 +02:00
660ded7ec0 fix: removed double entry for WMV9 codec (#292) 2020-04-22 21:51:17 -05:00
174d94777f add FreeBSD to osupdate (#288)
* Update osupdate

osupdate for FreeBSD

* Update osupdate
2020-04-21 12:30:37 -05:00
94f970c9c9 Merge pull request #290 from AltiUP/patch-1
Change stats file location
2020-04-19 12:32:18 +02:00
103cd5b293 Change stats file location
The stats file should not be placed in /var/run/named but in /var/cache/bind.
In run there will be permissions problems.
2020-04-19 00:02:53 +02:00
7e6b19f26c Make python3 version of Nginx extend the default (#284)
* Rename nginx to nginx-python2, as python2 is EOL

Rename Nginx to Nginx-python2, as python2 is EOL. Shall make python3 version the default version now. Keeping python2 version for legacy.

* Rename nginx-python3.py to nginx
2020-04-12 11:17:16 -05:00
359a7b5630 Fix redundant line 2020-04-08 17:59:44 +02:00
a19293219b Return values to librenms application in order to log the error 2020-04-08 17:59:00 +02:00
bb1d61e2d9 Fix ssl.SSLCertVerificationError
If the certificate is already expired, the script crash.
Fix #286
2020-04-08 11:40:41 +02:00
ca631a3afd Merge pull request #279 from SourceDoctor/pureftpd_Byte_to_bit
Pureftpd Byte to bit
2020-03-21 22:14:12 +01:00
5d9bf9f225 Pureftpd Byte to bit 2020-03-21 22:13:22 +01:00
fe2dfe418e Merge pull request #277 from SourceDoctor/remove_squid_script
remove unneeded Squid parsing Script
2020-02-29 01:12:54 +01:00
80c5bf33e3 remove unneeded Squid parsing Script 2020-02-28 21:33:27 +01:00
0c74ab10ce Completely breaks libremns metric collections, lets actually do the assigment. (#276)
Perl error "Useless use of multiplication (*) in void context at /etc/snmp.d/zfs-freebsd line 163."
2020-02-19 08:08:57 +00:00
a4599dee56 apache-stats.sh: shell script that produces LibreNMS apache application output. The only dependency is curl. (#263) 2020-02-13 06:29:10 -06:00
257aa598f5 mailcow-dockerized postfix stats (#270)
* initial release

* added requirements info
2020-02-13 06:27:36 -06:00
2820e53dbc Added check if sudo is required and alter the $picmd to become "sudo $picmd" (#273)
This will enable the script to run on libeelec images on raspberry pi for example.
2020-02-13 06:27:12 -06:00
9f781d8549 puppet agent monitoring script (#258) 2020-02-12 08:26:12 +01:00
5203c9ec71 Merge pull request #275 from SourceDoctor/mdadm_sync_complete_state
set MDADM sync complete to 0 if on degraded array
2020-02-06 19:16:49 +01:00
652ae62899 set MDADM sync complete to 0 if on degraded array 2020-02-05 23:34:42 +01:00
8330f0a654 asterisk add iax2 stats (#274)
* asterisk add iax2 stats

* fix iax2 unmonitored variable; removed unnecessary newline
2020-02-03 18:46:36 +01:00
7fe4000e54 Merge pull request #271 from fbourqui/fix-useSN
Smart: fix useSN, selftest when disk is defined as a full argument to smartctl (arg after space)
2020-02-03 01:09:18 -06:00
6520489ecc Store Crucial SSD #202 in generic #231 (#272) 2020-01-30 06:03:04 -06:00
3ae29bb40e fix useSN, selftest with disk defined as argument
was resulting in /dev/dev.... parameter to smartctl -l and -i
2020-01-22 11:35:58 +01:00
35373c6119 Merge pull request #1 from librenms/master
Resync upstream
2020-01-22 11:18:23 +01:00
4e64a62844 pureftp snmpd extension (#269) 2020-01-21 18:52:20 -06:00
ad2ca232bb Mdadm - Hotspare Count should not go below zero
Mdadm - Hotspare Count should not go below zero
2020-01-19 11:09:23 +01:00
701a3b937b librenms-agent (1.1.0)
librenms-agent (1.1.0) stable; urgency=low

  - New upstream versions
  - Include SNMP scripts
  - Fix Ceph scripts
  - Fix nginx scripts
2020-01-19 11:07:38 +01:00
f4ff8bde94 Merge pull request #244 from tuxis-ie/fix-ceph-newer-versions
Detect current Ceph version and change statistics commands based on t…
2020-01-19 11:04:35 +01:00
9a782ef4ab Fix zfs-freebsd.py Capacity Output
Fix zfs-freebsd.py Capacity Output
2020-01-19 10:49:50 +01:00
74d6ac09b8 Update zfs-freebsd.py 2020-01-19 10:47:30 +01:00
9f461a5e16 fix $data_demand_percent calculation 2020-01-19 10:40:39 +01:00
736c4ce7fd zfs-linux - fix DIV by 0
Update zfs-linux
2020-01-19 10:37:06 +01:00
3ea93ab4d2 adding space 2020-01-18 21:50:12 +01:00