Host Template: Application - Active Directory - Database

Overview Copied

Monitor performance metrics for an Active Directory Database

This Host Template includes the following Service Checks:

Service Check Name Description Default Thresholds (Metric: Warning, Critical) UOM
Active Directory - Database - Disk Usage Shows the database disk usage where the Active Directory Database is stored database_disk_usage: ​70,90 %
Active Directory - Database - Disk Operational Status Shows the operational status of the storage device where the Active Directory Database is stored N/A N/A
Active Directory - Database - Disk Health Status Shows the health status of the storage device where the Active Directory Database is stored N/A N/A
Active Directory - Database - File Size Shows the size of the Active Directory database file in bytes N/A B

Note

See details about Nagios thresholds here.

Usage Instructions Copied

Please review the overall Application - Microsoft Active Directory Opspack documentation for details on prerequisites, known issues, and other necessary configurations that apply to all Host Templates in the Opspack.

Add this Host Template Copied

Add the Application - Active Directory - Database Host Template to your Opsview Monitor host. If the resource you’re monitoring has no hostname or public IP, then open the Advanced settings pane and change Host Check Command to Always assumed to be UP.

Note

For more information, refer to the documentation on Adding Host Templates to Hosts.

Add and configure Variables Copied

The Service Checks in this Host Template use the following variables, and they will be added to your Opsview Monitor instance alongside the Host Template:

Note

For more information, refer to the documentation on Adding Variables to Hosts.

Apply Changes Copied

Apply Changes and the system will now be monitored:

View Output

Available Variables Copied

KERBEROS_REALM Copied

Only required if authenticating using Kerberos. If Kerberos authentication is not working add a default_realm value in the krb5.conf file located in ‘/opt/opsview/krb5/etc/’

Plugin Parameter Position in Variable Name Description
N/A Value Kerberos Realm Kerberos realm. This value is not used by the plugin, it is used to automatically configure your ‘krb5.conf’ configuration file
N/A Arg1 KDC 1 Kerberos realm. This value is not used by the plugin, it is used to automatically configure your ‘krb5.conf’ configuration file
N/A Arg2 KDC 2 Kerberos realm. This value is not used by the plugin, it is used to automatically configure your ‘krb5.conf’ configuration file
N/A Arg3 KDC 3 Kerberos realm. This value is not used by the plugin, it is used to automatically configure your ‘krb5.conf’ configuration file
N/A Arg4 KDC 4 Kerberos realm. This value is not used by the plugin, it is used to automatically configure your ‘krb5.conf’ configuration file

AD_CREDENTIALS Copied

Plugin Parameter Position in Variable Name Description
-Username Arg1 Username Username for remote windows host e.g user@DOMAIN.COM
-Password Arg2 Password Password for remote windows host
-Authentication Arg3 Authentication Type Authentication type to use

Plugin help Copied

Plugin: check_active_directory

Secure Args

This plugin uses the Secure Args feature for argument passing.

For mode-specific help, run the plugin with the -h -m <mode> flags. This will list the required and optional Variable Arguments for that mode. The appropriate mode for each Service Check is listed here:

Service Check Name Mode
Active Directory - Database - Disk Usage AD.Database.DiskUsage
Active Directory - Database - Disk Operational Status AD.Database.OperationalStatus
Active Directory - Database - Disk Health Status AD.Database.HealthStatus
Active Directory - Database - File Size AD.Database.FileSize
["Opsview Cloud"] ["Opsview > Opspacks"] ["User Guide", "Technical Reference"]

Was this topic helpful?