Collection YAML template


-----------------below is ind template file ------------------------
#! META
name: radware-cfg-SlbOperEnhGroupRealServerTable
description: Determine pool member state and capacity
type: monitoring
monitoring_interval: 5 minutes
requires:
    vendor: "radware"
    os.name: "alteon-os"

#! COMMENTS
lb-pool-member-state:
    why: |
        A real server being down results in reduced pool capacity or in worst case, downtime. Disabling nodes is common during ie. a maintenance but it is easily forgotten. This metric would warn administrators when a node is not ready to accept traffic.
    how: |
        This alert uses the Alteon API interface to parse through the real server table. If the Runtime Status is anything but 1, the real server is either disabled or failing.
    without-indeni: |
        Login to the device's web interface and click on "Application Delivery" -> "Server Resources" -> "Real Servers". This would show a list of the Real Servers and their states. Select the affect Real Server and determine if it needs to be reconfigured or has a failing health check.
    can-with-snmp: true
    can-with-syslog: false
    vendor-provided-management |
        Can be done through Management GUI (Vision or Alteon VX).
lb-pool-capacity:
    why: |
        A server group that is not running with full capacity could cause slowness in the application, service disruption, or in worst case downtime. indeni tracks this by measuring the available members of the group in percent.
    how: |
        This alert uses the Alteon API interface to parse through the real server table. If the Runtime Status is anything but 1, the real server is either disabled or failing. Indeni then measures % of real servers against total server count.
    without-indeni:
        An administrator would have to manually check member availabilty by logging on to the web interface of the device and clicking on "Application Delivery" -> "Server Resources" -> "Server Groups". You would have to check the server state of each real server and determine if there is an adequate number of real servers that are active.
    can-with-snmp: false
    can-with-syslog: false
    vendor-provided-management |
        Can be done through Management GUI (Vision or Alteon VX).

#! REMOTE::HTTP
/config/SlbOperEnhGroupRealServerTable
protocol: HTTPS

#! PARSER::JSON

-----------------below is input file ------------------------
#input file
{
	"SlbOperEnhGroupRealServerTable":[{	"RealServGroupIndex": "1",
	"ServIndex": "1",
	"State": 1,
	"Status": 1,
	"IP": "100.100.100.1" ,
	"Descr": "123", 
	"RuntimeStatus": 1
	},
	{
	"RealServGroupIndex": "1",
	"ServIndex": "2",
	"State": 1,
	"Status": 1,
	"IP": "200.200.200.200" ,
	"Descr": "2",
	"RuntimeStatus": 3
	},
	{
	"RealServGroupIndex": "2",
	"ServIndex": "2",
	"State": 1,
	"Status": 1,
	"IP": "200.200.200.1" ,
	"Descr": "123",
	"RuntimeStatus": 3
	},
	{
	"RealServGroupIndex": "3",
	"ServIndex": "1",
	"State": 1,
	"Status": 1,
	"IP": "100.100.100.1" ,
	"Descr": "123",
	"RuntimeStatus": 1
	},
	{
	"RealServGroupIndex": "4",
	"ServIndex": "1",
	"State": 1,
	"Status": 1,
	"IP": "100.100.100.1" ,
	"Descr": "123",
	"RuntimeStatus": 1
	},
	{
	"RealServGroupIndex": "4",
	"ServIndex": "3",
	"State": 1,
	"Status": 1,
	"IP": "40.40.40.40" ,
	"Descr": "3",
	"RuntimeStatus": 3
	}]                                   
}


-----------------notes ------------------------------------
#We need to determine if the real server in the server group is operational - thus "lb-pool-member-state". We also need to know what % of real servers in the server group are operational - thus "lb-pool-capacity". 
#Use "RuntimeStatus" to determine Real Server State. Use "RealServGroupIndex" to identify each server group
#"RuntimeStatus": {1=RUNNING, 2=FAILED, 3=DISABLED}
#the "#" in output is not necessary. Just identifying where to find the value from input file.