Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
socain
bysocain, March 14, 2012
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;
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;