Ad Widget

Collapse

SNMP Error : cannot retrieve OID - time out

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vino92130
    Junior Member
    • Sep 2025
    • 1

    #1

    SNMP Error : cannot retrieve OID - time out

    Hello everyone
    I hope you are all well.
    I am new to Zabbix, but I have completed a Zabbix training course. I am the only one in my team studying Zabbix. I am teaching myself.


    Today, I am having a problem with SNMP.

    I use Hyper-V to virtualize my servers/desktops.
    I have successfully installed the Zabbix server v7.4.1 192.168.1.20 and a desktop VM 192.168.1.23.
    Both are running Ubuntu 24.04.3.
    I have installed and configured SNMP monitoring on the VM:
    - sudo apt install snmp -y
    - sudo apt install snmp snmpd libsnmp-dev
    - sudo systemctl stop snmpd
    - sudo net-snmp-config --create-snmpv3-user -ro -a SHA-512 -A myauthphrase -x AES -X myprivphrase authPrivUser
    - sudo systemctl start snmpd
    - sudo systemctl status snmpd
    - sudo nano /etc/snmp/snmpd.conf
    >> Comment the line: #agentaddress 127.0.0.1,[::1]
    >> Add: agentaddress 192.168.1.23



    Other importants lines active by default...




    Command to test the correct SNMP configuration on the VM:
    snmpget -v 3 -u authPrivUser -l authpriv -a SHA-512 -A myauthphrase -x AES -X myprivphrase 192.168.1.23 1.3.6.1.2.1.1.1.0


    I installed SNMP on the Zabbix server :
    - sudo apt install snmp -y

    Command to test the correct SNMP configuration on the Zabbix server:
    snmpget -v 3 -u authPrivUser -l authpriv -a SHA-512 -A myauthphrase -x AES -X myprivphrase 192.168.1.23 1.3.6.1.2.1.1.1.0

    I created a host on the Zabbix server and set its configuration.
    ​​​
    ​​​
    ​I am receiving an error message: “Probe successful, cannot retrieve OID: ‘.1.3.6.1.4.1.2021.4.3.0’ from [[192.168.1.23]:161]:time out.”
    The SNMP icon is red.​ ​​

    What can I do to make the SNMP icon turn green in the Zabbix server? I can't find the error in my configuration.
    Thank you in advance for your help.​
  • Grant Doolittle
    Junior Member
    • Nov 2025
    • 2

    #2
    I'm getting the exact same "Probe successful, cannot retrieve OID" error however this is on a Cisco ASR-1002-X router. It seems like it can connect as the icon will sometimes be green for a bit if I make a significant change to the SNMP user, but then after that it will go back to red with that error.
    I'm still looking for a solution to this myself.

    Comment

    • BP_Vital
      Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Feb 2016
      • 42

      #3
      Just a quick guess - you try to snmpget 1.3.6.1.2.1.1.1.0 from terminal and Zabbix can't retrieve 1.3.6.1.4.1.2021.4.3.0.
      Could you try to snmpget 1.3.6.1.4.1.2021.4.3.0 from terminal?

      Comment

      • Grant Doolittle
        Junior Member
        • Nov 2025
        • 2

        #4
        Because of how things are at the moment I don't have access to the terminal to test that.
        I was able to resolve the issue by using only auth instead of authpriv. For some reason Cisco SNMP and Zabbix 7.0.21 seem to have an issue communicating if I use Priv on V3.

        Comment

        Working...