Junos
Highlighted
Junos

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

[ Edited ]
‎01-07-2018 06:39 PM

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

4 REPLIES 4
Highlighted
Junos

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

‎01-07-2018 11:55 PM

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

-Python JNCIE 3X [SP|DC|ENT] JNCIP-SEC JNCDS 3X [ WAN | DC|SEC] JNCIS-Cloud JNCIS-DevOps CCIP ITIL
#Please mark my solution as accepted if it helped, Kudos are appreciated as well.
Junos
Solution
Accepted by topic author anh.vt
‎01-14-2018 07:24 AM

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

‎01-08-2018 12:02 AM

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

-Python JNCIE 3X [SP|DC|ENT] JNCIP-SEC JNCDS 3X [ WAN | DC|SEC] JNCIS-Cloud JNCIS-DevOps CCIP ITIL
#Please mark my solution as accepted if it helped, Kudos are appreciated as well.
Highlighted
Junos

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

‎01-08-2018 02:54 AM

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?

 

Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
http://puluka.com/home
Highlighted
Junos

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

[ Edited ]
‎01-14-2018 07:25 AM

Thanks so much,

it works normally again after i restart mib2d process !

Feedback