SNMP Local MIBS Help
SNMP Local MIBS Help
So I have a Pulse Secure device that I want to monitor. I have the MIB file and know what OIDs I want to monitor. Whenever I run snmpwalk... I get the following error.
[root@montest mibs]# snmpwalk -v2c -c public 133.40.169.57 .1.3.6.1.4.1.12532.11
MIB search path: /usr/share/snmp/mibs
Cannot find module (PULSESECURE-PSG-MIB.txt): At line 0 in (none)
SNMPv2-SMI::enterprises.12532.11.0 = Gauge32: 3
I still get the answer, but I don't know why it's saying Cannot find module. I also notice numbers instead of what it is. How do I fix this?
[root@montest mibs]# snmpwalk -v2c -c public 133.40.169.57 .1.3.6.1.4.1.12532.11
MIB search path: /usr/share/snmp/mibs
Cannot find module (PULSESECURE-PSG-MIB.txt): At line 0 in (none)
SNMPv2-SMI::enterprises.12532.11.0 = Gauge32: 3
I still get the answer, but I don't know why it's saying Cannot find module. I also notice numbers instead of what it is. How do I fix this?
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: SNMP Local MIBS Help
i suspect in one of your config files you are referencing PULSESECURE-PSG-MIB.txt, and it can't find it. you can probably run something like grep -R "*PULSESECURE-PSG-MIB.txt*" /usr/share/snmp/mibs to help locate where.
Re: SNMP Local MIBS Help
grep -R "*PULSESECURE-PSG-MIB.txt*" /usr/share/snmp/mibs doesn't return anything.
Re: SNMP Local MIBS Help
I would guess that the PULSESECURE-PSG-MIB.txt MIB file is corrupted on the server and should be replaced with a good copy.
Both of the issues, the error message and that the text it not being returned by the check points to a bad file.
After replacing it, the snmpwalk should work like expected.
Both of the issues, the error message and that the text it not being returned by the check points to a bad file.
After replacing it, the snmpwalk should work like expected.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: SNMP Local MIBS Help
This is also happening with other OIDs? Does that mean those other MIBs are corrupted too?
[root@montest mibs]# snmptranslate 1.3.6.1.2.1.43.11.1.1.6.1
SNMPv2-SMI::mib-2.43.11.1.1.6.1
[root@montest mibs]# snmptranslate 1.3.6.1.2.1.43.11.1.1.6.1
SNMPv2-SMI::mib-2.43.11.1.1.6.1
Re: SNMP Local MIBS Help
They are either corrupted or they are not installed on the system.
For most devices, you would have to install the MIB file on the server so the commands can translate the numerical OID's to the descriptive name.
Also, when running the commands, you may have to tell it to search all of the MIB files by adding the -m ALL option.
Try this example if the MIB file is installed on the server.
For most devices, you would have to install the MIB file on the server so the commands can translate the numerical OID's to the descriptive name.
Also, when running the commands, you may have to tell it to search all of the MIB files by adding the -m ALL option.
Try this example if the MIB file is installed on the server.
Code: Select all
snmptranslate 1.3.6.1.2.1.43.11.1.1.6.1 -m ALL
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: SNMP Local MIBS Help
So I redownloaded the MIB file. When I do an snmpwalk, it doesn't show all PULSESECURE-PSG-MIB information. When I put in a specific object ID, it works. When I run snmpget for the same thing. it doesn't.
[root@montest mibs]# snmpwalk -v2c -c public summitssl clusterConcurrentUsers
PULSESECURE-PSG-MIB::clusterConcurrentUsers.0 = Gauge32: 0
[root@montest mibs]# snmpget -v2c -c public summitssl clusterConcurrentUsers
PULSESECURE-PSG-MIB::clusterConcurrentUsers = No Such Instance currently exists at this OID
[root@montest mibs]# snmpwalk -v2c -c public summitssl clusterConcurrentUsers
PULSESECURE-PSG-MIB::clusterConcurrentUsers.0 = Gauge32: 0
[root@montest mibs]# snmpget -v2c -c public summitssl clusterConcurrentUsers
PULSESECURE-PSG-MIB::clusterConcurrentUsers = No Such Instance currently exists at this OID
Re: SNMP Local MIBS Help
The message "No Such Instance currently exists at this OID" means that the device is either not responding to SNMP polls or that the device doesn't support that specific OID.
One thing to try is to run a snmpwalk and not specify an OID.
The above example, it the device is configured correctly should return some data from the device.
Check the output to see if the OID you want to poll is in the output.
One thing to try is to run a snmpwalk and not specify an OID.
Code: Select all
snmpwalk -v2c -c public summitssl -m ALL
Check the output to see if the OID you want to poll is in the output.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: SNMP Local MIBS Help
When I run that, I don't even see anything from the PULSESECURE-PSG-MIB
Re: SNMP Local MIBS Help
Then I am guessing that the device doesn't support those OIDs and you would have to contact the manufacturer to see what it does support.
Be sure to check out our Knowledgebase for helpful articles and solutions!