[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bbmrtg.sh Script help
- To: <hobbit (at) hswn.dk>
- Subject: bbmrtg.sh Script help
- From: "Lowery, Michael" <mlowery (at) alliedtechgroup.com>
- Date: Wed, 16 Feb 2005 00:37:52 -0600
- Thread-index: AcUT8gpUACt5ojjUQJiGBDBukXgsEw==
- Thread-topic: bbmrtg.sh Script help
Ok, I've added the [mrtg] stuff to hobbitlaunch, defined the variables
in hobbitserver, but I don't understand scripting enough to know what is
happening here with bbmrtg.sh. I've added the -x for debugging, and I
get a ton of lines that look like this in the bbmrtg.log file created in
/var/log/hobbit/bbmrtg.log: I don't know why it doesn't find the file
or directory, I just don't know enough about scripting to read it and
see what it's actually trying to do. Can anyone help?
#############BEGIN###################
++ echo 0%
++ s/%//
/hobbit/server/ext/bbmrtg.sh: s/%//: No such file or directory
+ value=
++ echo
++ '{ printf "%d" , 193000 / 100 * $1 }'
/hobbit/server/ext/bbmrtg.sh: { printf "%d" , 193000 / 100 * $1 }: No
such file or directory
+ value=
+ eval yellowleveloutmin=
++ yellowleveloutmin=
+ OLDIFS=
+ IFS=:
+ set bogus yellowlevelinmax 70%
+ shift
+ IFS=
++ echo 70%
++ s/%//
/hobbit/server/ext/bbmrtg.sh: s/%//: No such file or directory
###############END#######################
Thanks,
Michael Lowery