From: Dobrica Pavlinusic Date: Sat, 2 Mar 2019 07:33:06 +0000 (+0100) Subject: install snmp and enable mib X-Git-Url: http://git.rot13.org/?p=safeq;a=commitdiff_plain;h=1103179b9acac9425ff1184d90dcd5f3c98c9b56 install snmp and enable mib --- diff --git a/debian-install.sh b/debian-install.sh index c948ecc..c9e0254 100755 --- a/debian-install.sh +++ b/debian-install.sh @@ -1 +1,4 @@ -sudo apt-get install cups printer-driver-fujixerox cups-ipp-utils printer-driver-cups-pdf +sudo apt-get install cups printer-driver-fujixerox cups-ipp-utils printer-driver-cups-pdf snmp snmp-mibs-downloader + +# enable mibs +grep -i '^mibs :' /etc/snmp/snmp.conf && perl -p -i -n -e 's/^mibs : .*/mibs +ALL/' /etc/snmp/snmp.conf