Problem with proxy option

"Luis Ferreira" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello to all,

 

I've got a problem with proxy functionality.

 

It is working for some devices, but not for others.

 

 

Eth0: 10.0.0.1/24

Eth1: 192.168.1.1/24 (where devices are connected

 

Following the config

 


rocommunity maincom

agentaddress 10.0.0.1:161

syslocation location1

syscontact [email protected]

 

# define a simple view 'systemview', which includes everthing under .1.3.6.1

view    systemview     included      .1.3

 

# map 'public' community to the 'notConfigUser'

com2sec notConfigUser  default       public

 

# map 'notConfigUser' to 'notConfigGroup'

group   notConfigGroup v1            notConfigUser

group   notConfigGroup v2c           notConfigUser

 

# give 'notConfigGroup' read access to objects in the view 'systemview'

access  notConfigGroup ""            any       noauth    exact  systemview
none none

 

com2sec -Cn ctx_remote1     notConfigUser  default       cmty_Draytek

 

com2sec -Cn ctx_remotehost1 notConfigUser  default       cmty_Mikrotik1

com2sec -Cn ctx_remotehost2 notConfigUser  default       cmty_Mikrotik2

com2sec -Cn ctx_remotehost3 notConfigUser  default       cmty_Mikrotik3

com2sec -Cn ctx_remotehost4 notConfigUser  default       cmty_Mikrotik4

 

com2sec -Cn ctx_remotehost5 notConfigUser  default       cmty_Tropos

 

access  notConfigGroup ctx_remotehost            any       noauth    prefix
systemview none none

 

proxy -Cn ctx_remote1  -v 1 -c public    11.1.1.10   .1.3

 

proxy -Cn ctx_remotehost1  -v 1 -c public  192.168.1.11 .1.3 #omnitik

proxy -Cn ctx_remotehost2  -v 1 -c public  192.168.1.12 .1.3 #mikrotik1

proxy -Cn ctx_remotehost3  -v 1 -c public  192.168.1.13 .1.3 #mikrotik2

proxy -Cn ctx_remotehost4  -v 1 -c public  192.168.1.14 .1.3 #mikrotik3

 

proxy -Cn ctx_remotehost5  -v 1 -c public  192.168.1.10 .1.3 #tropos1

 

To test, if I do:



snmpgetnext -v1 -c cmty_Mikrotik1 10.0.0.1 1.3

I get:

SNMPv2-MIB::sysDescr.0 = STRING: RouterOS RB OmniTIK U-5HnD

 

works perfect.

 

But for device cmty_Draytek or cmty_Tropos it time-out.

 

I confirmed both agents are working, by issuing 

[root@centos:~ ] $ snmpgetnext -v1 -c public 192.168.10.10 1.3

SNMPv2-MIB::sysDescr.0 = STRING: Wi-Fi cell

 

And

[root@centos:~ ] $ snmpgetnext -v1 -c public 192.168.10.11 1.3

SNMPv2-MIB::sysDescr.0 = STRING: RouterOS RB OmniTIK U-5HnD

 

I've tried to search what can it be, but I ran out of ideas. If someone
could assist, would be great

 

 

best Regards,

Luis Ferreira

------------------------------------------------------------------------------

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.