This file contains hidden or 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
| # The purpose of this script is to help push monitoring information gathered using other scripts to all zabbix servers | |
| # example of usage script | |
| # ****** | |
| # send="/etc/zabbix/zabbix_sender.sh" | |
| # value=$(/script/to/fetch/value.py) | |
| # if [ -z "$value" ];then value=Null;fi | |
| # $send {zabbix.key} $value 2>&1 >/dev/null | |
| # ******* | |
| #!/bin/bash |
This file contains hidden or 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
| # Log fragmenting 'tool' | |
| # Author: Julian Capilla-krumbak | |
| # Date: 2016-05-04 | |
| # | |
| # Expected log format: yyyymmdd_xxxxxxxxxxxx | |
| # It will put logs in folders per day like ./20160101/ ./20160102/ .. etc | |
| import os,shutil | |
| class FolderDist(object): |
This file contains hidden or 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
| ###################################################### | |
| # List certificates, find if a cert is expired. | |
| # Requirements for sending emails: postfix, mailutils | |
| # | |
| # 15-12-2015 | |
| # Julian Capilla | |
| # lyhan_jr@hotmail.com | |
| ###################################################### | |
| #!/bin/bash |
This file contains hidden or 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
| ################################################## | |
| # Kill long queries # | |
| # This shell script will kill queries that have # | |
| # passed the $MAX execution time. # | |
| # Julian Capilla-krumbak # | |
| # lyhan_jr@hotmail.com # | |
| # 21-05-2014 # | |
| ################################################## | |
| #!/bin/bash |
NewerOlder