Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
@los
Favorites0
Views
Projects0
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.
Reviewed 12 years ago