Forum Discussion
Perl Management/DeviceGroup
Hello,
I'm trying to setup a monitoring script for an LTM cluster running v11.0. What I wish to monitor, is whether the configuration on the active node has changed. (if so; we should do a config sync manually)
For version 9, I've used these variables.
"configsync.localconfigtime"
"configsync.peerconfigtime"
"configsync.localsyncedtime"
These don't seem to work for version 11, so I've been looking into Management/DeviceGroup instead. What stops me, is that I cannot get any output from these functions:
get_sync_state
get_member_states
(I get an undefined value in return)
These functions work:
get_autosync_enabled_state
get_device
get_version
This is the code I'm using:
get certificate information:
my @device_groups = (
"/Common/st-lbzq-group",
);
$query = $apiHandle->get_sync_state( SOAP::Data->name(device_groups => [@device_groups]));
$sync_state = $query->result();
print Dumper(\$sync_state);
The produced result, is undef..
Does anyone know why this happens?
3 Replies
- George_Watkins_Historic F5 AccountHi Erland,
- GavinW_29074
Nimbostratus
Erland - Erland_Nylend_1
Nimbostratus
No, it does not work for me either, and the version reported is: BIG-IP 11.1.0 Build 1943.0 Final
Recent Discussions
Related Content
* 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