Activate SNMP in Mikrotik RouterBoard via menu IP | SNMP | + | Name : serpong
Test from remote computer (MRTG Server)
[root@localhost ~]# snmpget -v 1 -c serpong 192.168.131.1 1.3.6.1.2.1.1.1.0
SNMPv2-MIB::sysDescr.0 = STRING: router
[root@localhost ~]# snmpwalk -v 1 -c serpong 192.168.131.1 system
SNMPv2-MIB::sysDescr.0 = STRING: router
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.14988.1
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (672645300) 77 days, 20:27:33.00
SNMPv2-MIB::sysContact.0 = STRING: msmunir
SNMPv2-MIB::sysName.0 = STRING: Router2
SNMPv2-MIB::sysLocation.0 = STRING: serpong2
SNMPv2-MIB::sysServices.0 = INTEGER: 78
[root@localhost ~]# snmpwalk -v 1 -c serpong 192.168.131.1
SNMPv2-MIB::sysDescr.0 = STRING: router
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.14988.1
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (672643200) 77 days, 20:27:12.00
SNMPv2-MIB::sysContact.0 = STRING: msmunir
SNMPv2-MIB::sysName.0 = STRING: Router2
SNMPv2-MIB::sysLocation.0 = STRING: serpong2
SNMPv2-MIB::sysServices.0 = INTEGER: 78
IF-MIB::ifNumber.0 = INTEGER: 4
IF-MIB::ifIndex.14 = INTEGER: 14
IF-MIB::ifIndex.15 = INTEGER: 15
IF-MIB::ifIndex.16 = INTEGER: 16
dst ...
No comments:
Post a Comment