mcsysinfositeinfo — MagniComp™ SysInfo™ Site Information file
# Comment Variable|Description|Value
A SiteInfo file is used by mcsysinfo(1) to obtain site specific information. This information is reported by SysInfo when the SiteInfo class is requested. SiteInfo information is arbitrary. There is no knowledge of specific SiteInfo variables or content built into SysInfo. The information is free form and can be most any ASCII data the site requests.
The purpose of this data is to allow a site to set highly site specific information about a system and have that data accessable via standard SysInfo user interfaces and API's. Such information might include the company's name, site name, building, and/or company asset number.
When the SiteInfo class is requested, SysInfo will search for and read each of the following files that it finds (in order):
$HOME/.mcsysinfo/siteinfo
/etc/mcsysinfo/siteinfo
$SysInfoDir/config/siteinfo
where $SysInfoDir
is the top level directory where
SysInfo is installed (/opt/sysinfo
is the default).
SiteInfo
files can be created/modified with a text editor or via the
mcsysinfocli(1)
command with the
--siteinfo-var
,
--siteinfo-desc
,
--siteinfo-value
,
and
--siteinfo-scope
options.
Each SiteInfo file consists of one data entry per line.
Each line consists of the following fields which are deliminted by the
|
(vertical pipe) character:
Field # | Name | Content |
---|---|---|
1 | Variable | A unique name used as the variable name (keyword). |
2 | Description | A short sentence describing what this data means. |
3 | Value | The actual value for this data. |