Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- """
- Script for Zabbix discovery of pingas targets
- link to github:
- https://...............................................................
- """
- import os
- import json
- if __name__ == "__main__":
- targets_file_name = mypath = os.path.join("C:", "Program Files", "Zabbix Agent", "conf", "zabbix_agentd.conf.d", "pingas_targets.txt")
- with open(targets_file_name) as f:
- targets = f.readlines()
- print(targets)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement