http://10.20.30.40:8084/nms/dashboard.htmlThe hostname/IP address (shown in bold above) should be used instead of <IP address> below. IPNetwork Monitor installation path is usually either
C:\Program Files\IPNetwork Monitor
or
C:\Program Files (x86)\IPNetwork Monitor Use the actual installation path in the below instructions, instead of <IPNetwork installation path>.
Using Basic HTTP authentication
1. Make a backup copy of<IPNetwork installation path>\conf\httpd.conf 2. Run cmd.exe (Run as Administrator) and navigate to <IPNetwork installation path>
cd <IPNetwork installation path>Note: use actual IPNetwork Monitor installation path as explained above, instead of the string <IPNetwork installation path> 3. Generate password file: run the below command in your cmd.exe:
htpasswd.exe -c basic-access.txt usernameYou will be asked twice to enter password for user name. Note: for all subsequent user names, use the command
htpasswd.exe basic-access.txt usernameotherwise you will overwrite all the earlier entered users credentials. 4. Open conf\httpd.conf in any text editor, such as Notepad. Locate file part between the two below lines:
<IfModule nms_module> </IfModule>and replace with the below text block:
<IfModule nms_module> <LocationMatch "^/nms(_mobile)?/.*$"> Order deny,allow Allow from <IP address> Deny from all Satisfy Any AuthType Basic AuthName "Monitoring" AuthBasicProvider file AuthUserFile "C:/Program Files (x86)/IPNetwork Monitor/conf/basic-access.txt" Require valid-user </LocationMatch> </IfModule>Use actual installation path in AuthUserFile line and use Web interface default IP address instead of <IP address> 5. Save conf\httpd.conf file changes. Run the below command in cmd.exe:
NMSWebServr.exe -tIf an error is reported, check the conf\httpd.conf for shown problems. 6. Stop monitoring service from IPNetwork Monitor GUI client’s Tools menu and start it again.
Using Digest HTTP authentication
1. Make a backup copy of<IPNetwork installation path>\conf\httpd.conf 2. Run cmd.exe (Run as Administrator) and navigate to <IPNetwork installation path>
cd <IPNetwork installation path>Note: use actual IPNetwork Monitor installation path as explained above, instead of the string <IPNetwork installation path> 3. Generate password file: run the below command in your cmd.exe:
htdigest.exe -c user-access.dat Monitoring usernameYou will be asked twice to enter password for user ‘username’. Note: for all subsequent user names, use the command
htdigest.exe user-access.dat Monitoring usernameotherwise you will overwrite all the earlier entered users credentials. 4. Open conf\httpd.conf in any text editor, such as Notepad. Locate file part between the two below lines:
<IfModule nms_module> </IfModule>and replace with the below text block:
<IfModule nms_module> <LocationMatch "^/nms(_mobile)?/.*$"> Order deny,allow Allow from <IP address> Deny from all Satisfy Any AuthType Digest AuthName "Monitoring" AuthDigestProvider file AuthUserFile "C:/Program Files (x86)/IPNetwork Monitor/conf/user-access.dat" Require valid-user </LocationMatch> </IfModule>Use actual installation path in AuthUserFile line and use Web interface default IP address instead of <IP address> 5. Save conf\httpd.conf file changes. Run the below command in cmd.exe:
NMSWebServr.exe -tIf an error is reported, check the conf\httpd.conf for shown problems. 6. Stop monitoring service from IPNetwork Monitor GUI client’s Tools menu and start it again.
Related topic
Why email alerts are not delivered?
How to set up secure access to Web interface?