Skip to content
Menu
Lambert Consulting Sàrl
  • Technology
    • Identity & Security
      • Public Key Infrastructure (PKI)
      • Azure Active Directory Premium
      • Conditional Access
      • Multi-Factor Authentication (MFA)
      • FortiGate – New generation firewall (NGFW)
    • Collaboration
      • Microsoft Teams Direct Routing
      • Skype for Business Entreprise Voice
      • SharePoint & SharePoint Online
      • Exchange & Exchange Online
      • OneDrive for Business
    • Microsoft Endpoint Manager
      • Modern Management with Microsoft Intune
      • System Center Configuration Manager (SCCM)
      • Windows Autopilot
    • Infrastructure
      • Microsoft Azure IoT
      • SCOM
      • Digital Workplace & Windows 10
      • KEMP
      • SCVMM
  • Expertise
    • High Quality Consulting
    • Telephony / UCC
      • Hybrid & Cloud
      • Call Center & More
      • Recording & Reporting
      • Migration PBX > VoIP > UC
      • Endpoint, IP Dect & Video
      • IoT with UC (coming soon)
    • Co-Management
    • Tenant to Tenant Migration
  • Projects
  • Company
    • About us
    • Our clients
    • Our Partners
    • Career
    • News
    • Contact
Close Menu
January 27, 2020

Audiocodes, KEMP, Fortinet, Zyxel network device management with Ansible

Ansible, AudioCodes, Fortinet, SBC

There are hundreds of tools that make your network operation life easier, one of the most popular tool is Ansible (open source). Let us give you an example on how to can use Ansible to automate Audiocodes, KEMP, Zyxel or Fortigate devices backups.

You may have pure Ansible installation or Ansible Tower on top. Tower allows you to manage your playbooks in a Visual Web GUI, create workflows, set credentials and schedule jobs to run regularly.

AWX / Ansible Tower

AWX is a free version of Ansible Tower from RedHat:

AWX_Ansible_Tower_Redhat

It uses docker container images and can be deployed on various platforms, here is a CentOS v7.  Once deployed there are containers running tasks, web, Database, queue and cache:

As docker images are maintained by RedHat, you do not need to go deep into how it works, but just profit from nice web GUI and start your development.

So, we want to create a job and template to backup Audiocodes SBC – it will be based on a playbook (YAML ansible code)

 

The playbook code may look like this:

It opens Audiocodes SBC via REST API with a predefined user (we store credentials in AWX database securely and not in YAML open text) and saves SBC backup ini file in a folder and add timestamp to the filename. The API information from Audiocodes can be found here: https://www.audiocodes.com/media/13528/rest-api-for-mediant-devices-ver-72.pdf

 

Workflows in AWX

In AWX we can create more complex workflows in a visual way:

 

Here is example of taking backup and then copying file to a NAS for long term storage and retention. Finally we will schedule this job to run on a monthly basis. In case of job failure we can set system to send email to an administrator.

 

The same way we can backup KEMP load balancer:

 

Or Zyxel switches

Fortigate REST API requires firmware 6.x and you can find the required information here: https://docs.fortinet.com/document/fortimail/6.0.4/rest-api-reference

Do not waste your time using fortios_config and FW 5.x – it is not very stable method.

 

The full power of Ansible is scalability, once you have created a unit code for a function you can multiply its use, delegate operation and manage this way many devices. For production use, you need obviously have isolated  DEV and PROD platforms, keep your playbook is an environment with versioning, etc.

 

Happy DevOps to you!

Let us go farther together!

Whether for a simple question or suggestion, we are at your disposal to answer it by email or by phone.

+41 21 806 37 15
info@lambertconsulting.ch
Ready for Fortinet challenge ? Adding DECT to your Skype for Business with Audiocodes SPS

Related Posts

Espace réservé

AudioCodes, Microsoft Teams, Ribbon Communications, SBC, Sonus, Unified Communications

Nouvelles fonctionnalités d’appel sur Microsoft Teams

pathToCloud

AudioCodes, Microsoft 365, Microsoft Teams, Ribbon Communications, SBC, Sonus, Unified Communications

Déplacer sa téléphonie totalement ou partiellement sur le Cloud? Oui, mais pas sans experts aux commandes.

Ribbon Edgemarc1

Microsoft Teams, Ribbon Communications, SBC

Ribbon EdgeMarc 6000 Review

Local Media Optimization for Microsoft Teams

Microsoft Teams, SBC

Local Media Optimization for Microsoft Teams Direct Routing is now GA

Collaboration, Microsoft Teams, SBC, Unified Communications

Microsoft Teams: le tout-en-un à tout faire

Description_Architecture_SPS

AudioCodes, Skype for Business

Adding DECT to your Skype for Business with Audiocodes SPS

Lambert Consulting Sàrl

    Agence Vaud

    Lambert Consulting Sàrl (HQ)
    9, Avenue des Baumettes
    1020 Renens (Switzerland)
    +41 21 806 37 15

    Agence Genève

    Lambert Consulting Sàrl
    9, Rue des Caroubiers
    1227 Carouge (Switzerland)

    Agence Fribourg

    Lambert Consulting Sàrl
    14, Route de Beaumont
    1700 Fribourg (Switzerland)
    +41 26 322 59 05

    Espagne

    Lambert Consulting Iberica SL
    Apartado de Correos 136
    P.O. Box 136
    11380 Tarifa (España)

    Our company :

    Lambert Consulting is recognised as a trusted partner for delivering complex, high-value-added ICT projects in Switzerland and internationally.

    LC is authorized LSE since 2018.

    LC is Microsoft Gold Partner / Microsoft Partner Advanced Specializations

    LC is a Lambert Group company

    Langue

    • Français (French)
    • English

    Recent articles

    • Migration from one M365 tenant to another December 29, 2020
    • Nouvelles fonctionnalités d’appel sur Microsoft Teams December 4, 2020
    • Déplacer sa téléphonie totalement ou partiellement sur le Cloud? Oui, mais pas sans experts aux commandes. October 26, 2020
    © Lambert Consulting Sàrl 2021
    Designed by Lambert Consulting Team

    Demander notre plaquette d’entreprise

    *Vos données seront traitées avec le plus grand respect et seront uniquement utilisées au sein de Lambert Consulting.

    Teams vs Teams Direct Routing

    Demander le comparatif
    (tenu à jour)
    *Vos données seront traitées avec le plus grand respect et seront uniquement utilisées au sein de Lambert Consulting.

    Demandez-nous un rendez-vous !

    *Vos données seront traitées avec le plus grand respect et seront uniquement utilisées au sein de Lambert Consulting.

    Demandez-nous une offre!

    *Vos données seront traitées avec le plus grand respect et seront uniquement utilisées au sein de Lambert Consulting.

    Mo – Fri   8 am – 6 pm   |   +41 21 806 37 15   |

    • Français

    Demande de références

    C’est avec plaisir que nous partageons avec vous nos références, il suffit juste de nous le demander via ce petit formulaire!

    *Vos données seront traitées avec le plus grand respect et seront uniquement utilisées au sein de Lambert Consulting.

    Skype for Business vs Teams

    Demander le comparatif
    (tenu à jour)
    *Vos données seront traitées avec le plus grand respect et seront uniquement utilisées au sein de Lambert Consulting.