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

8 Commits

Author SHA1 Message Date
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
87cc835096 os-updates.sh clean (#59) 2016-09-10 17:08:03 +01:00
aa59548e0c Do not detect os, detect package managers.
Add pacman support.
2016-08-09 13:06:34 -05: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
1964aece5e added snmp extend script for os-updates application 2016-07-29 20:22:35 +03:00