Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid: –enable-snmp ?

    Scheduled Pinned Locked Moved pfSense Packages
    8 Posts 4 Posters 4.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sergu61
      last edited by

      I upgraded package squid-2.5.14_2 to 2.6.5
      Squid began to issue error:

      ./restart_squid.sh

      Restarting Squid whith config
      2006/12/22 19:50:54| aclParseAclLine: Invalid ACL type 'snmp_community'
      FATAL: Bungled squid.conf line 83: acl snmppublic snmp_community public
      Squid Cache (Version 2.6.STABLE5): Terminated abnormally.
      Complete

      How make on install –enable-snmp ?

      Sergu

      1 Reply Last reply Reply Quote 0
      • D
        databeestje
        last edited by

        Our squid does not have snmp statistics. Did you upgrade squid using the cli or the gui.

        We do not have Gui pages that address snmp settings so I am curious how you got them.

        1 Reply Last reply Reply Quote 0
        • S
          sergu61
          last edited by

          @databeestje:

          Our squid does not have snmp statistics. Did you upgrade squid using the cli or the gui.

          We do not have Gui pages that address snmp settings so I am curious how you got them.

          Everything is very simple:

          1. Install CACTI
          2. Add to squid.conf -
            acl snmppublic snmp_community public
            snmp_access allow snmppublic localhost
            snmp_access deny all
          3. Add to snmpd.conf -
            proxy -m /usr/local/share/snmp/mibs/SQUID-MIB.txt -v 1 -c public localhost:3401 .1.3.6.1.4.1.3495.1
          4. In more detail - http://forums.cacti.net/search.php?mode=results

          Sergu

          1 Reply Last reply Reply Quote 0
          • J
            jeroen234
            last edited by

            pfsense don't has a CACTI package

            1 Reply Last reply Reply Quote 0
            • S
              sergu61
              last edited by

              @jeroen234:

              pfsense don't has a CACTI package

              cp /usr/local/bin/php /root/
              pkg_add -r http://www.pfsense.org/packages/All/cacti-0.8.6h_4.tbz
              cp /root/php /usr/local/bin/php

              CACTI already the third month works in me.

              Sergu

              1 Reply Last reply Reply Quote 0
              • T
                trendchiller
                last edited by

                how do you call the cacti site then ?

                and how do you configure it ?

                Use local or remote mysql ?

                1 Reply Last reply Reply Quote 0
                • S
                  sergu61
                  last edited by

                  @trendchiller:

                  how do you call the cacti site then ?

                  and how do you configure it ?

                  Use local or remote mysql ?

                  The following paper documents how to install Cacti on pfSense:
                  http://chrisbuechler.com/papers/pfsense/cacti/

                  To establish Apache is not necessary.
                  It is possible to use that already established lighttpd.
                  For this it is necessary to add into the file of /etc/inc/system.inc:

                  …....
                  $php_ini = <<<eoff<br>.......
                  extension=mysql.so
                  cgi.fix_pathinfo = "1"

                  Sergu</eoff<br>

                  1 Reply Last reply Reply Quote 0
                  • T
                    trendchiller
                    last edited by

                    Cool, thanks !

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.