SNMP - snmpwalk not working 100%
Hello
2 machines (one of them working as a server to monitor the network with IP 192.168.100.110 and the other one to be monitored with IP address 192.168.100.1): In the first machine: snmpwalk -v1 localhost -c public sysName (working fine) snmpwalk -v1 192.168.100.1 -c public sysName (don't works -> Timeout: No Response from 192.168.100.1) In the monitored machine: snmpwalk -v1 192.168.100.110 -c public sysName (it works) snmpwalk -v1 localhost -c public sysName (dont works -> Timeout: No Response from localhost) Any ideas? thank you |
Hi aocferreira,
what you setup in your SNMP configuration file? can you post it here? |
Hello sem007,
Thanks for your reply. Now it's working, at least there is a connection between the 2 machines. But i still have a problem with MIBs, any idea? snmpwalk -v1 -c public 192.168.100.1 system No log handling enabled - using stderr logging MIB search path: /root/.snmp/mibs:/usr/local/share/snmp/mibs Cannot find module (HOST-RESOURCES-MIB.txt): At line 0 in (none) End of MIB snmpwalk -v1 -c public 192.168.100.110 system MIB search path: /usr/share/snmp/mibs Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none) Cannot find module (UCD-DLMOD-MIB): At line 0 in (none) Cannot find module (UCD-DISKIO-MIB): At line 0 in (none) Cannot find module (LM-SENSORS-MIB): At line 0 in (none) Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (SNMPv2-SMI): At line 0 in (none) Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none) Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none) Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none) Cannot find module (UCD-SNMP-MIB): At line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none) Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none) Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module (SNMP-MPD-MIB): At line 0 in (none) Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none) Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module (IPV6-ICMP-MIB): At line 0 in (none) Cannot find module (IPV6-MIB): At line 0 in (none) Cannot find module (IPV6-TCP-MIB): At line 0 in (none) Cannot find module (IPV6-UDP-MIB): At line 0 in (none) Cannot find module (IP-FORWARD-MIB): At line 0 in (none) Cannot find module (NET-SNMP-PASS-MIB): At line 0 in (none) Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none) Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none) Cannot find module (SNMPv2-TM): At line 0 in (none) Cannot find module (NET-SNMP-VACM-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-MIB.txt): At line 0 in (none) system: Unknown Object Identifier (Sub-id not found: (top) -> system) I think this was not happening in the beginning but i had a problem because I could only fetch values from SNMPv2-MIB.txt and not from the other modules.. |
Quote:
Copy this file from working machine or reinstall net-snmp package. HTH |
My Question us with SNMPSET....
SNMPSET is also not working..... i am trying with snmpset -r 0 -t 1 -v 1 -c public 127.0.0.1 MYTEST-MIB::highCpuUsage.0 i `date +%s` but its not working its give MESSAGE : Error in packet. Reason: (noSuchName) There is no such variable name in this MIB. Failed object: MYTEST-MIB::highCpuUsage.0 |
Hi dashang.trivedi,
do not hijack other member's post and post question in only one forum. You have already post your question here |
Extremly Sorry for that....
i am just try to solve my question..., |
All times are GMT -5. The time now is 02:44 AM. |