add external commands as stubs for the nagios plugins
[monitor.git] / commands / shconfig.py
1 #!/usr/bin/python
2
3 from monitor import config
4
5 for attr in dir(config):
6         val = config.__getattribute__(attr)
7         if attr[0].isupper() and attr[1].isupper():
8                 print '%s="%s" ' % (attr, val)