90fd6f60f3
Should be greater than or equal to ( #167 )
2018-03-23 16:24:02 +00:00
d0762871b4
os-update.sh: back to package management based and count fixes ( #149 )
...
* Update os-updates.sh
* Update os-updates.sh
* Update os-updates.sh
2017-10-09 20:02:05 +01:00
a4efb62466
unnecessary use of wc while already calling grep ( #137 )
...
* useless call of wc while already calling grep
* move grep count call to CMD_GREP to stay in project style
2017-06-28 21:36:26 +01:00
16178c6ac3
Added devuan support for os-updates.sh and removed code repitition ( #131 )
2017-05-31 22:23:07 +01:00
dc604636bc
added fedora/dnf support
2016-12-07 22:11:48 -05: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
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