Host Template: Application - Opsview

Overview Copied

Monitor your Opsview Collector.

This Host Template includes the following Service Checks:

Service Check Name Description Default Thresholds (Metric: Warning, Critical) UOM
Opsview - Collector Status Monitors the status of your Collector including uptime. N/A N/A

Note

See details about Nagios thresholds here.

Usage Instructions Copied

Please review the overall Opsview - Self Monitoring 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 - Opsview 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

OPSVIEW_COLLECTOR Copied

Plugin Parameter Position in Variable Name Description
--node Value Collector name Collector name

SELF_MONITORING_UPTIME_THRESHOLDS Copied

The Value is not used and therefore can be set to anything. Override the arguments with your uptime thresholds.

Plugin Parameter Position in Variable Name Description
N/A (Opsview UI Only) Value
--uptime-warning Arg1 Uptime warning threshold Warning threshold for uptime check
--uptime-critical Arg2 Uptime critical threshold Critical threshold for uptime check

SSL Certificates: SELF_MONITORING_CERTIFICATES Copied

Opsview Cloud

For Opsview Cloud customers, please contact ITRS Support for assistance with setting up certificate files, as they require Orchestrator access.

Additionally, you can use the SELF_MONITORING_CERTIFICATES variable to pass in your SSL certificates for use when connecting to the service provider to gather metrics.

Parameter Position in Variable Name Description
--ca-path Arg1 CA Certificate Path Path to the CA Certificate
--client-cert Arg2 Client Certificate Path Path to the Client Certificate
--client-key Arg3 Client Key Path Path to the Client Key

Plugin help Copied

Plugin: check_opsview

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
Opsview - Collector Status SM.Collector.Status
["Opsview Cloud"] ["Opsview > Opspacks"] ["User Guide", "Technical Reference"]

Was this topic helpful?