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?