setting snmp in two subnet with ipforwading

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
serghino
Posts: 8
Joined: Tue Feb 28, 2012 4:03 am

setting snmp in two subnet with ipforwading

Post by serghino »

hi

i set up cacti on centos 5. and i would like to configure snmp between two subnet (192.168.190.0 and 192.168.180.0) .cacti is under centos and the pc which i want to supervise in under 7.i configure ipforwading betwen the two subnet ; i have snmp error. how can i do. i need your help to solve this problem ant continue to write my long paper.serghino
GhostOrchid
Posts: 23
Joined: Tue Feb 14, 2012 1:24 am

Re: setting snmp in two subnet with ipforwading

Post by GhostOrchid »

can you try running snmpwalk directly to your 7 host from CentOS. Something like
$ snmpwalk -v 2c -c public 192.168.180.xxx

If it works, there is no reason cacti will not work.
If it does not work then you have to investigate
1. Connectivity issue, try ping?
2. Firewall issue with your 7 host. Check firewall and SNMP Service allowed host
3. SNMP community string is case sensitive. Please be carefull
serghino
Posts: 8
Joined: Tue Feb 28, 2012 4:03 am

Re: setting snmp in two subnet with ipforwading

Post by serghino »

thanks GhostOrchid,
i have the same problem. my cacti pc address is 192.168.180.17 and the pc which i want to supervise 192.168.190.17 .if i put the two pc in same subnet like 192.168.180.0 the SNMP is work normaly and i can make graph.but in two subnet problem.
i think perhaps the problem come with iptable and the allowing of ipforwarding rule ?
GhostOrchid
Posts: 23
Joined: Tue Feb 14, 2012 1:24 am

Re: setting snmp in two subnet with ipforwading

Post by GhostOrchid »

serghino,

What do you use as the router between the 2 subnets??
Have you verify the connectivity problem? try ping dan traceroute first

If SNMP is working in the same subnet, it should work with any subnet as long as there is no connectivity issue.

I have cacti monitoring devices on 4 different subnets without problems
serghino
Posts: 8
Joined: Tue Feb 28, 2012 4:03 am

Re: setting snmp in two subnet with ipforwading

Post by serghino »

GhostOrchid

thanks ,i use switch to link the 2 subnets. i set up ipforwarding.
i verify the connectivity problem, via ipforwading traceroute and ping are working.
SNMP is working in the same subnet,when i set up the client under linux via ipforwading the snmp is working.but with client under windows seven the snmp is not working.
This is my problem......
serghino
Posts: 8
Joined: Tue Feb 28, 2012 4:03 am

Re: setting snmp in two subnet with ipforwading

Post by serghino »

hi GhostOrchid,i find the problem, ipforwading work under the differents subnets.thanks lot,but i have the problem with weathermap to publish the map under cacti in weathermap tag.i follow the turto of http://www.yannobi.com/2010/03/creation ... weathermap butproblem.
i have the map but it cannnot to display in weathermap tag and i have " This map hasn't been created yet."

serghino :(
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest