1 -- SQUID-MIB { iso org(3) dod(6) internet(1) private(4) enterprises(1) 3495 }
3 SQUID-MIB DEFINITIONS ::= BEGIN
6 enterprises, Unsigned32, TimeTicks, Gauge32, Counter32,
7 MODULE-IDENTITY, OBJECT-TYPE, Integer32
10 DisplayString, TEXTUAL-CONVENTION
13 InetAddressType, InetAddress
14 FROM INET-ADDRESS-MIB;
17 LAST-UPDATED "200812240200Z"
18 ORGANIZATION "National Laboratory for Applied Network Research"
22 E-mail: squid@squid-cache.org"
24 "Squid MIB defined for the management of the Squid
25 proxy server. See http://www.squid-cache.org/."
27 REVISION "200812240200Z"
29 "Corrected MIB strictness requirements. Mapped
32 REVISION "200712140000Z"
34 "Added support for IPv6 Technology."
36 REVISION "9901010000Z"
38 "Added objects and corrected asn.1 syntax and
41 REVISION "9809220000Z"
43 "Move to SMIv2. Prepare to split into proxy/squid."
50 nlanr OBJECT IDENTIFIER ::= { enterprises 3495 }
51 cacheSystem OBJECT IDENTIFIER ::= { squid 1 }
52 cacheConfig OBJECT IDENTIFIER ::= { squid 2 }
53 cachePerf OBJECT IDENTIFIER ::= { squid 3 }
54 cacheNetwork OBJECT IDENTIFIER ::= { squid 4 }
55 cacheMesh OBJECT IDENTIFIER ::= { squid 5 }
59 -- cacheSystem group { squid 1 }
62 cacheSysVMsize OBJECT-TYPE
67 " Storage Mem size in KB "
70 cacheSysStorage OBJECT-TYPE
75 " Storage Swap size in KB "
78 cacheUptime OBJECT-TYPE
83 " The Uptime of the cache in timeticks "
87 -- cacheConfig group { squid 2 }
89 -- Contains configuration information including peers etc.
92 cacheAdmin OBJECT-TYPE
97 " Cache Administrator E-Mail address "
100 cacheSoftware OBJECT-TYPE
105 " Cache Software Name "
106 ::= { cacheConfig 2 }
108 cacheVersionId OBJECT-TYPE
113 " Cache Software Version "
114 ::= { cacheConfig 3 }
116 cacheLoggingFacility OBJECT-TYPE
118 MAX-ACCESS read-write
121 " Logging Facility. An informational string
122 indicating logging info like debug level,
123 local/syslog/remote logging etc "
124 ::= { cacheConfig 4 }
126 -- cacheStorageConfig group
128 cacheStorageConfig OBJECT IDENTIFIER ::= { cacheConfig 5 }
130 cacheMemMaxSize OBJECT-TYPE
135 " The value of the cache_mem parameter in MB "
136 ::= { cacheStorageConfig 1 }
138 cacheSwapMaxSize OBJECT-TYPE
143 " The total of the cache_dir space allocated in MB "
144 ::= { cacheStorageConfig 2 }
146 cacheSwapHighWM OBJECT-TYPE
151 " Cache Swap High Water Mark "
152 ::= { cacheStorageConfig 3 }
154 cacheSwapLowWM OBJECT-TYPE
159 " Cache Swap Low Water Mark "
160 ::= { cacheStorageConfig 4 }
162 -- end of cacheStorageConfig group
164 cacheUniqName OBJECT-TYPE
169 " Cache unique host name "
170 ::= { cacheConfig 6 }
174 -- cachePerformance group { squid 3 }
177 cacheSysPerf OBJECT IDENTIFIER ::= { cachePerf 1 }
178 cacheProtoStats OBJECT IDENTIFIER ::= { cachePerf 2 }
184 cacheSysPageFaults OBJECT-TYPE
189 " Page faults with physical i/o "
190 ::= { cacheSysPerf 1 }
192 cacheSysNumReads OBJECT-TYPE
197 " HTTP I/O number of reads "
198 ::= { cacheSysPerf 2 }
200 cacheMemUsage OBJECT-TYPE
205 " Total memory accounted for KB "
206 ::= { cacheSysPerf 3 }
208 cacheCpuTime OBJECT-TYPE
213 " Amount of cpu seconds consumed "
214 ::= { cacheSysPerf 4 }
216 cacheCpuUsage OBJECT-TYPE
221 " The percentage use of the CPU "
222 ::= { cacheSysPerf 5 }
224 cacheMaxResSize OBJECT-TYPE
229 " Maximum Resident Size in KB "
230 ::= { cacheSysPerf 6 }
232 cacheNumObjCount OBJECT-TYPE
237 " Number of objects stored by the cache "
238 ::= { cacheSysPerf 7 }
240 cacheCurrentLRUExpiration OBJECT-TYPE
245 " Storage LRU Expiration Age "
246 ::= { cacheSysPerf 8 }
248 cacheCurrentUnlinkRequests OBJECT-TYPE
253 " Requests given to unlinkd "
254 ::= { cacheSysPerf 9 }
256 cacheCurrentUnusedFDescrCnt OBJECT-TYPE
261 " Available number of file descriptors "
262 ::= { cacheSysPerf 10 }
264 cacheCurrentResFileDescrCnt OBJECT-TYPE
269 " Reserved number of file descriptors "
270 ::= { cacheSysPerf 11 }
272 cacheCurrentFileDescrCnt OBJECT-TYPE
277 " Number of file descriptors in use "
278 ::= { cacheSysPerf 12 }
280 cacheCurrentFileDescrMax OBJECT-TYPE
285 " Highest file descriptors in use "
286 ::= { cacheSysPerf 13 }
292 -- cacheProtoAggregateStats
295 cacheProtoAggregateStats OBJECT IDENTIFIER ::= { cacheProtoStats 1 }
298 cacheProtoClientHttpRequests OBJECT-TYPE
303 " Number of HTTP requests received "
304 ::= { cacheProtoAggregateStats 1 }
306 cacheHttpHits OBJECT-TYPE
311 " Number of HTTP Hits "
312 ::= { cacheProtoAggregateStats 2 }
314 cacheHttpErrors OBJECT-TYPE
319 " Number of HTTP Errors "
320 ::= { cacheProtoAggregateStats 3 }
322 cacheHttpInKb OBJECT-TYPE
327 " Number of HTTP KB's received "
328 ::= { cacheProtoAggregateStats 4 }
330 cacheHttpOutKb OBJECT-TYPE
335 " Number of HTTP KB's transmitted "
336 ::= { cacheProtoAggregateStats 5 }
338 cacheIcpPktsSent OBJECT-TYPE
343 " Number of ICP messages sent "
344 ::= { cacheProtoAggregateStats 6 }
346 cacheIcpPktsRecv OBJECT-TYPE
351 " Number of ICP messages received "
352 ::= { cacheProtoAggregateStats 7 }
354 cacheIcpKbSent OBJECT-TYPE
359 " Number of ICP KB's transmitted "
360 ::= { cacheProtoAggregateStats 8 }
362 cacheIcpKbRecv OBJECT-TYPE
367 " Number of ICP KB's received "
368 ::= { cacheProtoAggregateStats 9 }
370 cacheServerRequests OBJECT-TYPE
375 " All requests from the client for the cache server "
376 ::= { cacheProtoAggregateStats 10 }
378 cacheServerErrors OBJECT-TYPE
383 " All errors for the cache server from client requests "
384 ::= { cacheProtoAggregateStats 11 }
386 cacheServerInKb OBJECT-TYPE
391 " KB's of traffic received from servers "
392 ::= { cacheProtoAggregateStats 12 }
394 cacheServerOutKb OBJECT-TYPE
399 " KB's of traffic sent to servers "
400 ::= { cacheProtoAggregateStats 13 }
402 cacheCurrentSwapSize OBJECT-TYPE
407 " Storage Swap size "
408 ::= { cacheProtoAggregateStats 14 }
410 cacheClients OBJECT-TYPE
415 " Number of clients accessing cache "
416 ::= { cacheProtoAggregateStats 15 }
419 -- cacheProtoMedianSvcStats group
421 -- This is a table, indexed by the interval we want statistics for
422 -- Example: cacheDnsSvcTime.10 gives 10-min medians for Dns Service Time.
424 cacheMedianSvcTable OBJECT-TYPE
425 SYNTAX SEQUENCE OF CacheMedianSvcEntry
426 MAX-ACCESS not-accessible
429 " CacheMedianSvcTable "
430 ::= { cacheProtoStats 2 }
432 cacheMedianSvcEntry OBJECT-TYPE
433 SYNTAX CacheMedianSvcEntry
434 MAX-ACCESS not-accessible
437 " An entry in cacheMedianSvcTable "
438 INDEX { cacheMedianTime }
439 ::= { cacheMedianSvcTable 1 }
441 CacheMedianSvcEntry ::= SEQUENCE {
442 cacheMedianTime Integer32,
443 cacheHttpAllSvcTime Integer32,
444 cacheHttpMissSvcTime Integer32,
445 cacheHttpNmSvcTime Integer32,
446 cacheHttpHitSvcTime Integer32,
447 cacheIcpQuerySvcTime Integer32,
448 cacheIcpReplySvcTime Integer32,
449 cacheDnsSvcTime Integer32,
450 cacheRequestHitRatio Integer32,
451 cacheRequestByteRatio Integer32,
452 cacheHttpNhSvcTime Integer32
455 cacheMedianTime OBJECT-TYPE
456 SYNTAX Integer32 (1|5|60)
457 MAX-ACCESS not-accessible
460 " The value used to index the table 1/5/60"
461 ::= { cacheMedianSvcEntry 1 }
463 cacheHttpAllSvcTime OBJECT-TYPE
468 " HTTP all service time "
469 ::= { cacheMedianSvcEntry 2 }
471 cacheHttpMissSvcTime OBJECT-TYPE
476 " HTTP miss service time "
477 ::= { cacheMedianSvcEntry 3 }
479 cacheHttpNmSvcTime OBJECT-TYPE
484 " HTTP hit not-modified service time "
485 ::= { cacheMedianSvcEntry 4 }
487 cacheHttpHitSvcTime OBJECT-TYPE
492 " HTTP hit service time "
493 ::= { cacheMedianSvcEntry 5 }
495 cacheIcpQuerySvcTime OBJECT-TYPE
500 " ICP query service time "
501 ::= { cacheMedianSvcEntry 6 }
503 cacheIcpReplySvcTime OBJECT-TYPE
508 " ICP reply service time "
509 ::= { cacheMedianSvcEntry 7 }
511 cacheDnsSvcTime OBJECT-TYPE
517 ::= { cacheMedianSvcEntry 8 }
519 cacheRequestHitRatio OBJECT-TYPE
524 " Request Hit Ratios "
525 ::= { cacheMedianSvcEntry 9 }
527 cacheRequestByteRatio OBJECT-TYPE
533 ::= { cacheMedianSvcEntry 10 }
535 cacheHttpNhSvcTime OBJECT-TYPE
540 " HTTP refresh hit service time "
541 ::= { cacheMedianSvcEntry 11 }
544 -- cacheNetwork group { squid 4 }
546 -- This material is probably best suited elsewhere, however for now it
547 -- will reside here until the both the Proxy and Squid MIBs are implemented.
550 cacheIpCache OBJECT IDENTIFIER ::= { cacheNetwork 1 }
551 cacheFqdnCache OBJECT IDENTIFIER ::= { cacheNetwork 2 }
552 cacheDns OBJECT IDENTIFIER ::= { cacheNetwork 3 }
558 cacheIpEntries OBJECT-TYPE
564 ::= { cacheIpCache 1 }
566 cacheIpRequests OBJECT-TYPE
571 " Number of IP Cache requests "
572 ::= { cacheIpCache 2 }
574 cacheIpHits OBJECT-TYPE
579 " Number of IP Cache hits "
580 ::= { cacheIpCache 3 }
582 cacheIpPendingHits OBJECT-TYPE
587 " Number of IP Cache pending hits "
588 ::= { cacheIpCache 4 }
590 cacheIpNegativeHits OBJECT-TYPE
595 " Number of IP Cache negative hits "
596 ::= { cacheIpCache 5 }
598 cacheIpMisses OBJECT-TYPE
603 " Number of IP Cache misses "
604 ::= { cacheIpCache 6 }
606 cacheBlockingGetHostByName OBJECT-TYPE
611 " Number of blocking gethostbyname requests "
612 ::= { cacheIpCache 7 }
614 cacheAttemptReleaseLckEntries OBJECT-TYPE
619 " Number of attempts to release locked IP Cache entries "
620 ::= { cacheIpCache 8 }
626 cacheFqdnEntries OBJECT-TYPE
631 " FQDN Cache entries "
632 ::= { cacheFqdnCache 1 }
634 cacheFqdnRequests OBJECT-TYPE
639 " Number of FQDN Cache requests "
640 ::= { cacheFqdnCache 2 }
642 cacheFqdnHits OBJECT-TYPE
647 " Number of FQDN Cache hits "
648 ::= { cacheFqdnCache 3 }
650 cacheFqdnPendingHits OBJECT-TYPE
655 " Number of FQDN Cache pending hits "
656 ::= { cacheFqdnCache 4 }
658 cacheFqdnNegativeHits OBJECT-TYPE
663 " Number of FQDN Cache negative hits "
664 ::= { cacheFqdnCache 5 }
666 cacheFqdnMisses OBJECT-TYPE
671 " Number of FQDN Cache misses "
672 ::= { cacheFqdnCache 6 }
674 cacheBlockingGetHostByAddr OBJECT-TYPE
679 " Number of blocking gethostbyaddr requests "
680 ::= { cacheFqdnCache 7 }
686 cacheDnsRequests OBJECT-TYPE
691 " Number of external DNS server requests "
694 cacheDnsReplies OBJECT-TYPE
699 " Number of external DNS server replies "
702 cacheDnsNumberServers OBJECT-TYPE
707 " Number of external DNS server processes "
711 -- cacheMesh group { squid 5 }
714 cachePeerTable OBJECT-TYPE
715 SYNTAX SEQUENCE OF CachePeerTableEntry
716 MAX-ACCESS not-accessible
719 " This table contains an enumeration of
720 the peer caches, complete with info "
723 cachePeerEntry OBJECT-TYPE
724 SYNTAX CachePeerTableEntry
725 MAX-ACCESS not-accessible
728 " An entry in cachePeerTable (version 3) "
729 INDEX { cachePeerIndex }
730 ::= { cachePeerTable 3 }
732 CachePeerTableEntry ::= SEQUENCE {
733 cachePeerIndex CachePeerTableIndex,
734 cachePeerName DisplayString,
735 cachePeerAddressType InetAddressType,
736 cachePeerAddress InetAddress,
737 cachePeerPortHttp ValidPort,
738 cachePeerPortIcp ValidPort,
739 cachePeerType Integer32,
740 cachePeerState Integer32,
741 cachePeerPingsSent Counter32,
742 cachePeerPingsAcked Counter32,
743 cachePeerFetches Counter32,
744 cachePeerRtt Integer32,
745 cachePeerIgnored Counter32,
746 cachePeerKeepAlSent Counter32,
747 cachePeerKeepAlRecv Counter32
750 ValidPort ::= TEXTUAL-CONVENTION
754 "A integer value from 1 to 65535 to indicate
755 the appropriate port number for the connection."
756 SYNTAX Integer32 (1..65535)
758 CachePeerTableIndex ::= TEXTUAL-CONVENTION
762 "A unique value, greater than zero for each
763 cache peer instance in the managed
764 system. It is recommended that values are assigned
765 contiguously starting from 1. The value for each
766 cache peer index must remain constant
767 at least from one re-initialization of the entity's
768 network management system to the next
770 SYNTAX Integer32 (1..2147483647)
773 cachePeerIndex OBJECT-TYPE
774 SYNTAX CachePeerTableIndex
778 "A unique non-zero value identifying
779 the particular cache Peer."
780 ::= { cachePeerEntry 1 }
782 cachePeerName OBJECT-TYPE
787 " The FQDN name or internal alias for the
789 ::= { cachePeerEntry 2 }
791 cachePeerAddressType OBJECT-TYPE
792 SYNTAX InetAddressType
796 "The type of Internet address by which the peer
799 ::= { cachePeerEntry 3 }
801 cachePeerAddress OBJECT-TYPE
802 SYNTAX InetAddress (SIZE (1..64))
806 "The Internet address for the peer cache. The type of this
807 address is determined by the value of the peerAddressType
808 object. Note that implementations must limit themselves
809 to a single entry in this table per reachable peer.
810 The peerAddress may not be empty due to the SIZE
813 If a row is created administratively by an SNMP
814 operation and the address type value is dns(16), then
815 the agent stores the DNS name internally. A DNS name
816 lookup must be performed on the internally stored DNS
817 name whenever it is being used to contact the peer.
819 If a row is created by the managed entity itself and
820 the address type value is dns(16), then the agent
821 stores the IP address internally. A DNS reverse lookup
822 must be performed on the internally stored IP address
823 whenever the value is retrieved via SNMP."
824 ::= { cachePeerEntry 4 }
827 cachePeerPortHttp OBJECT-TYPE
832 " The port the peer listens for HTTP requests "
833 ::= { cachePeerEntry 5 }
835 cachePeerPortIcp OBJECT-TYPE
840 " The port the peer listens for ICP requests
841 should be 0 if not configured to send ICP requests "
842 ::= { cachePeerEntry 6 }
844 cachePeerType OBJECT-TYPE
850 ::= { cachePeerEntry 7 }
852 cachePeerState OBJECT-TYPE
857 " The operational state of this peer "
858 ::= { cachePeerEntry 8 }
860 cachePeerPingsSent OBJECT-TYPE
865 " Number of pings sent to peer "
866 ::= { cachePeerEntry 9 }
868 cachePeerPingsAcked OBJECT-TYPE
873 " Number of pings received from peer "
874 ::= { cachePeerEntry 10 }
876 cachePeerFetches OBJECT-TYPE
881 " Number of times this peer was selected "
882 ::= { cachePeerEntry 11 }
884 cachePeerRtt OBJECT-TYPE
889 " Last known round-trip time to the peer (in ms) "
890 ::= { cachePeerEntry 12 }
892 cachePeerIgnored OBJECT-TYPE
897 " How many times this peer was ignored "
898 ::= { cachePeerEntry 13 }
900 cachePeerKeepAlSent OBJECT-TYPE
905 " Number of keepalives sent "
906 ::= { cachePeerEntry 14 }
908 cachePeerKeepAlRecv OBJECT-TYPE
913 " Number of keepalives received "
914 ::= { cachePeerEntry 15 }
917 --- Table of cache's clients, with statistics. Children caches can be identified
918 --- by non-zero number of ICP requests (unless browsers start using ICP).
921 cacheClientTable OBJECT-TYPE
922 SYNTAX SEQUENCE OF CacheClientEntry
923 MAX-ACCESS not-accessible
926 "A list of cache client entries."
929 cacheClientEntry OBJECT-TYPE
930 SYNTAX CacheClientEntry
931 MAX-ACCESS not-accessible
934 "An IP entry in cacheClientTable "
935 INDEX { cacheClientAddress }
936 ::= { cacheClientTable 2 }
938 CacheClientEntry ::= SEQUENCE {
939 cacheClientAddressType InetAddressType,
940 cacheClientAddress InetAddress,
941 cacheClientHttpRequests Counter32,
942 cacheClientHttpKb Counter32,
943 cacheClientHttpHits Counter32,
944 cacheClientHTTPHitKb Counter32,
945 cacheClientIcpRequests Counter32,
946 cacheClientIcpKb Counter32,
947 cacheClientIcpHits Counter32,
948 cacheClientIcpHitKb Counter32
951 cacheClientAddressType OBJECT-TYPE
952 SYNTAX InetAddressType
956 "The client's IP address "
957 ::= { cacheClientEntry 1 }
959 cacheClientAddress OBJECT-TYPE
960 SYNTAX InetAddress (SIZE (1..64))
964 "The Internet address for the client. The type of this
965 address is determined by the value of the peerAddressType
966 object. Note that implementations must limit themselves
967 to a single entry in this table per reachable peer.
968 The peerAddress may not be empty due to the SIZE
971 If a row is created administratively by an SNMP
972 operation and the address type value is dns(16), then
973 the agent stores the DNS name internally. A DNS name
974 lookup must be performed on the internally stored DNS
975 name whenever it is being used to contact the peer.
977 If a row is created by the managed entity itself and
978 the address type value is dns(16), then the agent
979 stores the IP address internally. A DNS reverse lookup
980 must be performed on the internally stored IP address
981 whenever the value is retrieved via SNMP."
982 ::= { cacheClientEntry 2 }
984 cacheClientHttpRequests OBJECT-TYPE
989 " Number of HTTP requests received from client "
990 ::= { cacheClientEntry 3 }
992 cacheClientHttpKb OBJECT-TYPE
997 " Amount of total HTTP traffic to this client "
998 ::= { cacheClientEntry 4 }
1000 cacheClientHttpHits OBJECT-TYPE
1002 MAX-ACCESS read-only
1005 " Number of hits in response to this client's HTTP requests "
1006 ::= { cacheClientEntry 5 }
1008 cacheClientHTTPHitKb OBJECT-TYPE
1010 MAX-ACCESS read-only
1013 " Amount of HTTP hit traffic in KB "
1014 ::= { cacheClientEntry 6 }
1016 cacheClientIcpRequests OBJECT-TYPE
1018 MAX-ACCESS read-only
1021 " Number of ICP requests received from client "
1022 ::= { cacheClientEntry 7 }
1024 cacheClientIcpKb OBJECT-TYPE
1026 MAX-ACCESS read-only
1029 " Amount of total ICP traffic to this client (child) "
1030 ::= { cacheClientEntry 8 }
1032 cacheClientIcpHits OBJECT-TYPE
1034 MAX-ACCESS read-only
1037 " Number of hits in response to this client's ICP requests "
1038 ::= { cacheClientEntry 9 }
1040 cacheClientIcpHitKb OBJECT-TYPE
1042 MAX-ACCESS read-only
1045 " Amount of ICP hit traffic in KB "
1046 ::= { cacheClientEntry 10 }
1048 -- end of cacheClientTable
1051 -- end of cacheMesh group