Python IA Schedule task

# importing the required libraries import requests import json import base64 import uuid # define parameters username = '' password = '' url = "https://iawebapi.automatedvision.info:8081/Dispatcher/SchedulingService/Jobs" identifier = uuid.uuid4().hex message =…

PS Schedule script full

## Create the Basic Authentication $secpasswd = ConvertTo-SecureString "" -AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential ( "" , $secPasswd) ## Set the PS paramaters $url = " https://iawebapi.automatedvision.info:8081/Dispatcher/SchedulingService/jobs" $Parameter_Identitifier =…

IA WebAPI Body schedule module

{ "Description":" Send Message API ", ## Name of the Module, Project or Runbook "When": {"Immediate": true, ## When the action needs to be executed immediately "IsLocalTime": true, ## Required…

Create LB Virtual Server

add lb vserver lb_vsrv_ia_webapi_8081 SSL 172.16.1.106 8081 ## when using SSL add lb vserver lb_vsrv_ia_webapi_8081 HTTP 172.16.1.106 8081 ## not using SSL bind lb vserver lb_vsrv_ia_webapi_8081 svcgrp_ia_webapi_8081

ADC Add SSL certificate

add ssl certkey <certificatename> -cert /nsconfig/ssl/<certificate>.crt -key /nsconfig/ssl/<yourkey>.key -password <pempassphrase> -expiryMonitor ENABLED -notificationPeriod 30 bind ssl vserver <name_lbserver -certkeyName <certificatename>

ADC SG example

add servicegroup svcgrp_ia_webapi_8081 SSL ## when using SSL add servicegroup svcgrp_ia_webapi_8081 HTTP ## not using SSL bind servicegroup svcgrp_ia_webapi_8081 SB-IV-AM01 8081 bind servicegroup svcgrp_ia_webapi_8081 SB-IV-AM02 8081 bind serviceGroup svcgrp_ia_webapi_8081 -monitorName…

IA API PS example

# Ivanti Automation Basic WebAPI variables $secpasswd = ConvertTo-SecureString "" -AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential ( "webapi" , $secPasswd) $url = "https://iawebapi.automatedvision.info:8081//Dispatcher/SchedulingService/jobs" $body = '{ "Description":" Send message ",…

ADC Create IA Agents Load Balancer

#Add servers add server SB-MS-AM01 192.168.25.50 add server SB-MS-AM02 192.168.25.51 #Add Service Group add servicegroup svcgrp_ia_agents_3162 TCP add servicegroup svcgrp_ia_agents_3163 TCP add servicegroup svcgrp_ia_agents_3165 TCP #Bind Service Groups bind servicegroup…