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

57 Commits

Author SHA1 Message Date
3932875ce0 correct a comment 2017-02-20 03:50:59 -06:00
c367e9ff9d now requires cron usage 2017-02-20 03:49:50 -06:00
d90f3e8792 use fail2ban-client instead 2017-02-19 23:41:51 -06:00
710f38e8ff move this over to perl and properly check iptables 2017-02-18 00:09:12 -06:00
6f76427952 remove pointless exit 2017-02-17 23:08:53 -06:00
4b600ad2b4 whoops, forgot to remove \ as well 2017-02-17 23:08:25 -06:00
6955e5d410 don't assume it appends the jail name 2017-02-17 10:33:02 -06:00
8b78f863d3 update to check fail2ban and f2b 2017-02-17 10:32:27 -06:00
21c953d11a Merge branch 'master' of https://github.com/librenms/librenms-agent 2017-02-16 11:30:03 -06:00
1ec8f204ee add fail2ban snmpd extend script 2017-02-16 10:50:46 -06:00
58d17264c7 Use command -v instead binary path (#80) 2017-02-16 15:12:01 +00:00
60becc9b3a add a single pool php-fpm net-snmpd extend poller (#83) 2017-02-16 15:10:53 +00:00
677bd4187e add a single pool php-fpm net-snmpd extend poller 2017-02-15 11:37:18 -06:00
575956cae3 snmp: exim-stats (#79)
* exim-stats frozen mails

* added total queue info
2017-01-20 08:47:30 +00:00
d090686b72 Merge pull request #75 from bungojungo/master
Added fedora support to distro/os-updates
2016-12-14 16:39:59 -06:00
dc604636bc added fedora/dnf support 2016-12-07 22:11:48 -05:00
8b3ca2dac2 Added fedora support 2016-12-07 21:48:22 -05:00
de1f1775cc Restore previous default UPS name 2016-12-03 14:16:54 +10:00
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
e52776889c Update to Distro (to support dd-wrt) (#72) 2016-11-26 08:12:41 +00:00
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
dd365168a5 fix conflict (#66) 2016-10-03 19:27:56 +01:00
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
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
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
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
c1c537eea1 Merge pull request #57 from crcro/snmp-extend-ups-nut
snmp-extend: ups-nut
2016-09-12 22:01:24 -05:00
9a2716dc83 Merge pull request #60 from crcro/remove-ntp-php
remove obsolete ntp scripts
2016-09-12 19:33:07 -05:00
d9f36a84b1 cleaner code 2016-09-12 12:48:17 +03:00
28cae5cff3 better handling default case 2016-09-12 11:52:13 +03:00
aeecb1621c header fix 2016-09-12 11:45:14 +03:00
f48f4cc6e5 update 1 ntp server 2016-09-12 11:43:34 +03:00
87cc835096 os-updates.sh clean (#59) 2016-09-10 17:08:03 +01:00
85ae77c01c remove obsolete ntpd-server.php 2016-09-10 04:50:33 +03:00
262f798a97 remove obsolete ntp-client.php script 2016-09-10 04:48:55 +03:00
11a9fcef62 snmp-extend-ups-nut 2016-09-09 15:36:01 +03:00
42bc0a07aa ntp-client app using shell only, tested with ntpq 4.2.8p8 (#54) 2016-09-07 20:37:31 +01:00
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
561efa41be SNMP extend scripts from the main repo 2016-08-22 21:47:53 -05:00
deb36833f1 @paulgear recomandation 2016-08-22 01:45:23 +03:00
672918c40f Merge pull request #48 from crcro/raspberry-sensors
raspberry sensors
2016-08-16 12:43:10 -05:00
b6bdb9ea45 Copy ntp scripts from the main repo. 2016-08-15 22:56:31 -05:00
87584e7ef7 added snmp extend to get raspberry sensors 2016-08-14 17:43:27 +03:00
c3afbf35bd Merge pull request #45 from murrant/os-updates
Do not detect os, detect package managers
2016-08-09 19:47:51 +01:00
aa59548e0c Do not detect os, detect package managers.
Add pacman support.
2016-08-09 13:06:34 -05:00
7828777769 Update distro to match the main repo file 2016-08-09 11:40:01 -05:00
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
2accc2848c app-dhcp-stats snmp extend 2016-08-03 22:09:55 +03:00
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
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