Last change
on this file since 26ffad7 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. |
---|
6 | Hostname=192.168.13.176 |
---|
7 | |
---|
8 | #Authentication values for authenticating with the trapd |
---|
9 | EngineID=0x0102030405 |
---|
10 | Username=myusername |
---|
11 | Password=secretpasshere |
---|
12 | |
---|
13 | ######Monitor options###### |
---|
14 | #If active calls increases or decreases the CallDeviateValue in one time generate a snmptrap. |
---|
15 | CallDeviateValue=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) |
---|
17 | CallDeviateCheckInterval=2 |
---|
18 | #Send every X seconds a trap with current active calls.. This must be a power of CallDeviateCheckInterval |
---|
19 | SendActiveCallsStatusInterval=6 |
---|
Note: See
TracBrowser
for help on using the repository browser.