使用cacti监控juniper交换机

1、配置juniper交换机的snmp

admin@EX4200-24T# set snmp community ex-public authorization read-only

admin@EX4200-24T# set snmp community ex-public clients 192.168.1.2

admin@EX4200-24T# edit snmp trap-group snmptrap  

{master:0}[edit snmp trap-group snmptrap]

admin@EX4200-24T# set categories authentication

{master:0}[edit snmp trap-group snmptrap]

admin@EX4200-24T# set categories chassis

{master:0}[edit snmp trap-group snmptrap]

admin@EX4200-24T# set categories link      

{master:0}[edit snmp trap-group snmptrap]

admin@EX4200-24T# set categories startup

{master:0}[edit snmp trap-group snmptrap]

admin@EX4200-24T# set categories vrrp-events

{master:0}[edit snmp trap-group snmptrap]

admin@EX4200-24T# set targets 192.168.1.2      

{master:0}[edit snmp trap-group snmptrap]

admin@EX4200-24T# commit

configuration check succeeds

commit complete

{master:0}[edit snmp trap-group snmptrap]

admin@EX4200-24T#     

 

2、在cacti主机添加juniper交换机,添加方法同上