mirror of https://github.com/sipwise/kamailio.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
2.5 KiB
84 lines
2.5 KiB
/*
|
|
* $Id$
|
|
*
|
|
* SNMPStats Module
|
|
* Copyright (C) 2006 SOMA Networks, INC.
|
|
* Written by: Jeffrey Magder (jmagder@somanetworks.com)
|
|
*
|
|
* This file is part of Kamailio, a free SIP server.
|
|
*
|
|
* Kamailio is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version
|
|
*
|
|
* Kamailio is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
* USA
|
|
*
|
|
* History:
|
|
* --------
|
|
* 2006-11-23 initial version (jmagder)
|
|
*
|
|
* Note: this file originally auto-generated by mib2c using
|
|
* : mib2c.notify.conf,v 5.3 2004/04/15 12:29:19 dts12 Exp $
|
|
*
|
|
* This file contains function prototypes for sending all traps supported by the
|
|
* SNMPStats module.
|
|
*
|
|
*/
|
|
|
|
#ifndef KAMAILIOMIBNOTIFICATIONS_H
|
|
#define KAMAILIOMIBNOTIFICATIONS_H
|
|
|
|
|
|
/*
|
|
* Sends off an kamailioMsgQueueDepthMinorEvent trap to the master agent,
|
|
* assigning the following variable bindings:
|
|
*
|
|
* - kamailioMsgQueueDepth = msgQueueDepth
|
|
* - kamailioMsgQueueMinorThreshold = minorThreshold
|
|
*
|
|
*/
|
|
int send_kamailioMsgQueueDepthMinorEvent_trap(int msgQueueDepth,
|
|
int minorThreshold);
|
|
|
|
/*
|
|
* Sends off an kamailioMsgQueueDepthMajorEvent trap to the master agent,
|
|
* assigning the following variable bindings:
|
|
*
|
|
* - kamailioMsgQueueDepth = msgQueueDepth
|
|
* - kamailioMsgQueueMajorThreshold = majorThreshold
|
|
*
|
|
*/
|
|
int send_kamailioMsgQueueDepthMajorEvent_trap(int msgQueueDepth,
|
|
int majorThreshold);
|
|
|
|
/*
|
|
* Sends off an kamailioDialogLimitMinorEvent trap to the master agent,
|
|
* assigning the following variable bindings:
|
|
*
|
|
* - kamailioCurNumDialogs = numDialogs
|
|
* - kamailioDialogLimitMinorThreshold = threshold
|
|
*
|
|
*/
|
|
int send_kamailioDialogLimitMinorEvent_trap(int numDialogs, int threshold);
|
|
|
|
/*
|
|
* Sends off an kamailioDialogLimitMinorEvent trap to the master agent,
|
|
* assigning the following variable bindings:
|
|
*
|
|
* - kamailioCurNumDialogs = numDialogs
|
|
* - kamailioDialogLimitMinorThreshold = threshold
|
|
*
|
|
*/
|
|
int send_kamailioDialogLimitMajorEvent_trap(int numDialogs, int threshold);
|
|
|
|
#endif /* KAMAILIOMIBNOTIFICATIONS_H */
|