Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

los

Reviews(1)
bylos, January 30, 2014
1 of 1 people found this review helpful
Works great! However, if you're using PHP5, you're likely going to run into a PHP Notice error message:

PHP Notice: Undefined variable: asttext in /check_asterisk_pri on line 181

To remedy this, just replace the following code:

while( !feof ( $astsock ))
{
$asttext .= fread( $astsock, 8192);
}

with the following:

$asttext = stream_get_contents($astsock);

Thanks for making this...we've been having odd problems with PRI syncing and this keeps us informed.