Supervision and Administration

Administration

By clicking on the Services you are taken to a page summarising the status of the various component services DC Netscope, and the connection status between DC Netscope and the vCenters.

For each of the services, you will find:

  • the name of the service
  • its operational status
  • an action button to change its operating status
  • a button to download your logs

For each of the vCenters you will find:

  • the name of the vCenter
  • the connection status

Supervision

It is possible to integrate DC Netscope with monitoring tools: indeed DC Netscope exposes two API points which allow the following information to be retrieved via an HTTP request:

  • status of DC Netscope services:
  • status of the DC Netscope connection to the vCenters:

We offer ready-made configurations for the following monitoring tools:

These can be downloaded as shown in the following screenshot:

Attention

Configration files are customised with DC Netscope HTTP security tokens. If in the meantime you change the configuration of DC Netscope regarding HTTP security tokens, you must change the supervision configuration. One possibility is to generate a new configuration to replace the old one. the old one.

PRTG

First you have to download the PRTG configuration file from the Download supervision template:

Then, on your PRTG server, you must locate the folder containing the PRTG templates:

Drop the template file into the folder:

From the PRTG interface, add a device (device):

Choose the location of the new device:

Choose a name for the new device and specify the IP address of the Netscope DC VM:

Finally, choose the template DC Netscope template and proceed with the creation:

DC Netscope should now be monitored by PRTG:

Zabbix

First you have to download the Zabbix configuration file from the Download supervision template:

Then go to the host configuration screen:

And choose to import a host:

And select the file that was generated by DC Netscope.

Nagios

First you need to download the Nagios configuration file from the Download supervision template:

And place this file in the nagios configuration folder, which along with the Docker official is:

/opt/nagios/etc/conf.d

This configuration file should be automatically taken into account.

Manually

It is possible to use the DC Netscope API to monitor the status of DC Netscope:

  • status of services: h<IP_DCNETSCOPE>ttp://:5000/api/health/services/all</IP_DCNETSCOPE>
  • status of the vCenters: h<IP_DCNETSCOPE>ttp://:5000/api/health/vcenters/all</IP_DCNETSCOPE>

Please note the following information:

  • The default port to use is 5000. If HTTPS has been enabled, it will be 5443. An HTTP redirect is automatically made.
  • If an HTTP security token has been generated, this must be indicated.

For your information, here are some functional curl commands with the following parameters:

  • address: 1.2.3.4
  • port: 5000 (5443 if https active)
  • protocol: http (https if https active)
  • HTTP security token: token1234 (do not put anything if no token)
curl -k -H "token-api:token1234" http://1.2.3.4:5000/api/health/services/all
curl -k -H "token-api:token1234" http://1.2.3.4:5000/api/health/vcenters/all
curl -k https://1.2.3.4:5443/api/health/services/all
curl -k -H "token-api:token1234" https://1.2.3.4:5443/api/health/vcenters/all