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

39 Commits

Author SHA1 Message Date
Paul Gear
465ec12dd4 Make ups-nut work on Debian Jessie
This script was broken on Debian Jessie (and probably
all other Debian-based distros, including Ubuntu).
This commit removes the hard-coding of paths and uses
$PATH per normal bash practice, and should work on a
wider range of shell variants.
2016-12-03 14:07:02 +10:00
arrmo
e52776889c Update to Distro (to support dd-wrt) (#72) 2016-11-26 08:12:41 +00:00
Mathias B
c5fea261de Add Debian support (#71)
Before that only Ubuntu was supported, now Debian users can use this nice script too!
2016-11-17 08:31:56 +00:00
crcro
dd365168a5 fix conflict (#66) 2016-10-03 19:27:56 +01:00
crcro
58e16b794a snmp-extend: os-updates (#65)
* reverted back to os-release checks, added arch pacman

* fixed file name
2016-09-25 14:28:37 +01:00
crcro
2699cde73f snmp-extend: ups-apcups (#58)
* snmp-extend-ups-apcups

* rewrite of apc ups

* header fix

* header fix
2016-09-25 14:28:00 +01:00
crcro
fa308bfe3f snmp-extend: ups-nut update 1 (#63)
* new code for better matching, snmp-extend compliance

* removed unused vars

* extra fixes

* removed the need of tmp file

* removed charge_low, deemed useless by user

* removed values that are not plottable

* readded ds
2016-09-24 18:30:09 +01:00
Tony Murray
f63c4ab7be Merge pull request #61 from crcro/app-ntp-server-update-1
app: ntp-server update 1
2016-09-12 22:01:51 -05:00
Tony Murray
c1c537eea1 Merge pull request #57 from crcro/snmp-extend-ups-nut
snmp-extend: ups-nut
2016-09-12 22:01:24 -05:00
Tony Murray
9a2716dc83 Merge pull request #60 from crcro/remove-ntp-php
remove obsolete ntp scripts
2016-09-12 19:33:07 -05:00
crcro
d9f36a84b1 cleaner code 2016-09-12 12:48:17 +03:00
crcro
28cae5cff3 better handling default case 2016-09-12 11:52:13 +03:00
crcro
aeecb1621c header fix 2016-09-12 11:45:14 +03:00
crcro
f48f4cc6e5 update 1 ntp server 2016-09-12 11:43:34 +03:00
crcro
87cc835096 os-updates.sh clean (#59) 2016-09-10 17:08:03 +01:00
crcro
85ae77c01c remove obsolete ntpd-server.php 2016-09-10 04:50:33 +03:00
crcro
262f798a97 remove obsolete ntp-client.php script 2016-09-10 04:48:55 +03:00
crcro
11a9fcef62 snmp-extend-ups-nut 2016-09-09 15:36:01 +03:00
crcro
42bc0a07aa ntp-client app using shell only, tested with ntpq 4.2.8p8 (#54) 2016-09-07 20:37:31 +01:00
crcro
718d627cfd app: ntp-server (#55)
* ntp-server app using shell only, tested with 4.2.8p8

* fix for higher stratum value

* change the description in comment to reflect latest webui push
2016-09-07 20:37:23 +01:00
Tony Murray
561efa41be SNMP extend scripts from the main repo 2016-08-22 21:47:53 -05:00
crcro
deb36833f1 @paulgear recomandation 2016-08-22 01:45:23 +03:00
Tony Murray
672918c40f Merge pull request #48 from crcro/raspberry-sensors
raspberry sensors
2016-08-16 12:43:10 -05:00
Tony Murray
b6bdb9ea45 Copy ntp scripts from the main repo. 2016-08-15 22:56:31 -05:00
crcro
87584e7ef7 added snmp extend to get raspberry sensors 2016-08-14 17:43:27 +03:00
Neil Lathwood
c3afbf35bd Merge pull request #45 from murrant/os-updates
Do not detect os, detect package managers
2016-08-09 19:47:51 +01:00
Tony Murray
aa59548e0c Do not detect os, detect package managers.
Add pacman support.
2016-08-09 13:06:34 -05:00
Tony Murray
7828777769 Update distro to match the main repo file 2016-08-09 11:40:01 -05:00
Neil Lathwood
0f5a1150f3 Merge pull request #40 from florianbeer/patch-1
Add Debian and make update call more robust
2016-08-04 18:53:10 +01:00
crcro
2accc2848c app-dhcp-stats snmp extend 2016-08-03 22:09:55 +03:00
Florian Beer
05fe3f8cc1 Remove update call as this requires root
See discussion here https://github.com/librenms/librenms-agent/pull/40#issuecomment-237198796
2016-08-03 12:16:22 +02:00
Florian Beer
fac01628a0 Add Debian and make update call more robust
- Debian based systems need to update the index before being able to report upgradable packages.
- Debian old-stable doesn't have `apt` yet and Ubuntu 14.04 emits the following warning when using `apt` in a script:
`WARNING: /usr/bin/apt does not have a stable CLI interface yet. Use with caution in scripts.`

By using `apt-get`, issuing a `update` call first and then counting the result of `grep 'Inst'`, this script now works on Debian 7, Debian 8, Ubuntu 14.04 and Ubuntu 16.04.
2016-08-03 04:51:35 +02:00
Tony Murray
3740f3e147 Merge pull request #38 from crcro/master
app: nfs-v3-stats
2016-08-02 20:35:16 -05:00
xavier.beaudouin
8d7e0df4eb Add FreeBSD detection to distro script 2016-08-01 11:15:52 +02:00
crcro
1964aece5e added snmp extend script for os-updates application 2016-07-29 20:22:35 +03:00
crcro
57b6224254 added snmp extend script for nfs-v3-stats application 2016-07-29 20:19:41 +03:00
f0o
ff2bbe6882 Snapshot upstream changes 2015-11-25 13:29:03 +00:00
Neil Lathwood
b6bfbbaf2c Update distro to use env 2015-10-25 21:51:43 +00:00
Alan Gregory
4683c68d1d Added Snmpd.conf example and distro executable 2015-07-28 15:58:29 -03:00