Skip to main content
Skip table of contents

Monitoring tool: checkPortal.sh

The availability of the VISULOX Access Node and its components is essential for operation.
The script checkPortal.sh allows to check the availaiblity from three different viewpoints and can be found in /opt/visulox/setup/examples/.

1) From outside, like the user (-lb)

2) From the VISULOX GATEWAY (-gw)

3) From the VISULOX PORTAL Node (-sgd)

A check from outside (1) will show the result, wether the portal is available or not.

If a single VISULOX GATEWAY (2) or VISULOX PORTAL instance (3) is not available, this will not be detected by (1).

Therefore the explicit checks for each VISULOX GATEWAY and/or each VISULOX PORTAL are needed.

Checking the service:

Service check

CODE
checkPortal.sh -lb -server <accessserver> 

Can run on any system, which has access to the service.


Checking the VISULOX GATEWAY:

Gateway check

CODE
checkPortal.sh -gw -server <gwserver> 

This check runs on each Gateway server


Checking the VISULOX PORTAL:

Portal check

CODE
checkPortal.sh -sgd -server <VISULOX Access Node) 

This check runs on each VISULOX Access Node.


Path: /opt/visulox/setup/example/checkPortal.sh


Available options:

CommandDescription
-lbTest via Loadbalancer
-gwTest via VISULOX GATEWAY
-sgdTest VISULOX PORTAL(default)
-server <arg>Endpoint to test <$ACCESSSERVER>
-port <arg>Port of the endpoint to test <$PORT>
-eCheck includes GW-enable file (lb_endpoint.html)
-qQuiet mode
-nagiosexitcode related for nagios
-verboseVerbose mode
-debugDebug mode


Return codes:

Return codeDescription
0Ok
1Warning
2Critical
3Unknown
10Gateway Java proxy not available
11Gateway Apache revers proxy not available
12None of the portal Apaches is answering
13None of the portal Tomcats is answering
14GW cannot see any portal
15VISULOX GATEWAY disabled (lb_endpoint.html)
20VISULOX PORTAL Array service not available
21VISULOX PORTAL Service not available
22

VISULOX PORTAL Apache not available

23

VISULOX PORTAL Tomcat not available

126Missing or cannot be executed
127General error

Other useful tools

gwApache.sh allows VISULOX GATEWAY Apache start / stop / restart without disconnecting users sessions.
gwCheck.sh to check VISULOX GATEWAY connectivity.

These scripts can be found in /opt/visulox/setup/example/gateway/.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.