3
3
SQUID-MIB DEFINITIONS ::= BEGIN
8
9
enterprises, Unsigned32, TimeTicks, Gauge32, Counter32,
9
MODULE-IDENTITY, OBJECT-TYPE
10
MODULE-IDENTITY, OBJECT-TYPE, Integer32
13
DisplayString, TEXTUAL-CONVENTION
15
nlanr OBJECT IDENTIFIER ::= { enterprises 3495 }
16
InetAddressType, InetAddress
17
FROM INET-ADDRESS-MIB;
17
19
squid MODULE-IDENTITY
18
LAST-UPDATED "9809220000Z"
20
LAST-UPDATED "200812240200Z"
19
21
ORGANIZATION "National Laboratory for Applied Network Research"
26
27
"Squid MIB defined for the management of the Squid
27
28
proxy server. See http://www.squid-cache.org/."
29
REVISION "9809220000Z"
31
"Move to SMIv2. Prepare to split into proxy/squid."
30
REVISION "200812240200Z"
32
"Corrected MIB strictness requirements. Mapped
35
REVISION "200712140000Z"
37
"Added support for IPv6 Technology."
32
39
REVISION "9901010000Z"
34
41
"Added objects and corrected asn.1 syntax and
44
REVISION "9809220000Z"
46
"Move to SMIv2. Prepare to split into proxy/squid."
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 }
531
543
::= { cacheMedianSvcEntry 11 }
546
-- cacheNetwork group { squid 4 }
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 }
713
-- cacheMesh group { squid 5 }
703
716
cachePeerTable OBJECT-TYPE
704
717
SYNTAX SEQUENCE OF CachePeerEntry
718
MAX-ACCESS not-accessible
708
721
" This table contains an enumeration of
718
730
" An entry in cachePeerTable "
719
INDEX { cachePeerAddr }
731
INDEX { cachePeerIndex }
720
732
::= { cachePeerTable 1 }
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
752
ValidPort ::= TEXTUAL-CONVENTION
756
"A integer value from 1 to 65535 to indicate
757
the appropriate port number for the connection."
758
SYNTAX Integer32 (1..65535)
760
CachePeerIndex ::= TEXTUAL-CONVENTION
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
772
SYNTAX Integer32 (1..2147483647)
776
cachePeerIndex OBJECT-TYPE
777
SYNTAX CachePeerIndex
781
"A unique non-zero value identifying
782
the particular cache Peer."
783
::= { cachePeerEntry 1 }
738
785
cachePeerName OBJECT-TYPE
739
786
SYNTAX DisplayString
743
790
" The FQDN name or internal alias for the
745
::= { cachePeerEntry 1 }
747
cachePeerAddr OBJECT-TYPE
752
" The IP Address of the peer cache "
753
::= { cachePeerEntry 2 }
792
::= { cachePeerEntry 2 }
794
cachePeerAddressType OBJECT-TYPE
795
SYNTAX InetAddressType
799
"The type of Internet address by which the peer
802
::= { cachePeerEntry 3 }
804
cachePeerAddress OBJECT-TYPE
805
SYNTAX InetAddress (SIZE (1..64))
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
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.
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 }
755
830
cachePeerPortHttp OBJECT-TYPE
757
832
MAX-ACCESS read-only
760
835
" The port the peer listens for HTTP requests "
761
::= { cachePeerEntry 3 }
836
::= { cachePeerEntry 5 }
763
838
cachePeerPortIcp OBJECT-TYPE
765
840
MAX-ACCESS read-only
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 }
772
847
cachePeerType OBJECT-TYPE
774
MAX-ACCESS not-accessible
778
::= { cachePeerEntry 5 }
853
::= { cachePeerEntry 7 }
780
855
cachePeerState OBJECT-TYPE
841
916
" Number of keepalives received "
842
::= { cachePeerEntry 13 }
917
::= { cachePeerEntry 15 }
845
920
--- Table of cache's clients, with statistics. Children caches can be identified
849
924
cacheClientTable OBJECT-TYPE
850
925
SYNTAX SEQUENCE OF CacheClientEntry
851
ACCESS not-accessible
926
MAX-ACCESS not-accessible
854
929
"A list of cache client entries."
855
930
::= { cacheMesh 2 }
857
933
cacheClientEntry OBJECT-TYPE
858
934
SYNTAX CacheClientEntry
859
ACCESS not-accessible
935
MAX-ACCESS not-accessible
862
938
"An entry in cacheClientTable "
863
INDEX { cacheClientAddr }
939
INDEX { cacheClientAddressType, cacheClientAddress }
864
940
::= { cacheClientTable 1 }
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
878
cacheClientAddr OBJECT-TYPE
955
cacheClientAddressType OBJECT-TYPE
956
SYNTAX InetAddressType
880
957
MAX-ACCESS read-only
883
960
"The client's IP address "
884
961
::= { cacheClientEntry 1 }
963
cacheClientAddress OBJECT-TYPE
964
SYNTAX InetAddress (SIZE (1..64))
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
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.
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 }
886
988
cacheClientHttpRequests OBJECT-TYPE
888
990
MAX-ACCESS read-only
891
993
" Number of HTTP requests received from client "
892
::= { cacheClientEntry 2 }
994
::= { cacheClientEntry 3 }
894
996
cacheClientHttpKb OBJECT-TYPE