Такая беда - cacti в загрузках интерфесов juniper'а ничего не рисует, вообще. При тыкании в «SNMP - Interface Statistics (Verbose Query)» кажет:
+ Running data query [1].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP get for num of indexes @ '.1.3.6.1.2.1.2.1.0' Index Count:
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1' Index Count: 0
+ No SNMP data returned
I have resolved my problem.
snmp.c in php5-snmp has max-repetition hard coded to 20.
pdu->max_repetitions = 20;
I decreased this to 15 and recompiled php5-snmp, restarted apache and the snmp queries now work within cacti.
Juniper MX80 and RE2000 (MX240/480/960) as at JunOS 11.X. The Juniper routers do no respond if the max-rep is above 17.
tjh
pdu->max_repetitions = 10;