Ad Widget

Collapse

Discussion thread for official Zabbix Template Squid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AlexL
    Zabbix Certified Specialist
    Zabbix Certified Specialist
    • Aug 2019
    • 55

    #1

    Discussion thread for official Zabbix Template Squid

    his thread is designed to provide grounds for discussion of the official Zabbix Template for Squid.
    The template and details of the template will be available in GIT repository.

    Zabbix is always looking for ways to improve our services and to make our users happier.
    We pride ourselves on doing our best each and every day, but we know that there is always something more to learn.
    We would like to hear back from you to know what have you liked and what would you improve in the template.
  • jmpatagonia
    Junior Member
    • Nov 2021
    • 2

    #2
    Hello AlexL, vey goog template.
    I tested whith a squid proxy server and work fine, and now I try to test whith a squid reverse proxy, and I have a problem, no data is painted on the Graphs. I try snmpwalk from the command line

    ~# snmpwalk -v 2c -c mycomunity 10.3.43.52:3401 1.3.6.1.4.1.3495.1.3.1.12.0
    iso.3.6.1.4.1.3495.1.3.1.12.0 = Gauge32: 18

    and work fine.

    but from some reason any of squid Graph paint data.

    Click image for larger version

Name:	squid no data.png
Views:	552
Size:	12.3 KB
ID:	434789


    For other side (squid reverse proxy server) I run a tcpdump on port 3401 (snmp squid port on server side) and see data querying

    11:00:27.372428 IP 10.3.43.254.60829 > 10.3.43.52.snmp-squid: UDP, length 51
    11:00:27.372635 IP 10.3.43.52.snmp-squid > 10.3.43.254.60829: UDP, length 60
    11:00:27.397759 IP 10.3.43.254.50822 > 10.3.43.52.snmp-squid: UDP, length 51
    11:00:27.398012 IP 10.3.43.52.snmp-squid > 10.3.43.254.50822: UDP, length 60
    11:00:27.423110 IP 10.3.43.254.48843 > 10.3.43.52.snmp-squid: UDP, length 49
    11:00:27.423321 IP 10.3.43.52.snmp-squid > 10.3.43.254.48843: UDP, length 61
    11:00:27.448493 IP 10.3.43.254.42842 > 10.3.43.52.snmp-squid: UDP, length 49
    11:00:27.448708 IP 10.3.43.52.snmp-squid > 10.3.43.254.42842: UDP, length 58
    11:00:27.473668 IP 10.3.43.254.44907 > 10.3.43.52.snmp-squid: UDP, length 49
    11:00:27.473882 IP 10.3.43.52.snmp-squid > 10.3.43.254.44907: UDP, length 60
    11:00:27.499160 IP 10.3.43.254.41584 > 10.3.43.52.snmp-squid: UDP, length 49
    11:00:27.499330 IP 10.3.43.52.snmp-squid > 10.3.43.254.41584: UDP, length 60
    11:00:27.524313 IP 10.3.43.254.50859 > 10.3.43.52.snmp-squid: UDP, length 49
    11:00:27.524533 IP 10.3.43.52.snmp-squid > 10.3.43.254.50859: UDP, length 58
    11:00:27.549615 IP 10.3.43.254.60621 > 10.3.43.52.snmp-squid: UDP, length 49
    11:00:27.549774 IP 10.3.43.52.snmp-squid > 10.3.43.254.60621: UDP, length 58
    11:00:27.574523 IP 10.3.43.254.48308 > 10.3.43.52.snmp-squid: UDP, length 49
    11:00:27.574798 IP 10.3.43.52.snmp-squid > 10.3.43.254.48308: UDP, length 58
    11:00:27.599878 IP 10.3.43.254.49888 > 10.3.43.52.snmp-squid: UDP, length 49
    11:00:27.600012 IP 10.3.43.52.snmp-squid > 10.3.43.254.49888: UDP, length 58
    11:00:27.624987 IP 10.3.43.254.35760 > 10.3.43.52.snmp-squid: UDP, length 49
    11:00:27.625124 IP 10.3.43.52.snmp-squid > 10.3.43.254.35760: UDP, length 58
    11:00:27.650149 IP 10.3.43.254.37592 > 10.3.43.52.snmp-squid: UDP, length 50
    11:00:27.650307 IP 10.3.43.52.snmp-squid > 10.3.43.254.37592: UDP, length 62
    11:00:27.675132 IP 10.3.43.254.35261 > 10.3.43.52.snmp-squid: UDP, length 50
    11:00:27.675283 IP 10.3.43.52.snmp-squid > 10.3.43.254.35261: UDP, length 62
    11:00:27.700107 IP 10.3.43.254.39467 > 10.3.43.52.snmp-squid: UDP, length 50
    11:00:27.700261 IP 10.3.43.52.snmp-squid > 10.3.43.254.39467: UDP, length 61


    Whats happen ? ,

    regards


    Comment

    • jmpatagonia
      Junior Member
      • Nov 2021
      • 2

      #3
      I solved, the solution was: go to configuration --> Hosts --> select host name --> Items --> select one each squid name item on the list (for example Squid: Version) and modify the Host Interface for the correct interface snmp for squid. IOn my case I hace two interface snmp, one for host snmp an another for squid snmp, each one whit different port.

      Comment

      Working...