Administer > Manage environment variables

Manage environment variables

These are the default values for NNMi environment variables. Actual values depend on the selections made during NNMi installation.

See the nnm.envvars Reference Page for more information.

Operating System Environment Variable Values
Windows

%NnmInstallDir% =
<drive>\Program Files(x86)\HP\HP BTO Software\

%NnmDataDir% =
<drive>\ProgramData\HP\HP BTO Software\

<drive> is the location where NNMi was installed.

Note On Windows systems, the NNMi installation process creates these environment variables so they are always available.

Linux

$NnmInstallDir = /opt/OV/

$NnmDataDir = /var/opt/OV/

Note On Linux systems, you must manually create these environment variables if you want to use them.

NNMi administrators access some NNMi file locations regularly. NNMi provides a script that sets up many environment variables for navigating to commonly accessed locations.

To set up the extended list of NNMi environment variables, use a command similar to the following examples:

  • Windows: "C:\Program Files (x86)\HP\HP BTO Software\bin\nnm.envvars.bat"
  • Linux: . /opt/OV/bin/nnm.envvars.sh

After you run the command for your operating system, you can use the NNMi environment variables shown in Environment Variable Default Locations for the Windows Operating System or Environment Variable Default Locations for Linux Operating Systems to get to commonly used NNMi file locations.

Environment Variable Default Locations for the Windows Operating System

Variable

Windows (example)

%NNM_BIN%

C:\Program Files (x86)\HP\HP BTO Software\bin

%NNM_CONF%

C:\ProgramData\HP\HP BTO Software\conf

%NNM_DATA%

C:\ProgramData\HP\HP BTO Software\

%NNM_DB%

C:\ProgramData\HP\HP BTO Software\shared\nnm\databases

%NNM_JAVA%

It is set to the java.exe location of the JDK installed on the NNMi management server

%NNM_JAVA_PATH_SEP%

;

%NNM_JRE%

C:\Program Files (x86)\HP\HP BTO Software\nonOV\jdk\hpsw

%NNM_LOG%

C:\ProgramData\HP\HP BTO Software\log

%NNM_LRF%

C:\ProgramData\HP\HP BTO Software\shared\nnm\lrf

%NNM_PRIV_LOG%

C:\ProgramData\HP\HP BTO Software\log

%NNM_PROPS%

C:\ProgramData\HP\HP BTO Software\shared\nnm\conf\props

%NNM_SHARED_CONF%

C:\ProgramData\HP\HP BTO Software\shared\nnm\conf

%NNM_SHARE_LOG%

C:\ProgramData\HP\HP BTO Software\log

%NNM_SNMP_MIBS%

C:\Program Files (x86)\HP\HP BTO Software\misc\nnm\snmp-mibs

%NNM_TMP%

C:\ProgramData\HP\HP BTO Software\tmp

%NNM_USER_SNMP_MIBS%

C:\ProgramData\HP\HP BTO Software\shared\nnm\user-snmp-mibs

%NNM_WWW%

C:\ProgramData\HP\HP BTO Software\shared\nnm\www

Environment Variable Default Locations for Linux Operating Systems

Variable

Linux

$NNM_BIN

/opt/OV/bin

$NNM_CONF

/var/opt/OV/conf

$NNM_DATA

/var/opt/OV

$NNM_DB

/var/opt/OV/shared/nnm/databases

$NNM_JAVA

It is set to the java.bin location of the JDK installed on the NNMi management server

$NNM_JAVA_PATH_SEP

:

$NNM_JRE

/opt/OV/nonOV/jdk/nnm

$NNM_LOG

/var/opt/OV/log

$NNM_LRF

/var/opt/OV/shared/nnm/lrf

$NNM_PRIV_LOG

/var/opt/OV/log

$NNM_PROPS

/var/opt/OV/shared/nnm/conf/props

$NNM_SHARED_CONF

/var/opt/OV/shared/nnm/conf

$NNM_SHARE_LOG

/var/opt/OV/log

$NNM_SNMP_MIBS

/opt/OV/misc/nnm/snmp-mibs

$NNM_TMP

/var/opt/OV/tmp

$NNM_USER_SNMP_MIBS

/var/opt/OV/shared/nnm/user-snmp-mibs

$NNM_WWW

/var/opt/OV/shared/nnm/www