Automatic Nervecenter Documentation Engine is a program that Sam Zurita wrote and it is located on Aldora. It takes a NerveCenter ncdb file and converts it into a HTML file. After the file is transformed into a HTML file, ANDE posts the results onto //aldora/ande/alarms in a readable format.
One html file will be created per alarm and will include all relevant polls, masks, and perl subroutines. ANDE provides a simple form of error checking by leaving cells blank in the transition table for triggers that never get fired.
How to execute ANDE:
Click Start -->Run --> then type CMD.
The command window opens. You are ready to begin.(You can skip this step
only if you are not using a windows machine.)
First and foremost, you have to place the ncdb files somewhere on your
computer.
Then you FTP Aldora from your machine and log in yourself, then
enter
your password.
!dir
enter,
(this allows you to see what is
on your directory while still in FTP mode on Aldora)
Type
lcd
name of directory (note:
the !dir and lcd command can be done in any order) *see note*
Type
cd /opt/ande/temp, enter
Type
bin,
enter
(this
changes the typeset to binary mode)
Type put name of file , enter
--
then Type
bye,
enter
TELNET
Aldora,
login as yourself, then
enter
the your password. Then type
su, super user, enter.
Type
root password. (You can do this in the same window as FTP or you
can open a new one.)
Type cd /opt/ande/bin enter
Type ./ncdb2html.bash (space) tag file
name (space) actual file name.ncdb
enter
You're done! Type
exit
enter, exit
enter.
NOTE: lcd is important because it indicates the directory where the file resides. You must have that directory window where the file sits, open. You can keep using the !dir command to see where you are at every time you 'lcd'. Keep using 'lcd' until you find the file.
NOTE: When you are in FTP mode, do not include spaces in the name of the directory or the file name. FTP does not like spaces! Now you are ready to go to //aldora/ande/alarms
NOTE: Make sure that the ncdb file has no control characters. A simple search and replace command in vi can be done to remove the ^M's.
For example-- :1,$s/^V^M//g
The ^V is the backslash (\) of control characters. It will not be displayed on the screen.