Skip to content

Instantly share code, notes, and snippets.

# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Remove zsh warning on a mac
export BASH_SILENCE_DEPRECATION_WARNING=1
## This is an example of executing code when your zenpack gets installed (or removed)
## This __init__.py file should be located at ZenPacks.namespace.Name/ZenPacks/namespace/Name/__init__.py
## This code should be carefully added to your zenpack so as not to accidently overwrite key methods (
'''
Here begins the non default code
'''
# Import all the things.
@James-Newman
James-Newman / zenfixit.py
Created December 1, 2014 10:56
ZenFixIt.py A script to fix common Zenoss problems (Created by Zenoss Inc. posted for posterity)
#!/usr/bin/env python
##########################################################################
#
# Copyright 2009 Zenoss, Inc. All Rights Reserved.
#
##########################################################################
__doc__ = """zenfixit
Apply common remedies for problems, and look for other issues.