Re: [asterisk-users] How to monitor Asterisk logs ?

2008-07-16 Thread Zach Segal
Paul Chambers wrote:
 It's probably total overkill, but nagios is a very sophisticated system 
 monitoring tool. The learning curve is quite steep, but once there, 
 it'll be able to monitor just about anything of concern.
 
 Paul

I have to second this while acknowledging the overkill caveat.  We've 
got a handful of Nagios checks watching our live Asterisk box: check 
that call reporting is sane and data is being imported regularly to a 
mysql db, monitor astmanproxy, monitor asterisk process itself, monitor 
voicemail backup system, monitor the fax printer, etc...  And that's on 
top of all the checks like disk space, load, and the rest of the run of 
the mill metrics you tend to monitor on any Linux server.

Most recently when we began to notice problems with our PRI it took all 
of 5m to whip up a differential log file monitor using one of the 
vanilla Nagios check scripts that would notify us whenever an alarm or 
checksum error was detected on the circuit.

The Nagios check scripts themselves are really simple and comprehensize 
and the architecture is flexible enough to allow you to write custom 
checks in whatever language you like.  It can be very helpful when 
you're trying to stay on top of a complex and diverse environment like a 
PBX.

-- 
Zach Segal
Network Operations
Gleim Internet

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Problem with SIP Subscription Status

2008-05-12 Thread Zach Segal
Hello All,

I've been having some intermittent trouble with an Asterisk 1.2.10 
installation that is supporting roughly 50 SIP clients on a LAN, mostly 
soft phones and about 10 snom VoIP phones.  We have a custom soft phone 
client which displays presence information for various extensions. 
Unfortunately, this information regularly gets out of sync with the 
actual status of the various extensions.  An extension will show up as 
'InUse' or 'Unavailable' when the individual is in fact not on the line, 
i.e. the status should be 'Idle'.  I can verify this by issuing a 'sip 
show subscriptions' and typically for every client subscribed to the 
problem extension the status column displays 'InUse'/'Unavailable'. 
However I have also noticed that in some instances, half the subscribed 
clients will get an 'Idle' status and the other half will have 'InUse' 
or 'Unavailable'.

Often this behavior will follow some other SNAFU, e.g. a rogue mpg123 
process for MoH consuming abnormal amounts of CPU and creating high 
loads.  However, this is not always the case.  The lack of a pattern, 
and more then anything, a simple solution has forced my hand and I'm 
appealing to the list for help.  I've been over voip-info countless 
times and have searched around more then I care to remember.  Restarting 
the soft phones does nothing to alleviate the problem (which doesn't 
entirely surprise me as I'm starting to think it's a server side issue). 
  Restarting asterisk itself generally resolves things however this is 
not an option in the middle of the day.  Thanks in advance for all your 
help.
-- 
Zach Segal

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users