source: npl/phone/custom_scripts/asterisk_guardian.conf @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 761 bytes
Line 
1#!/bin/bash
2#(C) 2009 DatuX HR Meertens
3#This script monitores Asterisk and generates snmptraps
4
5#Hostname which must retrieve the traps.
6Hostname=192.168.13.176
7
8#Authentication values for authenticating with the trapd
9EngineID=0x0102030405
10Username=myusername
11Password=secretpasshere
12
13######Monitor options######
14#If active calls increases or decreases the CallDeviateValue in one time generate a snmptrap.
15CallDeviateValue=1
16#Check every X seconds if the current active calls deviates from the DeviateValue. (NOTE: THIS VALUE MUST BE ALWAYS LOWER THEN THE SendActiveCallsStatusInterval below)
17CallDeviateCheckInterval=2
18#Send every X seconds a trap with current active calls.. This must be a power of CallDeviateCheckInterval
19SendActiveCallsStatusInterval=6
Note: See TracBrowser for help on using the repository browser.