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

517 Commits

Author SHA1 Message Date
Zane C. Bowers-Hadley
877a6f3d86 Merge pull request #515 from EdwinHoksberg/feature/add-opensearch-options
Add secure(-S) and disable hostname validation(-i) options for opensearch script
2024-05-05 20:39:41 -05:00
Zane C. Bowers-Hadley
1760c4ee0f Merge branch 'master' into feature/add-opensearch-options 2024-05-05 20:36:47 -05:00
Zane C. Bowers-Hadley
3990c537d7 Merge pull request #517 from Marco-Valle/master
Add HTTPS with CA file and Authorization header from file for opensearch script
2024-05-05 20:30:28 -05:00
Marco Valle
5dac45c386 Authorization header from file implemented. 2024-04-28 18:58:30 +02:00
Marco Valle
68da0b47cd HTTPS and CA file validation implemented. 2024-04-28 18:50:24 +02:00
Edwin Hoksberg
716519db95 [add-opensearch-options] Add secure(-S) and disable hostname validation(-i) options for opensearch script 2024-04-23 14:49:08 +02:00
Zane C. Bowers-Hadley
80d6ac6642 Merge pull request #512 from VVelox/poudriere
add extend for monitoring Poudriere
2024-03-26 17:07:18 -06:00
Zane C. Bowers-Hadley
e5ec0480e6 a few minor tweaks 2024-03-26 17:55:27 -05:00
Zane C. Bowers-Hadley
b3e8132e84 gatcher info on build stage 2024-03-25 20:41:30 -05:00
Zane C. Bowers-Hadley
6562441fbe initial add for poudriere 2024-03-24 20:20:57 -05:00
Zane C. Bowers-Hadley
ceef8c4d71 Merge pull request #509 from glance-/bash-memcached
Add a plain bash version of memcached helper
2024-03-13 00:03:31 -06:00
Zane C. Bowers-Hadley
9645624607 Merge pull request #511 from VVelox/morenfs
Uses libxo on FreeBSD and fix some things not working on Linux.
2024-03-12 21:39:21 -06:00
Zane C. Bowers-Hadley
b5edc44ce8 fix linux stuff 2024-03-12 22:34:48 -05:00
Zane C. Bowers-Hadley
0b3531e1cc massively re-work it and clean it up 2024-03-09 16:46:40 -06:00
Zane C. Bowers-Hadley
d1d4ae7711 begin re-working nfs stats gather... freebsd done now for Linux 2024-03-09 11:21:19 -06:00
Zane C. Bowers-Hadley
29bccd464e now null for not found and more cleanup 2024-03-07 19:20:31 -06:00
Zane C. Bowers-Hadley
682b9b965a Merge pull request #510 from VVelox/nfs_update
add new NFS extend that handles both FreeBSD and Linux in the current GZipped+Base64 JSON method.
2024-03-03 13:28:09 -06:00
Zane C. Bowers-Hadley
052c7c5914 add nfs 2024-03-03 13:22:54 -06:00
Zane C. Bowers-Hadley
5861eb8d7e now works for Linux and FreeBSD 2024-03-03 12:39:43 -06:00
Zane C. Bowers-Hadley
824144e9d5 nfsstat -m works for Linux now as well 2024-03-02 14:55:59 -06:00
Zane C. Bowers-Hadley
9f2d148fef remove Getopt::Std 2024-03-02 09:43:48 -06:00
Zane C. Bowers-Hadley
425a1c432f initial nfs stuff for freebsd done 2024-03-02 09:31:40 -06:00
Anton Lundin
109961ac84 Add a plain bash version of memcached helper
This is for servers which don't have php installed.
2024-02-27 12:52:14 +01:00
Peca Nesovanovic
7a50deb398 [ups-nut] Add temperature readout (#508)
* Add temperature readout

expose Battery Temperature value

* Update ups-nut.sh
2024-02-26 17:48:21 +01:00
Félix Bouynot
a729c36e51 Fix for systems with more than 4 GPU and recent nvidia-smi version (#506) 2024-02-22 09:32:24 -06:00
tevkar
f8a8dc8143 Deliver output for a specific memcached instance (#504)
To fix issues around 'no memcache output'. Associated with the relevant branch for librenms.
2024-02-22 09:27:36 -06:00
SourceDoctor
fa4d96c9ce replace nan with 0 (#505)
* replace nan with 0

replace nan with 0 of pool has a sice of zero

* .
2024-01-18 02:09:24 +01:00
Zane C. Bowers-Hadley
040b755964 add ifAlias (#503) 2024-01-08 16:59:01 -06:00
Zane C. Bowers-Hadley
f3c31fbdf8 fix for issues/501 and do assorted cleanup while there (#502) 2023-12-19 21:10:57 -06:00
Peter Childs
0f7ad4d23e ensure returned values do not exceed max of RRD file (#497) 2023-12-16 20:56:21 -06:00
Dan Langille
0c18d34fd1 Update URL for ZFS (#498)
Correct the URL
2023-12-16 20:53:04 -06:00
Zane C. Bowers-Hadley
f6d6ff5b88 borgbackup mtime fix for repo (#496) 2023-11-19 15:31:32 -06:00
Zane C. Bowers-Hadley
f20430637f borg backup extend (#495) 2023-11-19 04:33:41 -06:00
bnerickson
7e18c9a212 Adding Socket Statistics Script (#486)
* Adding Socket Statistics Script

* Adding the no-header argument to the ss command.  Fixing a bug where the unknown netid type was discarded before it was converted from question-marks to unknown

* Now that headers are removed from the ss command, moving the datastructure logic out of command execution logic so it executes at least once even if there's no output.

* Moved 'always-on' global arguments into a GLOBAL_ARGS constant list.
2023-11-07 22:25:48 -06:00
Garcia MICHEL
4a1368980a Add OpenMediaVault detection to distro script (#484) 2023-11-07 22:21:53 -06:00
calvin_thefreak
e34cde0385 Quick and dirty fix for snmp extend to respond correctly. (#494)
- Added "grep -v" to the output command.
 - Added a note for Users that don't understand why LibreNMS can't get the values when snmp user is not in docker group.
2023-11-07 22:16:49 -06:00
Tony Murray
eba08461be Add pacman packages support (#493) 2023-10-07 21:36:37 -05:00
Zane C. Bowers-Hadley
6a7c04e549 add -w to dhcp (#492) 2023-10-04 18:30:54 -06:00
Zane C. Bowers-Hadley
38d57626be dhcp extend nolonger requires dhcpd-pools (#491)
* more work on implementing dhcp config parsing

* no longer require non-perl depends
2023-10-01 12:17:01 -05:00
Zane C. Bowers-Hadley
22bc2cedf5 for dhcp dedup, don't use uid twice and don't use cltt (#490) 2023-09-24 13:49:07 -05:00
Zane C. Bowers-Hadley
00a68dc6ed base64 encode possible fields for DHCP that may possibly include binary data (#489)
* base64 encode uid and client hostname for dhcp lease info

* cleanup vendor_class_identifier as well and note the changes
2023-09-22 01:51:14 -05:00
Zane C. Bowers-Hadley
3af477845f add new dhcp extend (#488) 2023-09-21 23:46:40 -05:00
SourceDoctor
2c6ae8b659 check for puppet v7 summary file (#485) 2023-08-02 23:21:39 +02:00
Zane C. Bowers-Hadley
f846574884 smart-v1: fix handling of cciss when it a disk is being replaced (#483)
* only add connectors that have not been seen for cciss

* rework seen logic to also have a ignore logic as well for cciss

* add a comment explaining why it is being ignored

* minor version bump
2023-07-06 15:36:29 -06:00
Zane C. Bowers-Hadley
4e78072daf smart-v1: add handling unknown cciss devs (#482)
* add -u option

* add a small fix for when smart fails and useSN is false

* some more possible cciss error handling

* rename -u for with guess to -U to avoid conflict

* add U to getopts
2023-07-06 12:27:56 -06:00
Zane C. Bowers-Hadley
998e24fabc add the logsize extend (#481)
* add initial logsize extend

* add long chomp

* pretty it and now make save the return file even if -b was not specified

* errpr->error

* clean up the code a bit more

* more cleanup

* add some more set bits

* de-fuck it

* add total size as well as the max and min stats between alls ets

* add no_minus_d

* no_minus_d fix

* add .json

* add log

* minor logic tweaks

* make no_minus_d the default

* completely rework it and make it overall more stable

* fix set size handling

* no longer include no_minus_d and also fix date chomping

* add old cache file removal and docs
2023-07-04 22:32:30 -06:00
Zane C. Bowers-Hadley
4778070b90 smart-v1: send useSN value along in the data (#480)
* send useSN along in the data

* remove a extra ,
2023-07-03 14:49:18 -06:00
Zane C. Bowers-Hadley
6af12e74b8 smart-v1: add the ability to run tests on all configured devs via the extend and fix when useSN=1 (#479)
* add the ability to run tests on all specified devices via -t

* properly save the results when exit is non-zero and useSN=1
2023-07-02 19:01:13 -05:00
Zane C. Bowers-Hadley
4bd6909f99 add the ability to run tests on all specified devices via -t for smart-v1 (#478) 2023-06-28 10:23:39 -06:00
Zane C. Bowers-Hadley
1328a11f48 various smart-v1 fixes (#477)
* use $sg_int when composing lines for cciss devs

* more cleanup for cciss stuff for when it does not recognize a device

* use -i with smart for the cciss -C test

* add in virt checking

* fix regex typos for virt check
2023-06-28 07:37:37 -06:00