# # Copyright (c) 2000 Carnegie Mellon University. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in # the documentation and/or other materials provided with the # distribution. # # 3. The name "Carnegie Mellon University" must not be used to # endorse or promote products derived from this software without # prior written permission. For permission or any other legal # details, please contact # Office of Technology Transfer # Carnegie Mellon University # 5000 Forbes Avenue # Pittsburgh, PA 15213-3890 # (412) 268-4387, fax: (412) 268-7395 # tech-transfer@andrew.cmu.edu # # 4. Redistributions of any form whatsoever must retain the following # acknowledgment: # "This product includes software developed by Computing Services # at Carnegie Mellon University (http://www.cmu.edu/computing/)." # # CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO # THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY # AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE # FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN # AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING # OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # # Count number of times command was executed # # This is the CMU apps hierarchy? # Should be some IMAP hierarchy in some distant some in a land far away, # when ACAP rules the earth. define cmutree 1.3.6.1.4.1.3.2.2.3 define cmuimap [cmutree].1 # # Count connection stats # BASE [cmuimap].1 # 'C' means counter # 'auto' means just pick any number you want C,TOTAL_CONNECTIONS,"Count of the total number of connections since the beginning of time", 1 C,ACTIVE_CONNECTIONS,"Count of the active number of connections", 2 # # Authentication stats # var AUTH BASE [cmuimap].2.{AUTH} C,AUTHENTICATION_YES,"Successful authentication of given mechanism",auto C,AUTHENTICATION_NO, "Failed authentication of given mechanism", auto # # General information # BASE [cmuimap].3 S,SERVER_NAME_VERSION,"Name and version string for server",auto T,SERVER_UPTIME,"Amount of time server has been running",auto BASE [cmuimap].4 # 'C' means counter # 'auto' means just pick any number you want C,AUTHENTICATE_COUNT,"Number of authenticate", auto C,APPEND_COUNT,"Number of append", auto C,BBOARD_COUNT,"Number of bboard", auto C,CAPABILITY_COUNT,"Number of capability", auto C,CHECK_COUNT,"Number of check", auto C,COPY_COUNT,"Number of copy", auto C,CREATE_COUNT,"Number of create", auto C,CLOSE_COUNT,"Number of close", auto C,DELETE_COUNT,"Number of delete", auto C,DELETEACL_COUNT,"Number of deleteacl", auto C,EXPUNGE_COUNT,"Number of expunge", auto C,EXAMINE_COUNT,"Number of examine", auto C,FETCH_COUNT,"Number of fetch", auto C,FIND_COUNT,"Number of find", auto C,GETACL_COUNT,"Number of getacl", auto C,GETANNOTATION_COUNT,"Number of getannotation", auto C,GETQUOTA_COUNT,"Number of getquota", auto C,GETQUOTAROOT_COUNT,"Number of getquotaroot", auto C,GETUIDS_COUNT,"Number of getuids", auto C,ID_COUNT,"Number of id", auto C,IDLE_COUNT,"Number of idle", auto C,LOGIN_COUNT,"Number of login", auto C,LOGOUT_COUNT,"Number of logout", auto C,LIST_COUNT,"Number of list", auto C,LSUB_COUNT,"Number of lsub", auto C,LISTRIGHTS_COUNT,"Number of listrights", auto C,MYRIGHTS_COUNT,"Number of myrights", auto C,NOOP_COUNT,"Number of noop", auto C,NAMESPACE_COUNT,"Number of namespace", auto C,PARTIAL_COUNT,"Number of partial", auto C,RENAME_COUNT,"Number of rename", auto C,STARTTLS_COUNT,"Number of starttls", auto C,STORE_COUNT,"Number of store", auto C,SELECT_COUNT,"Number of select", auto C,SEARCH_COUNT,"Number of search", auto C,SUBSCRIBE_COUNT,"Number of subscribe", auto C,SETACL_COUNT,"Number of setacl", auto C,SETANNOTATION_COUNT,"Number of setannotation", auto C,SETQUOTA_COUNT,"Number of setquota", auto C,STATUS_COUNT,"Number of status", auto C,SORT_COUNT,"Number of sort", auto C,THREAD_COUNT,"Number of thread", auto C,UNSUBSCRIBE_COUNT,"Number of unsubscribe", auto C,UNSELECT_COUNT,"Number of unselect", auto