summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/hbfunc.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-09-10 22:43:38 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-09-10 22:44:37 (GMT)
commit98a003ea4ba6ffd0e529f30b14ce8cf24c4a9ebd (patch)
tree8b063a4226471c2206c21a23ab060f643b16eed0 /abs/core/xymon/hbfunc.py
parent86a66e21bf7b444dbab401e699da74df38fb9dcf (diff)
downloadlinhes_pkgbuild-98a003ea4ba6ffd0e529f30b14ce8cf24c4a9ebd.zip
linhes_pkgbuild-98a003ea4ba6ffd0e529f30b14ce8cf24c4a9ebd.tar.gz
linhes_pkgbuild-98a003ea4ba6ffd0e529f30b14ce8cf24c4a9ebd.tar.bz2
xymon/runit scripts: moved from /data/srv/xymon to /home/xymon.
This was done to preserve rrd's on upgrade
Diffstat (limited to 'abs/core/xymon/hbfunc.py')
-rw-r--r--abs/core/xymon/hbfunc.py6
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()