Forum Discussion
tbw_90635
Nimbostratus
Jul 21, 2009Integer Property of Monitor Templates
A monitor template configured with interval=5 and timeout=16 was setup on three version of BigIP.
I called_template_integer_property() using the template name and the types: ITYPE_INTER...
tbw_90635
Nimbostratus
Jul 21, 2009I see the error of my ways :-)
I'm not using the same monitor name, for each property type.
Thanks, Joe
==============================
String [] monitorName = { "http", "https", "tcp", "icmp", "udp", "ftp" }; // wrong
LocalLBMonitorIntPropertyType [] ptype = {
LocalLBMonitorIntPropertyType.ITYPE_INTERVAL,
LocalLBMonitorIntPropertyType.ITYPE_TIMEOUT,
LocalLBMonitorIntPropertyType.ITYPE_PROBE_NUM_PROBES,
LocalLBMonitorIntPropertyType.ITYPE_PROBE_NUM_SUCCESSES,
LocalLBMonitorIntPropertyType.ITYPE_PROBE_TIMEOUT
};
LocalLBMonitorIntegerValue [] ivalue = m_monitor.get_template_integer_property(monitorName, ptype);
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
