diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-08-27 23:51:40 +0200 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-08-27 23:51:40 +0200 |
commit | c57b7157daa0a170f9ef76776d493afa123a8d32 (patch) | |
tree | d8f332582d9ebc5cc5a02dec7ba0c99117f12f01 | |
parent | d885e870d7d00939aac102538fea7da9cbb01a2b (diff) | |
download | monitoring-plugins-c57b7157daa0a170f9ef76776d493afa123a8d32.tar.gz |
Try to not delete random MIBs to avoid compiling errors
-rwxr-xr-x | .github/prepare_debian.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh index 7f5592b4..a1e65c04 100755 --- a/.github/prepare_debian.sh +++ b/.github/prepare_debian.sh | |||
@@ -108,12 +108,13 @@ ssh -tt localhost </dev/null >/dev/null 2>/dev/null & | |||
108 | disown %1 | 108 | disown %1 |
109 | 109 | ||
110 | # snmpd | 110 | # snmpd |
111 | for DIR in /usr/share/snmp/mibs /usr/share/mibs; do | 111 | service snmpd stop |
112 | rm -f $DIR/ietf/SNMPv2-PDU \ | 112 | #for DIR in /usr/share/snmp/mibs /usr/share/mibs; do |
113 | $DIR/ietf/IPSEC-SPD-MIB \ | 113 | # rm -f $DIR/ietf/SNMPv2-PDU \ |
114 | $DIR/ietf/IPATM-IPMC-MIB \ | 114 | # $DIR/ietf/IPSEC-SPD-MIB \ |
115 | $DIR/iana/IANA-IPPM-METRICS-REGISTRY-MIB | 115 | # $DIR/ietf/IPATM-IPMC-MIB \ |
116 | done | 116 | # $DIR/iana/IANA-IPPM-METRICS-REGISTRY-MIB |
117 | #done | ||
117 | mkdir -p /var/lib/snmp/mib_indexes | 118 | mkdir -p /var/lib/snmp/mib_indexes |
118 | sed -e 's/^agentaddress.*/agentaddress 127.0.0.1/' -i /etc/snmp/snmpd.conf | 119 | sed -e 's/^agentaddress.*/agentaddress 127.0.0.1/' -i /etc/snmp/snmpd.conf |
119 | service snmpd start | 120 | service snmpd start |