# myNMS Configuration file # The format of this file is: # ^GROUP-NAME # ^ KEY = VALUE(s) # comment ('=' sign is optional) DIR # directories BASE = /usr/local/myNMS # myNMS base directory: the following are relative to this BIN = $CONFIG{DIR}{BASE}/bin # myNMS scripts live here ETC = $CONFIG{DIR}{BASE}/etc # config files are here VAR = $CONFIG{DIR}{BASE}/var # most generated files go here, except LOG = $CONFIG{DIR}{VAR}/log # log files (usually dated like something.log.YYYYMMDD) TMP = $CONFIG{DIR}{VAR}/tmp # where we can write temporary files WWW = $CONFIG{DIR}{VAR}/www # generated web pages are in this dir and subdirs FILE # various filenames EVENT_LOG = $CONFIG{DIR}{LOG}/myNMS.log SUBNET_LIST = $CONFIG{DIR}{ETC}/subnets # location of network/subnets list file REMOTE_USER = /DATA/incoming/sura1/users # location of remote + annex users list NETGROUP_OF_HOSTS = netgroup_of_hosts # names of files: all will be in VAR NETGROUP_OF_USERS = netgroup_of_users NETGROUPS_BY_HOST = netgroups_by_host NETGROUPS_BY_USER = netgroups_by_user NETGROUP_ERRORS = netgroup_errors # at present only the exports of one fileserver can be handled: 'sufs1' is ours EXPORTS = exports.sufs1 EXPORTS_BY_HOST = exports_by_host.sufs1 PROG # programs used by some scripts PING = /usr/sbin/ping # standard unix ping GZIP = /usr/gnu/bin/gzip REMOTE_SHELL = /usr/local/bin/ssh MAP # config values used by MAP_info script HOST = main # hostname, USER = suqrnine # username NISCAT = /usr/bin/ypcat # and command to get yp (NIS) maps QUOTAS = bin/QUOTA_info.pl # and quotas QUOTA_FILESPEC = /home/sufs1/ru*/quotas # parameter to QUOTAS script to find quotas files SHOWMOUNT = /usr/sbin/showmount -e sufs1 # for exports (see above) SHOWMOUNT_MIN_SIZE = 100 # sanity check that showmount got a full show SQUID # parameters used by LOG_info script processing squid web cache logs HOSTS = wwwcache1 wwwcache2 wwwcache3 # list of web cache host names USER = operator # username to log into hosts with LOG = /opt/local/squid/logs/archive/access.log # path to log file # the OUT parameter is optional: if set it indicates a filename to which the merged log files # from the web caches will be written. # The file will be generated in the $CONFIG{DIR}{VAR} directory unless a full or relative path is given. # If 'STDOUT' is specified the output will be written to standard output, piping to another script # for further processing of web cache logs if required. OUT = wwwcache PAGE # HTML pages, generated by Query, for different user groups (see ACCESS below) TEMPLATE = $CONFIG{DIR}{ETC}/index.cf # template for QUERY/FRAME_QUERY index pages GATEWAY = $CONFIG{DIR}{WWW}/index.html # page to redirect to user pages QUERY = index.html # non-frames index/query page FRAME = frame.html # frame index page (not built by myNMS) FRAME_QUERY = frameindex.html # frames-version index/query page FRAME_TARGET = output # name of frames-version target window ACCESS # web page access control files SOURCE = $CONFIG{DIR}{ETC}/htaccess.cf # config file to set users' membership of groups # # the location of the PASSWD file should be outside the WWW-accessible parts of the filesystem # (i.e. not in a subdirectory of document_root) # This file is generated automatically from SOURCE above, and is referred to by ACL below PASSWD = $CONFIG{DIR}{ETC}/.passwd ACL = $CONFIG{DIR}{WWW}/.htaccess # basename of user-groups' .htaccess files ACCESS_GROUPS # definition of user groups for control of access to web pages # tag dir Name Description noc noc NOC NOC # read-write access to some data s&c its-sc ITS-SC ITS Systems and Comms + Techs # greater ... } its its ITS all members of IT Services # ... } access to dep dep Depts Tech staff in depts # ... } web pages pub pub public everybody # ... lesser } NETWORK DEFAULT = 123.45 # default if just a subnet is specified