Welcome to docs.opsview.com

Differences

This shows you the differences between two versions of the page.

opsview4.6:audible_alerts [2014/09/09 12:19] (current)
Line 1: Line 1:
 +====== Using audible alerts in Opsview ======
 +We recommend you use the [[opsview4.6:eventsview|Events view]] for audible alerts, as that can show you which changes occurred. However, if you want audible alerts from the NagiosĀ® Core CGI pages, such as status.cgi, you must configure Opsview to allow this.
 +
 +Add the following line to the ''opsview.conf'' file within ''/usr/local/nagios/etc/''.
 +
 +<code>
 +$overrides .= <<'EOF';
 +cgi_host_unreachable_sound=state_change.wav
 +cgi_host_down_sound=state_change.wav
 +cgi_service_critical_sound=state_change.wav
 +cgi_service_warning_sound=state_change.wav
 +cgi_service_unknown_sound=state_change.wav
 +EOF
 +</code>
 +
 +You may make your own custom sounds, if you wish. Just put them in the /usr/local/nagios/share/media directory.
 +
 +Edit the Apache proxy configuration (if being used) and ensure the following line exists in the ''ProxyPass'' directives.
 +
 +  ProxyPass /media !
 +
 +Restart Apache and reload the Opsview configuration.  Alerts should now be enabled from the Nagios Core CGIs.
Navigation
Print/export
Toolbox