Configuration Information Retrieval Scripts
The following scripts are used by the applications and the monitoring systems code to obtain the configuration information from the IEPM-BW database.
fetch-aliasname nodeid
This returns the aliasname for the 'nodeid' specified from the NODES table. For example:
> fetch-aliasname 5 iepm-bw.slac.stanford.edu >
fetch-iepmbw-nodes
This returns an associative array of the monitoring hosts and their base URL.
>fetch-iepmbw-nodes %monhost=('iepm-bw.slac.stanford.edu','http://www.slac.stanford.edu/comp/net', 'iepm-bw.caltech.ul-org','http://socrates.ultralight.org', 'iepm-bw.bnl.org','http://iepmbw.bnl.org', 'iepm-bw.cern.ch','http://iepmbw.cern.ch', 'iepm-bw.twaren.net','http://iepmbw.twaren.net', 'iepm-bw.snv.ul-org','http://snv1.ultralight.org', 'iepm-bw.fzk.de','http://lhc-opn-mon-fzk.gridka.de')