VPN Stats do not work when MX Spare is the active Master.

JGill
Building a reputation

VPN Stats do not work when MX Spare is the active Master.

Anyone noticed that getOrganizationApplianceVpnStatuses and getOrganizationApplianceVpnStats  do not return data from the active MX in a High-Availability configuration?  

 

Both API calls only return data from the Master Unit, whether it is active or not.    

 

VpnStatuses shows the serial number of the primary in the Jason results with a 'deviceStatus': 'offline', 

 

So the question is, Shouldn't the Org / Network level calls return data from the Active MX during a fail over event vs just showing offline?   

 

Python example snippit below: 

vpnstatuses = dashboard.appliance.getOrganizationApplianceVpnStatuses(organization_id, total_pages='all')
 
vpnstats = dashboard.appliance.getOrganizationApplianceVpnStats(organization_id, total_pages='all', timespan='300')
 
print('\n\n*'.ljust(110,'*'))
print('*'.ljust(45,'*') + '   Test Section Stats  ' + '*'.ljust(44,'*'))
print('*'.ljust(110,'*'))
 
pprint.pprint(vpnstats[arg1])
print('\n\n*'.ljust(110,'*'))
print('*'.ljust(45,'*') + '   Test Section Statuses   ' + '*'.ljust(44,'*'))
print('*'.ljust(110,'*'))
pprint.pprint(vpnstatuses[arg1])
print ('vpnstatuses: ' +str(cnt_vpnstatuses))

 

0 REPLIES 0
Get notified when there are additional replies to this discussion.