Hello guys, I new in this thing of zabbix.
My question is the next, I hace a sever zabbix and server squid proxy, in the file configuration squid.conf add the lines
snmp_port 3401
acl zabbix snmp_community public
acl zabbix_ip src xxx.xxx.xxx.xxx
snmp_access allow zabix_ip zabbix
Also execute the command
netstat -tuln | grep 3401 and the result is
udp6 0 0 :::3401 :::* <-conections ipv6
execute the command
snmpwalk -v 2c -c public localhost:3401 and the result is
Timeout: No response from localhost:3401
I suppose is beacuse the proxy server dont accepted connections in the port udp 3401, only connectios udp6
My idea is create a iptable like this
INPUT -p udp --dport 3401 -j ACCEPT
to acept conections udp ipv4 in the port 3401.
I can create a host in zabbix and it appears in status enable, but the squid does not send me data to be able the monitor it, since the graphs appear blank, and I checked the OIDs that squid manages with those that are in my template and they are the same that I have discharged.
Execute the commands
snmpwalk -v 2c -c public localhost <-- In proxy server
snmpwalk -v 2c -c public proxy_ip <-- In zabbix server
and the result in both is
iso.3.6.1.2.1.1.1.0 = STRING: "Linux proxyserver 5.15.0-83-generic #92-Ubuntu SMP Mon Aug 14 09:30:42 UTC 2023 x86_64"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10
.................................................. .
..................................................
My question is the next, I hace a sever zabbix and server squid proxy, in the file configuration squid.conf add the lines
snmp_port 3401
acl zabbix snmp_community public
acl zabbix_ip src xxx.xxx.xxx.xxx
snmp_access allow zabix_ip zabbix
Also execute the command
netstat -tuln | grep 3401 and the result is
udp6 0 0 :::3401 :::* <-conections ipv6
execute the command
snmpwalk -v 2c -c public localhost:3401 and the result is
Timeout: No response from localhost:3401
I suppose is beacuse the proxy server dont accepted connections in the port udp 3401, only connectios udp6
My idea is create a iptable like this
INPUT -p udp --dport 3401 -j ACCEPT
to acept conections udp ipv4 in the port 3401.
I can create a host in zabbix and it appears in status enable, but the squid does not send me data to be able the monitor it, since the graphs appear blank, and I checked the OIDs that squid manages with those that are in my template and they are the same that I have discharged.
Execute the commands
snmpwalk -v 2c -c public localhost <-- In proxy server
snmpwalk -v 2c -c public proxy_ip <-- In zabbix server
and the result in both is
iso.3.6.1.2.1.1.1.0 = STRING: "Linux proxyserver 5.15.0-83-generic #92-Ubuntu SMP Mon Aug 14 09:30:42 UTC 2023 x86_64"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10
.................................................. .
..................................................