Question : Cant get net-snmp snmpget working - Unknown Host Error ?

I am trying to get snmpget working. The following generates the errors shown

G:\Software\SNMP\net-snmp\bin>Snmpget -v 2c -c public 192.168.1.7 system.sysDescr.0
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 (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 (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-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-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
snmpget: Unknown host (No such file or directory)

G:\Software\SNMP\net-snmp\bin>


I have tried these

For a DLINK firewall:

      snmpget -v2c -c public 192.168.0.1 system.sysDescr.0

For a Cisco firewall:

      Snmpget –v1 –c public 192.168.1.1 system.sysDescr.0

For an XP PC:

      snmpget -v1 -Cf -c public 192.168.1.7 system.sysDescr.0

For a Windows 2003 PC:

      snmpget -v1 -Cf -c public 192.168.1.249 system.sysDescr.0


But always the same. Is there some kind of initialisation of the PC I need to do? The cisco firewall I issued a

snmp-server  host  192.168.1.12   poll
      
which it accepted but the problem still exists. I have started the two snmp services on the issuing PC

Answer : Cant get net-snmp snmpget working - Unknown Host Error ?

Hi,

Your solution please read this forum

http://forums.cacti.net/about5563.html&highlight=

http://forums.cacti.net/viewtopic.php?t=5555
Random Solutions  
 
programming4us programming4us