diff options
Diffstat (limited to 'abs/core/xymon/hbfunc.py')
-rw-r--r-- | abs/core/xymon/hbfunc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/abs/core/xymon/hbfunc.py b/abs/core/xymon/hbfunc.py index 60d0bde..65b7902 100644 --- a/abs/core/xymon/hbfunc.py +++ b/abs/core/xymon/hbfunc.py @@ -12,7 +12,7 @@ import datetime BBLINE = '' BBCOLOR="green" DATE = time.strftime("%a %b %d %H:%M:%S %Z %Y", time.localtime(time.time())) -BB="/data/srv/xymon/server/bin/xymon" +BB="/home/xymon/server/bin/xymon" BBDISP="127.0.01" @@ -119,7 +119,7 @@ def readbb(): global mythtype try: - infile = open('/data/srv/xymon/etc/hosts.cfg', 'r') + infile = open('/home/xymon/etc/hosts.cfg', 'r') except(IOError), e: #print "couldn't open xymon hosts file" sys.exit(1) @@ -208,7 +208,7 @@ local_myth_version=find_local_myth_version() for currentclient_a in hostlist: currentclient=currentclient_a.lower() print currentclient - cmd='/data/srv/xymon/server/bin/xymon 127.0.0.1 "query ' + cmd='/home/xymon/server/bin/xymon 127.0.0.1 "query ' cmd+=currentclient cmd+='.conn"' bbresults=os.popen(cmd,'r' ).readline().strip().split() |