Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
If you send the right parameters and configure asterisk manager account it works great. It broke after an upgrade to asterisk 1.8.9 because they take out the word “Provisioned” in “pri show spans”, so had to add the following code:
else if( strpos( $segment, “Up, Active” ) !== FALSE ) $lines[$count][‘up’] = 1;
Just after the existing section/code:
if( strpos( $segment, “Provisioned, Up, Active” ) !== FALSE ) $lines[$count][‘up’] = 1;