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...
Jul 21, 2009
Therein lies your issue. The method takes two arrays, the first is for the monitor names, the second is for the property types. This method was designed a bit different that some of the others in our API. For this method, you must pass in a pair of monitor name and type for the n'th index in each array. As you noticed, in your code you were querying the following attributes from the following monitor templates:
template -> property
http -> ITYPE_INTERVAL
https -> ITYPE_TIMEOUT
tcp -> ITYPE_PROBE_NUM_PROBES
icmp -> ITYPE_PROBE_NUM_SUCCESSES
udp -> ITYPE_PROBE_TIMEOUT
ftp -> ???
The ftp entry will be ignored since there were only 5 entries in the property type array.
The correct logic would have been to pass in 5 entries with all 5 monitor template names being the same value for the template you were requesting.
Let me know if you run into any other issues...
-Joe
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
