Welcome to docs.opsview.com

Adding iOS Push Notifications to Previous Versions of Opsview

You can add push notifications to Opsview Enterprise/Pro versions 4.0-4.1 by following the instructions below. Opsview 4.2 and above ship with the iOS push notification method as standard, as does the latest version of Opsview Core (3.20131016).

  1. Save the script to the Opsview server as /usr/local/nagios/libexec/notifications/notify_by_ios_push_custom, owner nagios:nagios, 755 permissions
  2. In the script, edit the these lines:
    # Change these if you don't have the notification profile set up in Opsview.
    my $opsview_system_uuid = "";
    my $ldap_username       = "";
    my $ldap_password       = "";
    my $proxy               = "";

    The UUID can be obtained from the About page of Opsview. The LDAP username and password are the credentials used to log into our main web site. If your server needs to route through a proxy, assign $proxy to it, eg. 'http://example.com:8080'

  3. In Opsview, create a new notification method: Settings → Notification Methods → Create new Notification Method (the plus icon). Enter the command as 'notify_by_ios_push_custom'. Leave the Contact Variables field blank
  4. Assign the new notification method to a contact or contacts
  5. Apply Changes

Note: if Opsview is upgraded, a notification method will be created which is the official Push Notifications to iOS method

Navigation
Print/export
Toolbox