Ad Widget

Collapse

Question about the monitoring incomming traffic with snmp on CENTOS7.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rodrigo.toor.rj
    Junior Member
    • Apr 2021
    • 8

    #1

    Question about the monitoring incomming traffic with snmp on CENTOS7.

    Dears, I have a Centos 7.
    I want monitoring incoming traffic on enp0s8 port with snmp.I configured the setup bellow :


    Code:
    [SIZE=10px][FONT=Arial]# Map '209ijvfwer0df92jd' community to the 'AllUser'
    # sec.name source community
    com2sec ConfigUser default idv90we3rnov90wer
    com2sec AllUser default 209ijvfwer0df92jd
    # Map 'ConfigUser' to 'ConfigGroup' for SNMP Version 2c
    # Map 'AllUser' to 'AllGroup' for SNMP Version 2c
    # sec.model sec.name
    group ConfigGroup v2c ConfigUser
    group AllGroup v2c AllUser
    # Define 'SystemView', which includes everything under .1.3.6.1.2.1.1 (or .1.3.6.1.2.1.25.1)
    # Define 'AllView', which includes everything under .1
    # incl/excl subtree
    view SystemView included .1.3.6.1.2.1.1
    view SystemView included .1.3.6.1.2.1.25.1.1
    view AllView included .1
    # Give 'ConfigGroup' read access to objects in the view 'SystemView'
    # Give 'AllGroup' read access to objects in the view 'AllView'
    # context model level prefix read write notify
    access ConfigGroup "" any noauth exact SystemView none none
    access AllGroup "" any noauth exact AllView none none[/FONT][/SIZE]
    This system is up, but I don’t know how find the specific OID to monitoring this item.
    I used the command bellow to check-up snmp oid, but the report is not clear about incoming traffic on enp0s8.
    I saw this article on zabbix blog[1], but I did not understand which one should be select to each item key.

    For this command line:
    $snmpwalk -v 2c -c idv90we3rnov90wer -O e 127.0.0.1
    Report bellow:
    Click image for larger version  Name:	@0705.PNG Views:	0 Size:	105.8 KB ID:	424251
    For this command line:
    $snmpwalk -v 2c -c 209ijvfwer0df92jd -O e 127.0.0.1
    Report bellow:
    Click image for larger version  Name:	0705V2.PNG Views:	0 Size:	120.0 KB ID:	424252

    Click image for larger version  Name:	0705V3.PNG Views:	0 Size:	135.7 KB ID:	424253
Working...