~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to src/mib.txt

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2009-09-24 14:51:06 UTC
  • mfrom: (1.1.12 upstream)
  • mto: (20.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20090924145106-38jgrzmj0d73pha5
Tags: 3.1.0.13-1
* Upload to experimental

* New upstream release
  - Fixes Follow-X-Forwarded-For support (Closes: #523943)
  - Adds IPv6 support (Closes: #432351)

* debian/rules
  - Removed obsolete configuration options
  - Enable db and radius basic authentication modules

* debian/patches/01-cf.data.debian
  - Adapted to new upstream version

* debian/patches/02-makefile-defaults
  - Adapted to new upstream version

* debian/{squid.postinst,squid.rc,README.Debian,watch}
  - Updated references to squid 3.1

* debian/squid3.install
  - Install CSS file for error pages
  - Install manual pages for new authentication modules

* debian/squid3-common.install
  - Install documented version of configuration file in /usr/share/doc/squid3

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
SQUID-MIB DEFINITIONS ::= BEGIN
4
4
--
 
5
-- $Id$
5
6
--
6
7
 
7
8
IMPORTS
8
9
        enterprises, Unsigned32, TimeTicks, Gauge32, Counter32,
9
 
        MODULE-IDENTITY, OBJECT-TYPE
 
10
        MODULE-IDENTITY, OBJECT-TYPE, Integer32
10
11
                FROM SNMPv2-SMI
11
12
 
12
 
        DisplayString
13
 
                FROM SNMPv2-TC;
 
13
        DisplayString, TEXTUAL-CONVENTION
 
14
                FROM SNMPv2-TC
14
15
 
15
 
nlanr OBJECT IDENTIFIER ::= { enterprises 3495 }
 
16
        InetAddressType, InetAddress
 
17
                FROM INET-ADDRESS-MIB;
16
18
 
17
19
squid MODULE-IDENTITY
18
 
    LAST-UPDATED "9809220000Z"
 
20
    LAST-UPDATED "200812240200Z"
19
21
    ORGANIZATION "National Laboratory for Applied Network Research"
20
22
    CONTACT-INFO
21
23
            "        Squid Developers
25
26
    DESCRIPTION
26
27
                "Squid MIB defined for the management of the Squid
27
28
                proxy server. See http://www.squid-cache.org/."
28
 
        
29
 
    REVISION      "9809220000Z"
30
 
    DESCRIPTION
31
 
                "Move to SMIv2. Prepare to split into proxy/squid."
 
29
 
 
30
    REVISION      "200812240200Z"
 
31
    DESCRIPTION
 
32
                "Corrected MIB strictness requirements. Mapped
 
33
                valid port ranges"
 
34
    
 
35
    REVISION      "200712140000Z"
 
36
    DESCRIPTION
 
37
                "Added support for IPv6 Technology."
 
38
 
32
39
    REVISION      "9901010000Z"
33
40
    DESCRIPTION
34
41
                "Added objects and corrected asn.1 syntax and
35
42
                descriptions."
 
43
 
 
44
    REVISION      "9809220000Z"
 
45
    DESCRIPTION
 
46
                "Move to SMIv2. Prepare to split into proxy/squid."
 
47
                
36
48
    ::= { nlanr 1 }
37
49
 
38
50
--
39
51
-- OID Assignments
40
52
--
41
 
 
 
53
        nlanr OBJECT IDENTIFIER ::= { enterprises 3495 }
42
54
        cacheSystem     OBJECT IDENTIFIER ::= { squid 1 }
43
55
        cacheConfig     OBJECT IDENTIFIER ::= { squid 2 }
44
56
        cachePerf       OBJECT IDENTIFIER ::= { squid 3 }
47
59
 
48
60
 
49
61
--
 
62
-- cacheSystem group { squid 1 }
50
63
--
51
64
 
52
65
        cacheSysVMsize OBJECT-TYPE
75
87
        ::= { cacheSystem 3 }
76
88
 
77
89
--
 
90
-- cacheConfig group { squid 2 }
78
91
--
79
92
-- Contains configuration information including peers etc.
80
93
--
106
118
 
107
119
        cacheLoggingFacility OBJECT-TYPE
108
120
                SYNTAX DisplayString
109
 
                ACCESS read-write
 
121
                MAX-ACCESS read-write
110
122
                STATUS current
111
123
                DESCRIPTION
112
124
                        " Logging Facility. An informational string
162
174
 
163
175
 
164
176
--
 
177
-- cachePerformance group { squid 3 }
165
178
--
166
179
 
167
180
        cacheSysPerf    OBJECT IDENTIFIER ::= { cachePerf 1 }
413
425
 
414
426
        cacheMedianSvcTable OBJECT-TYPE
415
427
                SYNTAX SEQUENCE OF CacheMedianSvcEntry
416
 
                MAX-ACCESS read-only
 
428
                MAX-ACCESS not-accessible
417
429
                STATUS current
418
430
                DESCRIPTION
419
431
                        " CacheMedianSvcTable "
443
455
        }
444
456
 
445
457
        cacheMedianTime OBJECT-TYPE
446
 
                SYNTAX Integer32
 
458
                SYNTAX Integer32 (1|5|60)
447
459
                MAX-ACCESS read-only
448
460
                STATUS current
449
461
                DESCRIPTION
531
543
        ::= { cacheMedianSvcEntry 11 }
532
544
 
533
545
--
 
546
-- cacheNetwork group { squid 4 }
534
547
--
535
548
-- This material is probably best suited elsewhere, however for now it
536
549
-- will reside here until the both the Proxy and Squid MIBs are implimented.
698
710
        ::= { cacheDns 3 }
699
711
        
700
712
--
 
713
-- cacheMesh group { squid 5 }
701
714
--
702
715
 
703
716
        cachePeerTable OBJECT-TYPE
704
717
                SYNTAX SEQUENCE OF CachePeerEntry
705
 
                MAX-ACCESS read-only
 
718
                MAX-ACCESS not-accessible
706
719
                STATUS current
707
720
                DESCRIPTION
708
721
                        " This table contains an enumeration of
716
728
                STATUS current
717
729
                DESCRIPTION
718
730
                        " An entry in cachePeerTable "
719
 
                INDEX   { cachePeerAddr }
 
731
                INDEX   { cachePeerIndex }
720
732
        ::= { cachePeerTable 1 }
721
733
 
722
734
        CachePeerEntry ::= SEQUENCE {
 
735
          cachePeerIndex        CachePeerIndex, 
723
736
          cachePeerName         DisplayString,
724
 
          cachePeerAddr         IpAddress,
725
 
          cachePeerPortHttp     Integer32 (1..65535),
726
 
          cachePeerPortIcp      Integer32 (1..65535),
 
737
          cachePeerAddressType  InetAddressType,
 
738
          cachePeerAddress      InetAddress,
 
739
          cachePeerPortHttp     ValidPort,
 
740
          cachePeerPortIcp      ValidPort,
727
741
          cachePeerType         Integer32,
728
742
          cachePeerState        Integer32,
729
743
          cachePeerPingsSent    Counter32,
734
748
          cachePeerKeepAlSent   Counter32,
735
749
          cachePeerKeepAlRecv   Counter32
736
750
        }
 
751
        
 
752
        ValidPort ::= TEXTUAL-CONVENTION
 
753
             DISPLAY-HINT "d"
 
754
             STATUS       current
 
755
             DESCRIPTION
 
756
                                "A integer value from 1 to 65535 to indicate 
 
757
                                the appropriate port number for the connection."
 
758
                        SYNTAX       Integer32 (1..65535)
 
759
        
 
760
        CachePeerIndex ::= TEXTUAL-CONVENTION
 
761
             DISPLAY-HINT "d"
 
762
             STATUS       current
 
763
             DESCRIPTION
 
764
               "A unique value, greater than zero for each
 
765
               cache peer instance in the managed
 
766
               system. It is recommended that values are assigned
 
767
               contiguously starting from 1. The value for each
 
768
               cache peer index must remain constant
 
769
               at least from one re-initialization of the entity's
 
770
               network management system to the next
 
771
               re-initialization."
 
772
             SYNTAX       Integer32 (1..2147483647)
 
773
 
 
774
 
 
775
 
 
776
        cachePeerIndex OBJECT-TYPE
 
777
                SYNTAX CachePeerIndex
 
778
                MAX-ACCESS read-only
 
779
                STATUS current
 
780
                DESCRIPTION
 
781
                           "A unique non-zero value identifying
 
782
                             the particular cache Peer."
 
783
        ::= { cachePeerEntry 1 }
737
784
 
738
785
        cachePeerName OBJECT-TYPE
739
786
                SYNTAX DisplayString
742
789
                DESCRIPTION
743
790
                          " The FQDN name or internal alias for the
744
791
                            peer cache "
745
 
        ::= { cachePeerEntry 1 }
746
 
 
747
 
        cachePeerAddr OBJECT-TYPE
748
 
                SYNTAX IpAddress
749
 
                MAX-ACCESS read-only
750
 
                STATUS current
751
 
                DESCRIPTION
752
 
                        " The IP Address of the peer cache "
753
 
        ::= { cachePeerEntry 2 }
 
792
        ::= { cachePeerEntry 2 }
 
793
 
 
794
        cachePeerAddressType OBJECT-TYPE
 
795
        SYNTAX      InetAddressType
 
796
        MAX-ACCESS  read-only
 
797
        STATUS      current
 
798
        DESCRIPTION
 
799
                "The type of Internet address by which the peer
 
800
                cache is reachable."
 
801
 
 
802
        ::= { cachePeerEntry 3 }
 
803
 
 
804
        cachePeerAddress OBJECT-TYPE
 
805
        SYNTAX      InetAddress (SIZE (1..64))
 
806
        MAX-ACCESS  read-only
 
807
        STATUS      current
 
808
        DESCRIPTION
 
809
        "The Internet address for the peer cache.  The type of this
 
810
         address is determined by the value of the peerAddressType
 
811
         object.  Note that implementations must limit themselves
 
812
         to a single entry in this table per reachable peer.
 
813
         The peerAddress may not be empty due to the SIZE
 
814
         restriction.
 
815
 
 
816
         If a row is created administratively by an SNMP
 
817
         operation and the address type value is dns(16), then
 
818
         the agent stores the DNS name internally.  A DNS name
 
819
         lookup must be performed on the internally stored DNS
 
820
         name whenever it is being used to contact the peer.
 
821
 
 
822
         If a row is created by the managed entity itself and
 
823
         the address type value is dns(16), then the agent
 
824
         stores the IP address internally.  A DNS reverse lookup
 
825
         must be performed on the internally stored IP address
 
826
         whenever the value is retrieved via SNMP."
 
827
         ::= { cachePeerEntry 4 }
 
828
 
754
829
 
755
830
        cachePeerPortHttp OBJECT-TYPE
756
 
                SYNTAX Integer32
 
831
                SYNTAX ValidPort
757
832
                MAX-ACCESS read-only
758
833
                STATUS current
759
834
                DESCRIPTION
760
835
                        " The port the peer listens for HTTP requests "
761
 
        ::= { cachePeerEntry 3 }
 
836
        ::= { cachePeerEntry 5 }
762
837
 
763
838
        cachePeerPortIcp OBJECT-TYPE
764
 
                SYNTAX Integer32
 
839
                SYNTAX ValidPort
765
840
                MAX-ACCESS read-only
766
841
                STATUS current
767
842
                DESCRIPTION
768
843
                        " The port the peer listens for ICP requests
769
844
                          should be 0 if not configured to send ICP requests "
770
 
        ::= { cachePeerEntry 4 }
 
845
        ::= { cachePeerEntry 6 }
771
846
 
772
847
        cachePeerType OBJECT-TYPE
773
848
                SYNTAX INTEGER
774
 
                MAX-ACCESS not-accessible
 
849
                MAX-ACCESS read-only
775
850
                STATUS current
776
851
                DESCRIPTION
777
852
                        " Peer Type "
778
 
        ::= { cachePeerEntry 5 }
 
853
        ::= { cachePeerEntry 7 }
779
854
 
780
855
        cachePeerState OBJECT-TYPE
781
856
                SYNTAX INTEGER
783
858
                STATUS current
784
859
                DESCRIPTION
785
860
                        " The operational state of this peer "
786
 
        ::= { cachePeerEntry 6 }
 
861
        ::= { cachePeerEntry 8 }
787
862
 
788
863
        cachePeerPingsSent OBJECT-TYPE
789
864
                SYNTAX Counter32
791
866
                STATUS current
792
867
                DESCRIPTION
793
868
                        " Number of pings sent to peer "
794
 
        ::= { cachePeerEntry 7 }
 
869
        ::= { cachePeerEntry 9 }
795
870
 
796
871
        cachePeerPingsAcked OBJECT-TYPE
797
872
                SYNTAX Counter32
799
874
                STATUS current
800
875
                DESCRIPTION
801
876
                        " Number of pings received from peer "
802
 
        ::= {  cachePeerEntry 8 }
 
877
        ::= {  cachePeerEntry 10 }
803
878
 
804
879
        cachePeerFetches OBJECT-TYPE
805
880
                SYNTAX Counter32
807
882
                STATUS current
808
883
                DESCRIPTION
809
884
                        " Number of times this peer was selected  "
810
 
        ::= { cachePeerEntry 9 }
 
885
        ::= { cachePeerEntry 11 }
811
886
 
812
887
        cachePeerRtt OBJECT-TYPE
813
888
                SYNTAX Integer32
815
890
                STATUS current
816
891
                DESCRIPTION
817
892
                        " Last known round-trip time to the peer (in ms) "
818
 
        ::= { cachePeerEntry 10 }
 
893
        ::= { cachePeerEntry 12 }
819
894
 
820
895
        cachePeerIgnored OBJECT-TYPE
821
896
                SYNTAX Counter32
823
898
                STATUS current
824
899
                DESCRIPTION
825
900
                        " How many times this peer was ignored "
826
 
        ::= { cachePeerEntry 11 }
 
901
        ::= { cachePeerEntry 13 }
827
902
 
828
903
        cachePeerKeepAlSent OBJECT-TYPE
829
904
                SYNTAX Counter32
831
906
                STATUS current
832
907
                DESCRIPTION
833
908
                        " Number of keepalives sent "
834
 
        ::= { cachePeerEntry 12 }
 
909
        ::= { cachePeerEntry 14 }
835
910
 
836
911
        cachePeerKeepAlRecv OBJECT-TYPE
837
912
                SYNTAX Counter32
839
914
                STATUS current
840
915
                DESCRIPTION
841
916
                        " Number of keepalives received "
842
 
        ::= { cachePeerEntry 13 }
 
917
        ::= { cachePeerEntry 15 }
843
918
 
844
919
---
845
920
--- Table of cache's clients, with statistics. Children caches can be identified
848
923
 
849
924
        cacheClientTable OBJECT-TYPE
850
925
           SYNTAX  SEQUENCE OF CacheClientEntry
851
 
           ACCESS  not-accessible
852
 
           STATUS  mandatory
 
926
           MAX-ACCESS  not-accessible
 
927
           STATUS  current
853
928
           DESCRIPTION
854
929
                    "A list of cache client entries."
855
930
        ::= { cacheMesh 2 }
856
931
 
 
932
 
857
933
        cacheClientEntry OBJECT-TYPE
858
934
           SYNTAX CacheClientEntry
859
 
           ACCESS  not-accessible
860
 
           STATUS  mandatory
 
935
           MAX-ACCESS  not-accessible
 
936
           STATUS  current
861
937
           DESCRIPTION
862
938
                    "An entry in cacheClientTable "
863
 
           INDEX { cacheClientAddr }
 
939
           INDEX { cacheClientAddressType, cacheClientAddress }
864
940
        ::= { cacheClientTable 1 }
865
941
 
866
942
        CacheClientEntry ::= SEQUENCE {
867
 
                cacheClientAddr         IpAddress,
 
943
                cacheClientAddressType  InetAddressType,
 
944
                cacheClientAddress      InetAddress,
868
945
                cacheClientHttpRequests Counter32,
869
946
                cacheClientHttpKb       Counter32,
870
947
                cacheClientHttpHits     Counter32,
875
952
                cacheClientIcpHitKb     Counter32
876
953
        }
877
954
 
878
 
        cacheClientAddr OBJECT-TYPE
879
 
                SYNTAX IpAddress
 
955
        cacheClientAddressType OBJECT-TYPE
 
956
                SYNTAX InetAddressType
880
957
                MAX-ACCESS read-only
881
958
                STATUS current
882
959
                DESCRIPTION
883
960
                    "The client's IP address "
884
961
        ::= { cacheClientEntry 1 }
885
962
 
 
963
        cacheClientAddress OBJECT-TYPE
 
964
        SYNTAX      InetAddress (SIZE (1..64))
 
965
        MAX-ACCESS  read-only
 
966
        STATUS      current
 
967
        DESCRIPTION
 
968
        "The Internet address for the client.  The type of this
 
969
         address is determined by the value of the peerAddressType
 
970
         object.  Note that implementations must limit themselves
 
971
         to a single entry in this table per reachable peer.
 
972
         The peerAddress may not be empty due to the SIZE
 
973
         restriction.
 
974
 
 
975
         If a row is created administratively by an SNMP
 
976
         operation and the address type value is dns(16), then
 
977
         the agent stores the DNS name internally.  A DNS name
 
978
         lookup must be performed on the internally stored DNS
 
979
         name whenever it is being used to contact the peer.
 
980
 
 
981
         If a row is created by the managed entity itself and
 
982
         the address type value is dns(16), then the agent
 
983
         stores the IP address internally.  A DNS reverse lookup
 
984
         must be performed on the internally stored IP address
 
985
         whenever the value is retrieved via SNMP."
 
986
         ::= { cacheClientEntry 2 }
 
987
 
886
988
        cacheClientHttpRequests OBJECT-TYPE
887
989
                SYNTAX Counter32
888
990
                MAX-ACCESS read-only
889
991
                STATUS current
890
992
                DESCRIPTION
891
993
                    " Number of HTTP requests received from client "
892
 
        ::= { cacheClientEntry 2 }
 
994
        ::= { cacheClientEntry 3 }
893
995
 
894
996
        cacheClientHttpKb OBJECT-TYPE
895
997
                SYNTAX Counter32
897
999
                STATUS current
898
1000
                DESCRIPTION
899
1001
                    " Amount of total HTTP traffic to this client  "
900
 
        ::= { cacheClientEntry 3 }
 
1002
        ::= { cacheClientEntry 4 }
901
1003
 
902
1004
        cacheClientHttpHits OBJECT-TYPE
903
1005
                SYNTAX Counter32
905
1007
                STATUS current
906
1008
                DESCRIPTION
907
1009
                    " Number of hits in response to this client's HTTP requests "
908
 
        ::= { cacheClientEntry 4 }
 
1010
        ::= { cacheClientEntry 5 }
909
1011
 
910
1012
        cacheClientHTTPHitKb OBJECT-TYPE
911
1013
                SYNTAX Counter32
913
1015
                STATUS current
914
1016
                DESCRIPTION
915
1017
                    " Amount of HTTP hit traffic in KB "
916
 
        ::= { cacheClientEntry 5 }
 
1018
        ::= { cacheClientEntry 6 }
917
1019
 
918
1020
        cacheClientIcpRequests OBJECT-TYPE
919
1021
                SYNTAX Counter32
921
1023
                STATUS current
922
1024
                DESCRIPTION
923
1025
                    " Number of ICP requests received from client "
924
 
        ::= { cacheClientEntry 6 }
 
1026
        ::= { cacheClientEntry 7 }
925
1027
 
926
1028
        cacheClientIcpKb OBJECT-TYPE
927
1029
                SYNTAX Counter32
929
1031
                STATUS current
930
1032
                DESCRIPTION
931
1033
                    " Amount of total ICP traffic to this client (child) "
932
 
        ::= { cacheClientEntry 7 }
 
1034
        ::= { cacheClientEntry 8 }
933
1035
 
934
1036
        cacheClientIcpHits OBJECT-TYPE
935
1037
                SYNTAX Counter32
937
1039
                STATUS current
938
1040
                DESCRIPTION
939
1041
                    " Number of hits in response to this client's ICP requests "
940
 
        ::= { cacheClientEntry 8 }
 
1042
        ::= { cacheClientEntry 9 }
941
1043
 
942
1044
        cacheClientIcpHitKb OBJECT-TYPE
943
1045
                SYNTAX Counter32
945
1047
                STATUS current
946
1048
                DESCRIPTION
947
1049
                    " Amount of ICP hit traffic in KB "
948
 
        ::= { cacheClientEntry 9 }
 
1050
        ::= { cacheClientEntry 10 }
949
1051
 
950
1052
        -- end of cacheClientTable
951
1053