管理 Linux 主機

    內容表格
    1. 1. CentOS 5/6

    版本為 15:46, 15 Jan 2025

    到這個版本。

    返回到 版本存檔.

    查閱目前版本

    CentOS 5/6

    在管理主機上)
    /etc/snmp/snmpd.conf:

    #       sec.name  source          community
    #com2sec notConfigUser  default       public
    # added by alang
    com2sec notConfigUser  default       YOURCOMPANY
    
    #       groupName      securityModel securityName
    group   notConfigGroup v1           notConfigUser
    group   notConfigGroup v2c           notConfigUser
    
    # Make at least  snmpwalk -v 1 localhost -c public system fast again.
    #       name           incl/excl     subtree         mask(optional)
    view    systemview    included   .1.3.6.1.2.1.1
    view    systemview    included   .1.3.6.1.2.1.25.1.1
    #added by alang
    view    all           included   .1
    
    ####
    # Finally, grant the group read-only access to the systemview view.
    
    #       group          context sec.model sec.level prefix read   write  notif
    #access  notConfigGroup ""      any       noauth    exact  systemview none none
    # added by alang
    access  notConfigGroup ""      any       noauth    exact  all none none 
    

    在 Cacti 主機上)

    Cacti Admin >

    Powered by MindTouch Core