Hi,

I'm able to compile the code with basic settings.

My Configuration:

net-snmp version: net-snmp-5.4.2.1
environment: cygwin
operating system: windows XP

Now i would like to run the snmp agent on windows.

I created a snmpd.conf file in /usr/local/share/snmp
with following entry:

rocommunity  private

When i tried to do a snmpget i'm getting the following error.
$ snmpget -c private localhost sysUpTime
Timeout: No Response from localhost.

and when i do a snmpget for netSnmpExampleInteger, i'm getting the following
error: (i have compiled this by
including in ./configure ... -with-mib-modules"examples/static_int")
$ snmpget -c private localhost netSnmpExampleInteger.0
netSnmpExampleInteger.0: Unknown Object Identifier (Sub-id not found: (top)
-> netSnmpExampleInteger
)

I'm not sure whether snmp agent is running or not. How can i check this.
I make sure that snmp port is not blocked (I allowed UDP port 161 in
firewall settings).

Can any one help me out in resolving this issue. Thanks in advance.
------------------------------------------------------------------------------

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to