Open wsedgwick1 opened 1 year ago
Hey!
So first question I need to ask is - are you absolutely sure these MIBs are in /home_local/kube-user/local_mibs
? If you run ls /home_local/kube-user/local_mibs
will you see some directories?
Additionally send me please the output of microk8s kubectl get pv -n sc4snmp
and microk8s kubectl get pvc -n sc4snmp
and I'll guide you with further steps.
Thanks for getting back to me.
local_mibs contains a directory called QNAP
, which is the vendor and inside there is a file called QTS.mib
ls /home_local/kube-user/local_mibs
QNAP
[kube-user@<host> ~]$ microk8s kubectl get pv -n sc4snmp
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
task-pv-volume 1Gi RWO Retain Bound default/task-pv-claim manual 3d1h
snmp-mibserver 1Gi RWX Retain Bound sc4snmp/snmp-mibserver microk8s-hostpath 2d23h
pvc-01c0d330-9ab3-43f8-bc5c-af56ac5087e7 8Gi RWO Delete Bound sc4snmp/redis-data-snmp-redis-master-0 microk8s-hostpath 2d23h
pvc-d1edbeb1-ceed-4dbf-b20b-801d74648375 8Gi RWO Delete Bound sc4snmp/snmp-mongodb microk8s-hostpath 2d23h
[kube-user@<host> ~]$ microk8s kubectl get pvc -n sc4snmp
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
snmp-mibserver Bound snmp-mibserver 1Gi RWX microk8s-hostpath 3d
redis-data-snmp-redis-master-0 Bound pvc-01c0d330-9ab3-43f8-bc5c-af56ac5087e7 8Gi RWO microk8s-hostpath 3d
snmp-mongodb Bound pvc-d1edbeb1-ceed-4dbf-b20b-801d74648375 8Gi RWO microk8s-hostpath 3d
Hey, can you run microk8s kubectl describe pv/task-pv-volume -n sc4snmp
? I remember this is how the previous pv was named and I'm wondering if it is pointing to the same hostpath - maybe this is what is causing issues.
[kube-user@<host> ~]$ microk8s kubectl describe pv/task-pv-volume -n sc4snmp
Name: task-pv-volume
Labels: type=local
Annotations: pv.kubernetes.io/bound-by-controller: yes
Finalizers: [kubernetes.io/pv-protection]
StorageClass: manual
Status: Bound
Claim: default/task-pv-claim
Reclaim Policy: Retain
Access Modes: RWO
VolumeMode: Filesystem
Capacity: 1Gi
Node Affinity: <none>
Message:
Source:
Type: HostPath (bare host directory volume)
Path: /data
HostPathType:
Events: <none>
I'm happy to remove this pv if you think that might help, as I don't think it is in use.
You can remove it, but I don't think it is the cause. Did you try to rollout the mibserver deployment? Like this: microk8s kubectl rollout restart deployment snmp-mibserver -n sc4snmp
If I have made any values.yaml
changes, I have been running:
microk8s helm3 upgrade --install snmp -f values.yaml splunk-connect-for-snmp/splunk-connect-for-snmp --namespace=sc4snmp --create-namespace --version 1.8.7-beta.2
Every time I modify the local libs setup I have also been running:
microk8s kubectl rollout restart deployment snmp-mibserver -n sc4snmp
Each time No local mibs. Skipping...
appears in the logs, unfortunately.
Ok, I'm trying to reproduce it but it works for me all the time of course 😅
Another thing we can check (probably you've done that already) is complete uninstallation of SC4SNMP with deleting pvc's:
https://splunk.github.io/splunk-connect-for-snmp/main/bestpractices/#uninstall-splunk-connect-for-snmp
And then running the helm3 upgrade...
command again. If this won't help I'll come up with some more complicated troubleshooting probably. Let me know.
The fact that you can't reproduce the issue gives me hope!
I just tried a full reinstall (including removing all PVCs), unfortunately the end result was still the same No local mibs. Skipping...
I'm not against starting from scratch with a new VM in case there were any steps missed with the Microk8s installation. Any more advanced troubleshooting steps would be appreciated though.
Ok, so let's go through the logs from kubernetes one by one. First:
microk8s kubectl describe deployment/snmp-mibserver -n sc4snmp
Mine is:
Name: snmp-mibserver
Namespace: sc4snmp
CreationTimestamp: Tue, 07 Mar 2023 14:02:14 +0000
Labels: app.kubernetes.io/instance=snmp
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=mibserver
app.kubernetes.io/version=1.15.1
helm.sh/chart=mibserver-1.15.1
Annotations: deployment.kubernetes.io/revision: 1
kube-score/ignore: container-image-pull-policy
meta.helm.sh/release-name: snmp
meta.helm.sh/release-namespace: sc4snmp
Selector: app.kubernetes.io/instance=snmp,app.kubernetes.io/name=mibserver
Replicas: 1 desired | 1 updated | 1 total | 1 available | 0 unavailable
StrategyType: RollingUpdate
MinReadySeconds: 0
RollingUpdateStrategy: 25% max unavailable, 25% max surge
Pod Template:
Labels: app.kubernetes.io/instance=snmp
app.kubernetes.io/name=mibserver
Service Account: snmp-mibserver
Containers:
mibserver:
Image: ghcr.io/pysnmp/mibs/container:1.15.1
Ports: 8000/TCP, 8080/TCP
Host Ports: 0/TCP, 0/TCP
Limits:
cpu: 100m
memory: 128Mi
Requests:
cpu: 100m
memory: 128Mi
Readiness: http-get http://:http-status/ delay=0s timeout=1s period=10s #success=1 #failure=3
Environment:
NGINX_ENTRYPOINT_QUIET_LOGS: 1
Mounts:
/app/new_mibs/src/vendor from task-pv-storage (rw)
/tmp from tmp (rw)
Volumes:
tmp:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
task-pv-storage:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: snmp-mibserver
ReadOnly: false
Conditions:
Type Status Reason
---- ------ ------
Progressing True NewReplicaSetAvailable
Available True MinimumReplicasAvailable
OldReplicaSets: <none>
NewReplicaSet: snmp-mibserver-c8dbbb57f (1/1 replicas created)
Events: <none>
The most important things here are mounts so we see snmp-mibserver pvc is mounted to /app/new_mibs/src/vendor
and then the describe form the pvc itself:
microk8s kubectl describe pvc/snmp-mibserver -n sc4snmp
in my case:
Name: snmp-mibserver
Namespace: sc4snmp
StorageClass: microk8s-hostpath
Status: Bound
Volume: snmp-mibserver
Labels: app.kubernetes.io/instance=snmp
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=mibserver
app.kubernetes.io/version=1.15.1
helm.sh/chart=mibserver-1.15.1
Annotations: meta.helm.sh/release-name: snmp
meta.helm.sh/release-namespace: sc4snmp
pv.kubernetes.io/bind-completed: yes
pv.kubernetes.io/bound-by-controller: yes
Finalizers: [kubernetes.io/pvc-protection]
Capacity: 1Gi
Access Modes: RWX
VolumeMode: Filesystem
Used By: snmp-mibserver-c8dbbb57f-p2mx5
Events: <none>
Here you can verify if the Used By
is the name of your mibserver pod
Then let's finally describe pv itself:
microk8s kubectl describe pv/snmp-mibserver -n sc4snmp
And verify if the HostPath is correct:
Name: snmp-mibserver
Labels: app.kubernetes.io/instance=snmp
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=mibserver
app.kubernetes.io/version=1.15.1
helm.sh/chart=mibserver-1.15.1
type=local
Annotations: meta.helm.sh/release-name: snmp
meta.helm.sh/release-namespace: sc4snmp
pv.kubernetes.io/bound-by-controller: yes
Finalizers: [kubernetes.io/pv-protection]
StorageClass: microk8s-hostpath
Status: Bound
Claim: sc4snmp/snmp-mibserver
Reclaim Policy: Retain
Access Modes: RWX
VolumeMode: Filesystem
Capacity: 1Gi
Node Affinity: <none>
Message:
Source:
Type: HostPath (bare host directory volume)
Path: /home/splunker/local_mibs
HostPathType:
Events: <none>
if yes, the path should be visible on a correct path in mibserver pod (at least in theory 😅 ). Please let me know what are your outputs
Thanks for getting back to me - apologies I have been off work for a couple of days and have just got back to looking at this issue.
My outputs are as follows:
microk8s kubectl describe deployment/snmp-mibserver -n sc4snmp
Name: snmp-mibserver
Namespace: sc4snmp
CreationTimestamp: Tue, 07 Mar 2023 15:31:42 +0000
Labels: app.kubernetes.io/instance=snmp
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=mibserver
app.kubernetes.io/version=1.15.1
helm.sh/chart=mibserver-1.15.1
Annotations: deployment.kubernetes.io/revision: 1
kube-score/ignore: container-image-pull-policy
meta.helm.sh/release-name: snmp
meta.helm.sh/release-namespace: sc4snmp
Selector: app.kubernetes.io/instance=snmp,app.kubernetes.io/name=mibserver
Replicas: 1 desired | 1 updated | 1 total | 1 available | 0 unavailable
StrategyType: RollingUpdate
MinReadySeconds: 0
RollingUpdateStrategy: 25% max unavailable, 25% max surge
Pod Template:
Labels: app.kubernetes.io/instance=snmp
app.kubernetes.io/name=mibserver
Service Account: snmp-mibserver
Containers:
mibserver:
Image: ghcr.io/pysnmp/mibs/container:1.15.1
Ports: 8000/TCP, 8080/TCP
Host Ports: 0/TCP, 0/TCP
Limits:
cpu: 100m
memory: 128Mi
Requests:
cpu: 100m
memory: 128Mi
Readiness: http-get http://:http-status/ delay=0s timeout=1s period=10s #success=1 #failure=3
Environment:
NGINX_ENTRYPOINT_QUIET_LOGS: 1
Mounts:
/app/new_mibs/src/vendor from task-pv-storage (rw)
/tmp from tmp (rw)
Volumes:
tmp:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
task-pv-storage:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: snmp-mibserver
ReadOnly: false
Conditions:
Type Status Reason
---- ------ ------
Available True MinimumReplicasAvailable
Progressing True NewReplicaSetAvailable
OldReplicaSets: <none>
NewReplicaSet: snmp-mibserver-c8dbbb57f (1/1 replicas created)
Events: <none>
microk8s kubectl describe pvc/snmp-mibserver -n sc4snmp
Name: snmp-mibserver
Namespace: sc4snmp
StorageClass: microk8s-hostpath
Status: Bound
Volume: snmp-mibserver
Labels: app.kubernetes.io/instance=snmp
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=mibserver
app.kubernetes.io/version=1.15.1
helm.sh/chart=mibserver-1.15.1
Annotations: meta.helm.sh/release-name: snmp
meta.helm.sh/release-namespace: sc4snmp
pv.kubernetes.io/bind-completed: yes
pv.kubernetes.io/bound-by-controller: yes
Finalizers: [kubernetes.io/pvc-protection]
Capacity: 1Gi
Access Modes: RWX
VolumeMode: Filesystem
Used By: snmp-mibserver-c8dbbb57f-724kr
Events: <none>
microk8s kubectl describe pv/snmp-mibserver -n sc4snmp
Name: snmp-mibserver
Labels: app.kubernetes.io/instance=snmp
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=mibserver
app.kubernetes.io/version=1.15.1
helm.sh/chart=mibserver-1.15.1
type=local
Annotations: meta.helm.sh/release-name: snmp
meta.helm.sh/release-namespace: sc4snmp
pv.kubernetes.io/bound-by-controller: yes
Finalizers: [kubernetes.io/pv-protection]
StorageClass: microk8s-hostpath
Status: Bound
Claim: sc4snmp/snmp-mibserver
Reclaim Policy: Retain
Access Modes: RWX
VolumeMode: Filesystem
Capacity: 1Gi
Node Affinity: <none>
Message:
Source:
Type: HostPath (bare host directory volume)
Path: /home_local/kube-user/local_mibs
HostPathType:
Events: <none>
Would it be possible to know the contents of your local_mibs directory in comparison to my own? As far as I can see there doesn't seem to be anything wrong with my PVs, but maybe you can see something I can't! 😃
Thanks again.
Sure, here you have everything:
$pwd
/home/splunker/local_mibs
$ls
ERICSSON
$ls -la
total 52
drwxrwxr-x 3 splunker splunker 4096 Mar 15 10:50 .
drwxr-xr-x 8 splunker root 4096 Mar 15 10:49 ..
-rwxrwxr-x 1 splunker splunker 212 Nov 28 06:11 ._ERICSSON
drwxrwxr-x 2 splunker splunker 36864 Nov 28 06:11 ERICSSON
Here I have a bunch of ERICSSON mibs:
$ls
AGENTX-MIB.my IANA-ADDRESS-FAMILY-NUMBERS-MIB.my
ALARM-MIB.my IANA-ITU-ALARM-TC-MIB.my
BFD-STD-MIB.my IANA-MAU-MIB.my
BFD-TC-STD-MIB.my IANA-RTPROTO-MIB.my
BGP4-MIB.my IANAifType-MIB.my
BGP4V2-MIB.my IEEE8021-CFM-MIB.my
BGP4V2-TC-MIB.my IF-INVERTED-STACK-MIB.my
BRIDGE-MIB.my IF-MIB.my
DIFFSERV-MIB.my INET-ADDRESS-MIB.my
DISMAN-EVENT-MIB.my IP-FORWARD-MIB.my
DISMAN-SCHEDULE-MIB.my IP-MIB.my
ENTITY-MIB.my ISIS-MIB.my
ERICSSON-ALARM-MIB.my ITU-ALARM-MIB.my
ERICSSON-ALARM-PC-MIB.my ITU-ALARM-TC-MIB.my
ERICSSON-ALARM-TC-MIB.my LLDP-MIB.my
ERICSSON-ALARM-XPATH-MIB.my LLDP-V2-MIB.my
ERICSSON-DISCOVERY-CAP.my LLDP-V2-TC-MIB.my
ERICSSON-DISCOVERY-MIB.my MAU-MIB.my
ERICSSON-ROUTER-ACL-CAP.my MPLS-L3VPN-STD-MIB.my
ERICSSON-ROUTER-ACL-MIB.my MPLS-LDP-STD-MIB.my
ERICSSON-ROUTER-AGENTX-CAP.my MPLS-LSR-STD-MIB.my
ERICSSON-ROUTER-ALARM-EXT-CAP.my MPLS-TC-STD-MIB.my
ERICSSON-ROUTER-ALARM-EXT-MIB.my NOTIFICATION-LOG-MIB.my
ERICSSON-ROUTER-ALARM-TC.my OSPF-MIB.my
ERICSSON-ROUTER-ALARMIO-CAP.my OSPF-TRAP-MIB.my
ERICSSON-ROUTER-ALARMIO-MIB.my OSPFV3-MIB.my
ERICSSON-ROUTER-BGP-ACCOUNTING-CAP.my P-BRIDGE-MIB.my
ERICSSON-ROUTER-BGP-ACCOUNTING-MIB.my PING-MIB.my
ERICSSON-ROUTER-BIND-CAP.my PerfHist-TC-MIB.my
ERICSSON-ROUTER-BIND-MIB.my Q-BRIDGE-MIB.my
ERICSSON-ROUTER-BRIDGE-CAP.my RADIUS-ACC-CLIENT-MIB.my
ERICSSON-ROUTER-BRIDGE-MIB.my RADIUS-AUTH-CLIENT-MIB.my
ERICSSON-ROUTER-BRM-CAP.my RBN-AGENTX-CAP.my
ERICSSON-ROUTER-BRM-MIB.my RBN-ALARM-EXT-CAP.my
ERICSSON-ROUTER-BULKSTATS-CAP.my RBN-ALARM-EXT-MIB.my
ERICSSON-ROUTER-BULKSTATS-MIB.my RBN-ALARM-TC.my
ERICSSON-ROUTER-CARDMON-CAP.my RBN-BGP-ACCOUNTING-CAP.my
ERICSSON-ROUTER-CARDMON-MIB.my RBN-BGP-ACCOUNTING-MIB.my
ERICSSON-ROUTER-CIRCUIT-GROUP-CAP.my RBN-BIND-CAP.my
ERICSSON-ROUTER-CIRCUIT-GROUP-MIB.my RBN-BIND-MIB.my
ERICSSON-ROUTER-CONFIG-FILE-CAP.my RBN-BRIDGE-CAP.my
ERICSSON-ROUTER-CONFIG-FILE-MIB.my RBN-BRIDGE-MIB.my
ERICSSON-ROUTER-CPU-METER-CAP.my RBN-BULKSTATS-CAP.my
ERICSSON-ROUTER-CPU-METER-MIB.my RBN-BULKSTATS-MIB.my
ERICSSON-ROUTER-DHCP-CAP.my RBN-CARDMON-CAP.my
ERICSSON-ROUTER-DHCP-MIB.my RBN-CARDMON-MIB.my
ERICSSON-ROUTER-ENVMON-CAP.my RBN-CIRCUIT-GROUP-CAP.my
ERICSSON-ROUTER-ENVMON-MIB.my RBN-CIRCUIT-GROUP-MIB.my
ERICSSON-ROUTER-ERICSSON-ALARM-CAP.my RBN-CONFIG-FILE-CAP.my
ERICSSON-ROUTER-ERICSSON-ALARM-XPATH-CAP.my RBN-CONFIG-FILE-MIB.my
ERICSSON-ROUTER-ERP-CAP.my RBN-CPU-METER-CAP.my
ERICSSON-ROUTER-ERP-MIB.my RBN-CPU-METER-MIB.my
ERICSSON-ROUTER-FAST-VRRP-CAP.my RBN-DHCP-CAP.my
ERICSSON-ROUTER-FAST-VRRP-MIB.my RBN-DHCP-MIB.my
ERICSSON-ROUTER-FAST-VRRPV3-CAP.my RBN-ENVMON-CAP.my
ERICSSON-ROUTER-FAST-VRRPV3-MIB.my RBN-ENVMON-MIB.my
ERICSSON-ROUTER-HW-RES-MGMT-CAP.my RBN-ERICSSON-ALARM-CAP.my
ERICSSON-ROUTER-HW-RES-MGMT-MIB.my RBN-FAST-VRRP-CAP.my
ERICSSON-ROUTER-ICR-CAP.my RBN-FAST-VRRP-MIB.my
ERICSSON-ROUTER-ICR-MIB.my RBN-ICR-CAP.my
ERICSSON-ROUTER-IEEE8021-CFM-CAP.my RBN-ICR-MIB.my
ERICSSON-ROUTER-IETF-AGENTX-CAP.my RBN-IEEE8021-CFM-CAP.my
ERICSSON-ROUTER-IETF-ALARM-CAP.my RBN-IETF-AGENTX-CAP.my
ERICSSON-ROUTER-IETF-BGP4-CAP.my RBN-IETF-ALARM-CAP.my
ERICSSON-ROUTER-IETF-BRIDGE-CAP.my RBN-IETF-BFD-STD-CAP.my
ERICSSON-ROUTER-IETF-DS1-CAP.my RBN-IETF-BGP4-CAP.my
ERICSSON-ROUTER-IETF-ENTITY-CAP.my RBN-IETF-BGP4V2-CAP.my
ERICSSON-ROUTER-IETF-ETHER-WIS-CAP.my RBN-IETF-BRIDGE-CAP.my
ERICSSON-ROUTER-IETF-EtherLike-CAP.my RBN-IETF-ENTITY-CAP.my
ERICSSON-ROUTER-IETF-FRAME-RELAY-DTE-CAP.my RBN-IETF-ETHER-WIS-CAP.my
ERICSSON-ROUTER-IETF-HC-ALARM-CAP.my RBN-IETF-EtherLike-CAP.my
ERICSSON-ROUTER-IETF-HC-RMON-CAP.my RBN-IETF-FRAME-RELAY-DTE-CAP.my
ERICSSON-ROUTER-IETF-IF-CAP.my RBN-IETF-IF-CAP.my
ERICSSON-ROUTER-IETF-IP-CAP.my RBN-IETF-IP-CAP.my
ERICSSON-ROUTER-IETF-IP-FORWARD-CAP.my RBN-IETF-IP-FORWARD-CAP.my
ERICSSON-ROUTER-IETF-ISIS-CAP.my RBN-IETF-ISIS-CAP.my
ERICSSON-ROUTER-IETF-ITU-ALARM-CAP.my RBN-IETF-ITU-ALARM-CAP.my
ERICSSON-ROUTER-IETF-MAU-CAP.my RBN-IETF-MAU-CAP.my
ERICSSON-ROUTER-IETF-MPLS-L3VPN-STD-CAP.my RBN-IETF-MPLS-L3VPN-STD-CAP.my
ERICSSON-ROUTER-IETF-OSPF-CAP.my RBN-IETF-OSPF-CAP.my
ERICSSON-ROUTER-IETF-OSPF-TRAP-CAP.my RBN-IETF-OSPF-TRAP-CAP.my
ERICSSON-ROUTER-IETF-OSPFV3-CAP.my RBN-IETF-OSPFV3-CAP.my
ERICSSON-ROUTER-IETF-PING-CAP.my RBN-IETF-PING-CAP.my
ERICSSON-ROUTER-IETF-RADIUS-ACC-CLIENT-CAP.my RBN-IETF-RADIUS-ACC-CLIENT-CAP.my
ERICSSON-ROUTER-IETF-RADIUS-AUTH-CLIENT-CAP.my RBN-IETF-RADIUS-AUTH-CLIENT-CAP.my
ERICSSON-ROUTER-IETF-RMON-CAP.my RBN-IETF-RMON-CAP.my
ERICSSON-ROUTER-IETF-SNMP-FRAMEWORK-CAP.my RBN-IETF-SNMP-FRAMEWORK-CAP.my
ERICSSON-ROUTER-IETF-SNMP-MPD-CAP.my RBN-IETF-SNMP-MPD-CAP.my
ERICSSON-ROUTER-IETF-SNMP-NOTIFICATION-CAP.my RBN-IETF-SNMP-NOTIFICATION-CAP.my
ERICSSON-ROUTER-IETF-SNMP-TARGET-CAP.my RBN-IETF-SNMP-TARGET-CAP.my
ERICSSON-ROUTER-IETF-SNMPv2-CAP.my RBN-IETF-SNMPv2-CAP.my
ERICSSON-ROUTER-IETF-SNMPv3-USM-CAP.my RBN-IETF-SNMPv3-USM-CAP.my
ERICSSON-ROUTER-IETF-SNMPv3-VACM-CAP.my RBN-IETF-SNMPv3-VACM-CAP.my
ERICSSON-ROUTER-IETF-SONET-CAP.my RBN-IETF-SONET-CAP.my
ERICSSON-ROUTER-IETF-TCP-CAP.my RBN-IETF-TCP-CAP.my
ERICSSON-ROUTER-IETF-TRACEROUTE-CAP.my RBN-IETF-TRACEROUTE-CAP.my
ERICSSON-ROUTER-IETF-UDP-CAP.my RBN-IETF-UDP-CAP.my
ERICSSON-ROUTER-IETF-VRRP-CAP.my RBN-IETF-VRRP-CAP.my
ERICSSON-ROUTER-IETF-VRRPV3-CAP.my RBN-IETF-VRRPV3-CAP.my
ERICSSON-ROUTER-IF-CAP.my RBN-IF-CAP.my
ERICSSON-ROUTER-IF-MIB.my RBN-IF-MIB.my
ERICSSON-ROUTER-IP-BIND-CAP.my RBN-IP-BIND-CAP.my
ERICSSON-ROUTER-IP-BIND-MIB.my RBN-IP-BIND-MIB.my
ERICSSON-ROUTER-IP-SECURITY-CAP.my RBN-IP-SECURITY-CAP.my
ERICSSON-ROUTER-IP-SECURITY-MIB.my RBN-IP-SECURITY-MIB.my
ERICSSON-ROUTER-IPPOOL-CAP.my RBN-IPPOOL-CAP.my
ERICSSON-ROUTER-IPPOOL-MIB.my RBN-IPPOOL-MIB.my
ERICSSON-ROUTER-ISSU-CAP.my RBN-L2TP-CAP.my
ERICSSON-ROUTER-ISSU-MIB.my RBN-L2TP-MIB.my
ERICSSON-ROUTER-ISSU-TC-MIB.my RBN-L2VPN-CAP.my
ERICSSON-ROUTER-L2TP-CAP.my RBN-L2VPN-MIB.my
ERICSSON-ROUTER-L2TP-MIB.my RBN-LAG-CAP.my
ERICSSON-ROUTER-L2VPN-CAP.my RBN-LAG-MIB.my
ERICSSON-ROUTER-L2VPN-MIB.my RBN-MASTER-AGENT-CAP.my
ERICSSON-ROUTER-LAG-CAP.my RBN-MASTER-AGENT-MIB.my
ERICSSON-ROUTER-LAG-MIB.my RBN-MASTER-MIB.my
ERICSSON-ROUTER-LDAP-CAP.my RBN-MC-LAG-CAP.my
ERICSSON-ROUTER-LDAP-MIB.my RBN-MC-LAG-MIB.my
ERICSSON-ROUTER-LICENSE-MGR-CAP.my RBN-MEDIA-GATEWAY-CAP.my
ERICSSON-ROUTER-LICENSE-MGR-MIB.my RBN-MEDIA-GATEWAY-MIB.my
ERICSSON-ROUTER-LLDP-V2-CAP.my RBN-MEMORY-CAP.my
ERICSSON-ROUTER-MASTER-AGENT-CAP.my RBN-MEMORY-MIB.my
ERICSSON-ROUTER-MASTER-AGENT-MIB.my RBN-MPLS-L3VPN-STD-EXT-MIB.my
ERICSSON-ROUTER-MASTER-MIB.my RBN-NOTIFY-ENHANCE-CAP.my
ERICSSON-ROUTER-MC-LAG-CAP.my RBN-NOTIFY-ENHANCE-MIB.my
ERICSSON-ROUTER-MC-LAG-MIB.my RBN-OPTICAL-TRANSCEIVER-CAP.my
ERICSSON-ROUTER-MEDIA-GATEWAY-CAP.my RBN-OPTICAL-TRANSCEIVER-MIB.my
ERICSSON-ROUTER-MEDIA-GATEWAY-MIB.my RBN-PING-CAP.my
ERICSSON-ROUTER-MEMORY-CAP.my RBN-PING-MIB.my
ERICSSON-ROUTER-MEMORY-MIB.my RBN-PRODUCT-MIB.my
ERICSSON-ROUTER-MPLS-L3VPN-STD-EXT-MIB.my RBN-PVC-CAP.my
ERICSSON-ROUTER-NOTIFY-ENHANCE-CAP.my RBN-PVC-MIB.my
ERICSSON-ROUTER-NOTIFY-ENHANCE-MIB.my RBN-Q-BRIDGE-CAP.my
ERICSSON-ROUTER-OPTICAL-TRANSCEIVER-CAP.my RBN-QOS-CAP.my
ERICSSON-ROUTER-OPTICAL-TRANSCEIVER-MIB.my RBN-QOS-MIB.my
ERICSSON-ROUTER-PING-CAP.my RBN-RADIUS-CAP.my
ERICSSON-ROUTER-PING-MIB.my RBN-RADIUS-MIB.my
ERICSSON-ROUTER-PRODUCT-MIB.my RBN-RSTP-CAP.my
ERICSSON-ROUTER-PTP-CAP.my RBN-SFP-CAP.my
ERICSSON-ROUTER-PTP-MIB.my RBN-SFP-MIB.my
ERICSSON-ROUTER-PVC-CAP.my RBN-SMI.my
ERICSSON-ROUTER-PVC-MIB.my RBN-STACKEDVLAN-CAP.my
ERICSSON-ROUTER-Q-BRIDGE-CAP.my RBN-STACKEDVLAN-MIB.my
ERICSSON-ROUTER-QOS-CAP.my RBN-SUBAGENT-CAP.my
ERICSSON-ROUTER-QOS-MIB.my RBN-SUBAGENT-MIB.my
ERICSSON-ROUTER-RADIUS-CAP.my RBN-SUBSCRIBER-ACTIVE-CAP.my
ERICSSON-ROUTER-RADIUS-MIB.my RBN-SUBSCRIBER-ACTIVE-MIB.my
ERICSSON-ROUTER-RSTP-CAP.my RBN-SYS-RESOURCES-CAP.my
ERICSSON-ROUTER-SFP-CAP.my RBN-SYS-RESOURCES-MIB.my
ERICSSON-ROUTER-SFP-MIB.my RBN-SYS-SECURITY-CAP.my
ERICSSON-ROUTER-SLA-CAP.my RBN-SYS-SECURITY-MIB.my
ERICSSON-ROUTER-SLA-MIB.my RBN-TACACS-CAP.my
ERICSSON-ROUTER-SMI.my RBN-TACACS-MIB.my
ERICSSON-ROUTER-STACKEDVLAN-CAP.my RBN-TC.my
ERICSSON-ROUTER-STACKEDVLAN-MIB.my RFC1155-SMI.my
ERICSSON-ROUTER-STACKING-ALARM-CAP.my RFC1213-MIB.my
ERICSSON-ROUTER-STACKING-ALARM-MIB.my RMON-MIB.my
ERICSSON-ROUTER-SUBSCRIBER-ACTIVE-CAP.my RMON2-MIB.my
ERICSSON-ROUTER-SUBSCRIBER-ACTIVE-MIB.my RSTP-MIB.my
ERICSSON-ROUTER-SYS-RESOURCES-CAP.my SNMP-COMMUNITY-MIB.my
ERICSSON-ROUTER-SYS-RESOURCES-MIB.my SNMP-FRAMEWORK-MIB.my
ERICSSON-ROUTER-SYS-SECURITY-CAP.my SNMP-MPD-MIB.my
ERICSSON-ROUTER-SYS-SECURITY-MIB.my SNMP-NOTIFICATION-MIB.my
ERICSSON-ROUTER-TACACS-CAP.my SNMP-PROXY-MIB.my
ERICSSON-ROUTER-TACACS-MIB.my SNMP-RESEARCH-MIB.my
ERICSSON-ROUTER-TC.my SNMP-TARGET-MIB.my
ERICSSON-ROUTER-TWAMP-CAP.my SNMPv2-MIB.my
ERICSSON-ROUTER-TWAMP-MIB.my SNMPv2-SMI.my
ERICSSON-ROUTER-YANG-SERVER-CAP.my SNMPv2-TC.my
ERICSSON-ROUTER-YANG-SERVER-MIB.my SNMPv2-TM.my
ERICSSON-SNF-ALARM-MIB.my SNMPv3-USM-MIB.my
ERICSSON-SNF-EVENT-MIB.my SNMPv3-VACM-MIB.my
ERICSSON-SNF-TOP-MIB.my SONET-MIB.my
ERICSSON-TC-MIB.my TCP-MIB.my
ERICSSON-TOP-MIB.my TOKEN-RING-RMON-MIB.my
ETHER-WIS.my TRACEROUTE-MIB.my
EtherLike-MIB.my TRANSPORT-ADDRESS-MIB.my
FRAME-RELAY-DTE-MIB.my UDP-MIB.my
HC-ALARM-MIB.my USM-TARGET-TAG-MIB.my
HC-RMON-MIB.my VPN-TC-STD-MIB.my
HCNUM-TC.my VRRP-MIB.my
HOST-RESOURCES-MIB.my VRRPV3-MIB.my
HOST-RESOURCES-TYPES.my
and then on upgrade this is the output I see:
microk8s kubectl logs -f pod/snmp-mibserver-c8dbbb57f-4rcft -n sc4snmp
**********************************
Found local mibs. Compiling...
**********************************
mkdir -p output/asn1/ || true
mkdir -p output/texts/ || true
mkdir -p output/notexts/ || true
mkdir -p output/json/ || true
mkdir -p log || true
find src/vendor -type d -maxdepth 1 -mindepth 1 | sort >list.tmp
while read line; do ./scripts/localmibs.sh "$line"; done < list.tmp
src/vendor/ERICSSON
Compiling src/vendor/ERICSSON/ERICSSON-ROUTER-NOTIFY-ENHANCE-CAP.my
src/vendor/ERICSSON/NOTIFICATION-LOG-MIB.my
src/vendor/ERICSSON/._RBN-QOS-CAP.my
src/vendor/ERICSSON/RBN-CPU-METER-MIB.my
src/vendor/ERICSSON/._ERICSSON-ROUTER-IETF-SNMP-NOTIFICATION-CAP.my
src/vendor/ERICSSON/._RBN-IETF-BFD-STD-CAP.my
src/vendor/ERICSSON/._IEEE8021-CFM-MIB.my
src/vendor/ERICSSON/ERICSSON-ROUTER-IETF-IF-CAP.my
...
Hi, having some issues getting local mibs to load. I think I'm following the docs correctly. Using a local user, kube-user, to run the containers with local mibs stored in their home directory.
Logs show the following message on restart:
No local mibs. Skipping...
containers are at the following versions (happy to run further commands to troubleshoot): ghcr.io/pysnmp/mibs/container:1.15.1 ghcr.io/splunk/splunk-connect-for-snmp/container:1.8.7-beta.2
values.yaml is as follows:
Any assistance in how to further troubleshoot/resolve the issue would be greatly appreciated as the SNMP data I have managed to get into Splunk has been really useful, but I would love to use proprietary MIBs as well.