[asterisk-users] Under heavy attack

Joel Maslak jmaslak at antelope.net
Sun Oct 31 11:58:06 CDT 2010


On Oct 31, 2010, at 9:40 AM, jon pounder <jonp at inline.net> wrote:

> what are you using that is tied to nagios ?

I'll package it up next week and make it available.

Basically, I use nrpe to call a shell script that looks at the last five minutes, 60 minutes, and 1440 minutes of a "asterisk -rx 'core show channels'" output that I run from cron every minute (I count the number of paid channels in use [I ignore channels that have no cost associated with them, such as users calling other users]).  If any of these thresholds exceeds my error threshold, I signal a nagios "CRITICAL" alert.  Otherwise I return "OK".




More information about the asterisk-users mailing list