File: //opt/OV/contrib/OpC/sys_env_check.cfg
%sys_env_check = (
HOSTNAME => {
DESCRIPTION => "Hostname ",
COMM_PLAT => "hostname",
},
DATE => {
DESCRIPTION => "System date ",
COMM_PLAT => "date",
},
UPTIME => {
DESCRIPTION => "System uptime ",
COMM_PLAT => "uptime",
},
UNAME => {
DESCRIPTION => "System info ",
COMM_PLAT => "uname -a",
},
NW_INTERFACE_INFO => {
DESCRIPTION => "Network Interface info",
HPUX => "lanscan",
Linux => "ifconfig",
COMM_PLAT => "ifconfig -a",
},
NW_ROUTING_TABLE => {
DESCRIPTION => "Show routing table",
COMM_PLAT => "netstat -rn",
},
NSSWITCH => {
DESCRIPTION => "Name Service Switch(NSS)",
AIX => "cat /etc/netsvc.conf",
OSF1 => "cat /etc/svc.conf",
COMM_PLAT => "cat /etc/nsswitch.conf",
},
NW_STATISTICS => {
DESCRIPTION => "Show the state of all sockets",
COMM_PLAT => "netstat -s",
},
RESOLVCONF => {
DESCRIPTION => "Name resolution order",
AIX => "cat /etc/netsvc.conf",
OSF1 => "cat /etc/svc.conf",
COMM_PLAT => "cat /etc/resolv.conf",
},
HW_CONF => {
DESCRIPTION => "List hardware configuration",
AIX => "prtconf",
HPUX => "ioscan",
SunOS => "prtconf -v",
Linux => "dmesg",
OSF1 => "pset_info"
},
KERNEL_PARAMS => {
DESCRIPTION => "Kernel Parameters",
AIX => "vmo -a",
HPUX => "ov_sub_hpux_kernel_par_chk",
SunOS => "sysdef",
Linux => "sysctl -a",
OSF1 => "dxkerneltuner",
},
ENV => {
DESCRIPTION => "System current environment",
COMM_PLAT => "env",
},
LOCALE => {
DESCRIPTION => "System locale",
COMM_PLAT => "locale",
},
PROCESS_LISTING => {
DESCRIPTION => "Process listing on the node",
COMM_PLAT => "ps -ef",
},
BDF => {
DESCRIPTION => "Report number of free disk blocks",
HPUX => "bdf",
COMM_PLAT => "df -k",
},
MOUNTED_FILE_SYSTEM => {
DESCRIPTION => "Mounted Filesystem list",
COMM_PLAT => "mount",
},
IPCS_INFO => {
DESCRIPTION => "Interprocess communication data",
Linux => "ipcs -a ; ipcs -s -l ; ipcs -s -u",
COMM_PLAT => "ipcs -a",
},
OS_PATCHES => {
DESCRIPTION => "List of OS patches",
AIX => "lslpp -L all",
HPUX => "swlist",
SunOS => "pkginfo",
Linux => "rpm -qa",
OSF1 => "setld -i",
},
ETC_HOSTS => {
DESCRIPTION => "Hosts file Configuration",
COMM_PLAT => "cat /etc/hosts",
},
ETC_NETWORKS => {
DESCRIPTION => "Networks file Configuration",
COMM_PLAT => "cat /etc/networks",
},
);