Junos OS

Expand all | Collapse all

MX960 with Junos: 15.1R6-S4 can not get snmp !

Jump to Best Answer
  • 1.  MX960 with Junos: 15.1R6-S4 can not get snmp !

    Posted 01-07-2018 18:40

    Hi everyone,

    we just upgrade our MX960 to Junos: 15.1R6-S4. Everythings is ok but our cacti and solarwind can not get snmp from it anymore (almost).

    I include the images of solarwind when i remove the device and add it again ! the same result on cacti ! I try to "get" or "walk" some oids on this MX960 but it it does not work !

     

    SNMP conf:

    MX960> show configuration snmp
    name MX960;
    location xxxx;
    contact xxxx;
    filter-duplicates;
    community xxxx{
    authorization read-only;
    clients {
    x.x.x.x;
    }
    }
    routing-instance-access;

     

    MX960> show snmp mib walk .1.3.6.1.2.1.1.2
    sysObjectID.0 = jnxProductNameMX960

     

    MX960> show snmp mib get ifInOctets
    Request failed: General error

    {master}
    MX960> show snmp mib get-next ifInOctets
    Request failed: General error

    MX960> show snmp mib walk ifInOctets
    Request failed: General error

    MX960> show snmp mib get .1.3.6.1.2.1.2.2.1.10
    Request failed: General error

    {master}
    MX960> show snmp mib walk .1.3.6.1.2.1.2.2.1.10
    Request failed: General error

     

    Thanks for any help !

     

    solarwind.pngsolarwind2.png



  • 2.  RE: MX960 with Junos: 15.1R6-S4 can not get snmp !

     
    Posted 01-07-2018 23:55

    Hi Folks,

    Please find the list of next action plan to further isolate the behavior,

     

    Step 1:

    Please let me know if snmpd and mib2d are running in the box.

     

    show system processes extensive | match "mib|snmp"

     

    Step 2:

    Sample snmpwalk:

     

    Try if the below command works,

     

    show snmp mib walk jnxBoxAnatomy

     

    Step 3:

     

    Run the command and let me know if the snmp indexes are seen,

     

    show interfaces extensive | match snmp



  • 3.  RE: MX960 with Junos: 15.1R6-S4 can not get snmp !
    Best Answer

     
    Posted 01-08-2018 00:02

    To add.. Try restarting the mib2d/snmpd process

     

    Step 1:Take the PID for reference,

    show system processes extensive | match "mib|snmp"          

     1320 root        1  96    0 20464K  8312K select   0:35  0.00% mib2d

     1321 root        1  96    0 15248K  9900K select   0:14  0.00% snmpd

     

    Step 2: Restart the process

     

    restart snmp immediately

    restart mib-process immediately

     

    Step 3: confirm the process are up with the new PID

    show system processes extensive | match "mib|snmp"  

    71731 root        1  96    0 15228K  9684K select   0:00  0.00% snmpd

    71705 root        1  96    0 20432K  8344K select   0:00  0.00% mib2d



  • 4.  RE: MX960 with Junos: 15.1R6-S4 can not get snmp !

    Posted 01-14-2018 07:26

    Thanks so much,

    it works normally again after i restart mib2d process !



  • 5.  RE: MX960 with Junos: 15.1R6-S4 can not get snmp !

     
    Posted 01-08-2018 02:55

    Can you run

     

    show snmp statistics

     

    and setup trace options to collect data.

     

    https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/snmp-traceoptions.html

     

    I also notice you have routing instances enabled.  Are solar winds and cacti connecting to a routing instance?