This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2.7 | |
""" | |
This plugin will hit the monitoring API, pull entities, agents and host info from the account, and push to another service. | |
To use: | |
./hostinfo.py --user <username> --api-key <api key> | |
Todo: | |
============= | |
# The entities response is paginated at 100. Need to handle the case where there are more entities |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
https://gist.github.com/wolfdancer/98e1234fff2bcd77a8a0 | |
This script will hit the monitoring API, pull monitoring configuration on the specified entty and check, | |
then generate yaml config file | |
To use: | |
./export.py --user <username> --api-key <api key> --target <target> --target_resolver <target_resolver> | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type: remote.http | |
label: ZNC Bouncer Web | |
disabled: false | |
period: 60 | |
timeout: 30 | |
target_hostname: irc.duan.io | |
target_resolver: IPv4 | |
details: | |
method: GET | |
url: https://irc.duan.io |
OlderNewer