Den 04-01-2013 19:29, Suna Sana skrev:
> I used the linux machine ip address(192.168.1.90) on the mib browser in
> windows. this ip address is pinging good.
What is the IP address of the Windows machine?
Is there a firewall in between, or on the Linux host, that blocks SNMP?
/Niels
--
Niels Bag
On 4 January 2013 19:19, Niels Baggesen wrote:
Is there a firewall . on the Linux host, that blocks SNMP?
That was my immediate reaction too.
If you're running iptables, and haven't tweaked the default settings,
it probably only accepts incoming requests for specific, known services
(which
Its only responding to the loopback 127.0.0.1 not even for the local linux
ip(192.168.1.90) too.
snmpget -v2c -c public 127.0.0.1 1.3.6.1.2.1.1.1.0
SNMPv2-MIB::sysDescr.0 = STRING: Linux xxx
snmpget -v2c -c public 192.168.1.90 1.3.6.1.2.1.1.1.0
Timeout: No Response fr
the netstat results
netstat -a -u
Proto Recv-Q Send-Q Local Address Foreign Address
State
udp0 0 localhost.localdom:snmp*:*
On Fri, Jan 4, 2013 at 2:54 PM, Suna Sana wrote:
> Its only responding to the loopback 127.0.0.1 not even for the l
This makes it works. Thanks.
edit
/etc/defaults/snmpd
change the line:
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid
127.0.0.1'
with the following:
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid'
then issue:
sudo /etc/init.d/snmpd reload
On Fri, Jan
Hi Everyone,
Happy new year 2013!
I am trying to implement an SNMP agent using net-snmp APIs,I use below method
to setup SNMP agent process, called SNMP_agt.
snmp_set_do_debugging(1);
snmp_enable_stderrlog();
init_agent("SNMP_agent");