00001 /* 00002 * $Id: openserMIBNotifications.h 4518 2008-07-28 15:39:28Z henningw $ 00003 * 00004 * SNMPStats Module 00005 * Copyright (C) 2006 SOMA Networks, INC. 00006 * Written by: Jeffrey Magder (jmagder@somanetworks.com) 00007 * 00008 * This file is part of Kamailio, a free SIP server. 00009 * 00010 * Kamailio is free software; you can redistribute it and/or modify it 00011 * under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; either version 2 of the License, or 00013 * (at your option) any later version 00014 * 00015 * Kamailio is distributed in the hope that it will be useful, but 00016 * WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 * General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License 00021 * along with this program; if not, write to the Free Software 00022 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 00023 * USA 00024 * 00025 * History: 00026 * -------- 00027 * 2006-11-23 initial version (jmagder) 00028 * 00029 * Note: this file originally auto-generated by mib2c using 00030 * : mib2c.notify.conf,v 5.3 2004/04/15 12:29:19 dts12 Exp $ 00031 * 00032 * This file contains function prototypes for sending all traps supported by the 00033 * SNMPStats module. 00034 * 00035 */ 00036 00037 #ifndef OPENSERMIBNOTIFICATIONS_H 00038 #define OPENSERMIBNOTIFICATIONS_H 00039 00040 00041 /* 00042 * Sends off an openserMsgQueueDepthMinorEvent trap to the master agent, 00043 * assigning the following variable bindings: 00044 * 00045 * - openserMsgQueueDepth = msgQueueDepth 00046 * - openserMsgQueueMinorThreshold = minorThreshold 00047 * 00048 */ 00049 int send_openserMsgQueueDepthMinorEvent_trap(int msgQueueDepth, 00050 int minorThreshold); 00051 00052 /* 00053 * Sends off an openserMsgQueueDepthMajorEvent trap to the master agent, 00054 * assigning the following variable bindings: 00055 * 00056 * - openserMsgQueueDepth = msgQueueDepth 00057 * - openserMsgQueueMajorThreshold = majorThreshold 00058 * 00059 */ 00060 int send_openserMsgQueueDepthMajorEvent_trap(int msgQueueDepth, 00061 int majorThreshold); 00062 00063 /* 00064 * Sends off an openserDialogLimitMinorEvent trap to the master agent, 00065 * assigning the following variable bindings: 00066 * 00067 * - openserCurNumDialogs = numDialogs 00068 * - openserDialogLimitMinorThreshold = threshold 00069 * 00070 */ 00071 int send_openserDialogLimitMinorEvent_trap(int numDialogs, int threshold); 00072 00073 /* 00074 * Sends off an openserDialogLimitMinorEvent trap to the master agent, 00075 * assigning the following variable bindings: 00076 * 00077 * - openserCurNumDialogs = numDialogs 00078 * - openserDialogLimitMinorThreshold = threshold 00079 * 00080 */ 00081 int send_openserDialogLimitMajorEvent_trap(int numDialogs, int threshold); 00082 00083 #endif /* OPENSERMIBNOTIFICATIONS_H */
1.5.6