Index: includes/definitions/entities.inc.php =================================================================== --- includes/definitions/entities.inc.php (revision 7235) +++ includes/definitions/entities.inc.php (working copy) @@ -99,6 +99,13 @@ $config['entities']['netscaler_svc']['icon'] = "oicon-service-bell"; $config['entities']['netscaler_svc']['graph'] = array('type' => 'netscalersvc_bits', 'id' => '@svc_id'); +$config['entities']['netscaler_svcgrpmem']['id_field'] = "svc_id"; +$config['entities']['netscaler_svcgrpmem']['name_field'] = "svc_label"; +$config['entities']['netscaler_svcgrpmem']['table'] = "netscaler_servicegroupmembers"; +$config['entities']['netscaler_svcgrpmem']['ignore_field'] = "svc_ignore"; +$config['entities']['netscaler_svcgrpmem']['icon'] = "oicon-service-bell"; +$config['entities']['netscaler_svcgrpmem']['graph'] = array('type' => 'netscalersvcgrpmem_bits', 'id' => '@svc_id'); + $config['entities']['toner']['id_field'] = "toner_id"; $config['entities']['toner']['name_field'] = "toner_descr"; $config['entities']['toner']['table'] = "toner"; Index: includes/definitions.inc.php =================================================================== --- includes/definitions.inc.php (revision 7235) +++ includes/definitions.inc.php (working copy) @@ -299,6 +299,7 @@ "cbgp_peer" => "BGP Peer (AFI/SAFI)", "netscaler_vsvr" => "Netscaler vServer", "netscaler_svc" => "Netscaler Service", + "netscaler_svcgrpmem" => "Netscaler Service Group Member", "mempool" => "Memory", "ipsec_tunnels" => "IPSec Tunnels", "vrf" => "VRFs", Index: includes/polling/netscaler-vsvr.inc.php =================================================================== --- includes/polling/netscaler-vsvr.inc.php (revision 7235) +++ includes/polling/netscaler-vsvr.inc.php (working copy) @@ -434,7 +434,15 @@ echo(" U"); // Check Alerts - check_entity('netscaler_svcgrp', $svcgrpmems[$svcgrpmem['svcGrpMemberName']], array('svcgrp_state' => $svcgrpmem['svcgrpState'], 'svcgrp_bps_in' => $svcgrpmem['svcgrpRxBytesRate'], 'svcgrp_bps_out' => $svcgrpmem['svcgrpTxBytesRate'])); + check_entity('netscaler_svcgrpmem', $svcgrpmems[$svcgrpmem['svcGrpMemberName']], + array('svc_state' => $svcgrpmem['svcGrpMemberState'], + 'svc_conn_active' => $svcgrpmem['svcGrpMemberActiveConn'], + 'svc_trans_active' => $svcgrpmem['svcGrpMemberActiveTransactions'], + 'svc_trans_avgtime' => $svcgrpmem['svcGrpMemberAvgTransactionTime'], + 'svc_svr_avgttfb' => $svcgrpmem['svcGrpMemberAvgSvrTTFB'], + 'svc_conn_client' => $svcgrpmem['svcGrpMemberCurClntConnections'], + 'svc_bps_in' => $svcgrpmem['svcGrpMemberRxBytesRate'], + 'svc_bps_out' => $svcgrpmem['svcGrpMemberTxBytesRate'])); }