From: Mohsen P. <mo...@pa...> - 2015-02-22 06:47:52
|
In both machines i changed snmp.conf (not snmpd.con) to : mibs +ALL mibdirs +/var/lib/mibs/iana/ mibdirs +/var/lib/mibs/ietf/ mibdirs +/usr/share/snmp/mibs/ On 02/21/2015 09:30 PM, Mohsen Pahlevanzadeh wrote: I have the following scenario: IP address : 192.168.1.4 has net-snmp on /opt/net-snmp and i installed snmpd package, IP address 192.168.1.10 has cacti . When i use on 1.4 : /opt/net-snmp/bin/snmpwalk -v 2c -c public localhost system SNMPv2-MIB::sysDescr.0 = STRING: Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt4-3 (2015-02-03) x86_64 SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (98033) 0:16:20.33 SNMPv2-MIB::sysContact.0 = STRING: Me [1][1]<me...@ex...> SNMPv2-MIB::sysName.0 = STRING: debian SNMPv2-MIB::sysLocation.0 = STRING: Sitting on the Dock of the Bay SNMPv2-MIB::sysServices.0 = INTEGER: 72 SNMPv2-MIB::sysORLastChange.0 = Timeticks: (1) 0:00:00.01 SNMPv2-MIB::sysORID.1 = OID: SNMP-MPD-MIB::snmpMPDCompliance SNMPv2-MIB::sysORID.2 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance SNMPv2-MIB::sysORID.3 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB SNMPv2-MIB::sysORID.5 = OID: TCP-MIB::tcpMIB SNMPv2-MIB::sysORID.6 = OID: IP-MIB::ip SNMPv2-MIB::sysORID.7 = OID: UDP-MIB::udpMIB SNMPv2-MIB::sysORID.8 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup SNMPv2-MIB::sysORID.9 = OID: SNMP-NOTIFICATION-MIB::snmpNotifyFullCompliance SNMPv2-MIB::sysORID.10 = OID: NOTIFICATION-LOG-MIB::notificationLogMIB SNMPv2-MIB::sysORDescr.1 = STRING: The MIB for Message Processing and Dispatching. SNMPv2-MIB::sysORDescr.2 = STRING: The management information definitions for the SNMP User-based Security Model. SNMPv2-MIB::sysORDescr.3 = STRING: The SNMP Management Architecture MIB. SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for SNMPv2 entities SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing TCP implementations SNMPv2-MIB::sysORDescr.6 = STRING: The MIB module for managing IP and ICMP implementations SNMPv2-MIB::sysORDescr.7 = STRING: The MIB module for managing UDP implementations SNMPv2-MIB::sysORDescr.8 = STRING: View-based Access Control Model for SNMP. SNMPv2-MIB::sysORDescr.9 = STRING: The MIB modules for managing SNMP Notification, plus filtering. SNMPv2-MIB::sysORDescr.10 = STRING: The MIB module for logging SNMP Notifications. SNMPv2-MIB::sysORUpTime.1 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::sysORUpTime.2 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::sysORUpTime.3 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::sysORUpTime.4 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::sysORUpTime.5 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::sysORUpTime.6 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::sysORUpTime.7 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::sysORUpTime.8 = Timeticks: (1) 0:00:00.01 SNMPv2-MIB::sysORUpTime.9 = Timeticks: (1) 0:00:00.01 SNMPv2-MIB::sysORUpTime.10 = Timeticks: (1) 0:00:00.01 But When i use above command on 1.10 , i get the root@lvm:/etc/cacti# snmpwalk -v 2c -c public 192.168.1.4 system system: Unknown Object Identifier (Sub-id not found: (top) -> system) root@lvm:/etc/cacti# snmpwalk -v 2c -c public 192.168.1.4 Timeout: No Response from 192.168.1.4 Even when i want to define device on 1.10 , i get the SNMP error --Regards, Mohsen On 02/21/2015 07:01 PM, Paul Gevers wrote: The question is a little bit weird, but I guess it depends on how you installed cacti and on what distribution (or operating system) you are working. So please provide more information if you want a proper answer. Paul On 21-02-15 16:21, Mohsen Pahlevanzadeh wrote: Dear All, I installed Cacti, But i don't know how install as snmp : snmd , net-snmpd or so on...? Do i have to install snmp in any agent? --Regards Mohsen ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE [2][2]http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clk trk _______________________________________________ cacti-user mailing list [[3]3]cac...@li... [4][4]https://lists.sourceforge.net/lists/listinfo/cacti-user ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE [5][5]http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clk trk _______________________________________________ cacti-user mailing list [[6]6]cac...@li... [7][7]https://lists.sourceforge.net/lists/listinfo/cacti-user References 1. [8]mailto:me...@ex... 2. [9]http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg. clktrk 3. [10]mailto:cac...@li... 4. [11]https://lists.sourceforge.net/lists/listinfo/cacti-user 5. [12]http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg .clktrk 6. [13]mailto:cac...@li... 7. [14]https://lists.sourceforge.net/lists/listinfo/cacti-user ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE [15]http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktr k _______________________________________________ cacti-user mailing list [16]cac...@li... [17]https://lists.sourceforge.net/lists/listinfo/cacti-user References 1. mailto:me...@ex... 2. http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk 3. mailto:3]cac...@li... 4. https://lists.sourceforge.net/lists/listinfo/cacti-user 5. http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk 6. mailto:6]cac...@li... 7. https://lists.sourceforge.net/lists/listinfo/cacti-user 8. mailto:me...@ex... 9. http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk 10. mailto:cac...@li... 11. https://lists.sourceforge.net/lists/listinfo/cacti-user 12. http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk 13. mailto:cac...@li... 14. https://lists.sourceforge.net/lists/listinfo/cacti-user 15. http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk 16. mailto:cac...@li... 17. https://lists.sourceforge.net/lists/listinfo/cacti-user |