* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited * */ $app_sections = array(); $app_modules = array( "as" => array( "rrd" => "wmi-app-exchange-as.rrd", "descr" => "ActiveSync", "graphs" => array( 'exchange_as_pingcmd' => 'Ping Commands Pending', 'exchange_as_syncmd' => 'Sync Commands Pending', 'exchange_as_curreqs' => 'Current Requests' ) ), "auto" => array( "rrd" => "wmi-app-exchange-auto.rrd", "descr" => "Autodiscover", "graphs" => array( 'exchange_auto_totalreqs' => 'Total Requests', 'exchange_auto_errors' => 'Total Error Responses' ) ), "oab" => array( "rrd" => "wmi-app-exchange-oab.rrd", "descr" => "Offline Address Book", "graphs" => array( 'exchange_oab_dlq' => 'Download Tasks Queued', 'exchange_oab_dlcom' => 'Download Tasks Completed' ) ), "owa" => array( "rrd" => "wmi-app-exchange-owa.rrd", "descr" => "Outlook Web App", "graphs" => array( 'exchange_owa_rtime' => 'Response Times', 'exchange_owa_users' => 'Unique Users' ) ), "trans" => array( "rrd" => "wmi-app-exchange-tqs.rrd", "descr" => "Transport Queues", "graphs" => array( 'exchange_trans_queue' => 'Total Queues', 'exchange_trans_mbque' => 'Active Mailbox Delivery Queues', 'exchange_trans_subque' => 'Submission Queues' ) ), "smtp" => array( "rrd" => "wmi-app-exchange-smtp.rrd", "descr" => "SMTP", "graphs" => array( 'exchange_trans_smtp' => "SMTP Connections" ) ), "is" => array( "rrd" => "wmi-app-exchange-is.rrd", "descr" => "Information Store", "graphs" => array( 'exchange_is_active' => 'Active Connection Count', 'exchange_is_users' => 'Current User Count', 'exchange_is_rpcreq' => 'RPC Requests', 'exchange_is_rpcfail' => 'Failed RPC Requests' ) ), "mailbox" => array( "rrd" => "wmi-app-exchange-mailbox.rrd", "descr" => "Mailbox", "graphs" => array( 'exchange_mb_latency' => 'RPC Average Latency', 'exchange_mb_queued' => 'Messages Queued for Submission', 'exchange_mb_msgs' => 'Messages per Second' ) ) ); foreach ($app_modules as $module => $data) { if (is_file(get_rrd_path($device, $data['rrd']))) { $app_sections[$module] = $data['descr']; $app_graphs[$module] = $data['graphs']; } } unset($app_modules); // EOF