Skip to content

Nagios Set Remote Palo Alto VPN as parent for SW01

Go to Automation

View in GitLab

Description

This automation checks all Remote Palo Alto VPNs and SW01 switches in Nagios. When the IP-address of a VPN and a switch are in the same /22 management subnet, the VPN should be the parent of the SW1 in Nagios. The parent is added to the SW01 host Nagios when it is missing or wrong.

Credentials

  • mon-nagios-credential-sys_daf_nagios_write
  • sys_ansible_local

Input

Variable Description
dry_run Only write changes to Nagios when dry_run is False

Output

None

Dependencies