Mit Nagmon haben Sie ihr Nagiossystem überall und zu jeder Zeit im Auge. Mittels Push Notifications können Sie sich sofort über neue Ereignisse in ihrem Netzwerk informieren lassen.

Geben Sie in den Einstellungen die URL zu ihrer Nagios Website ein (z.B. http://example.com/nagios/) und die entsprechenden Zugangsdaten.

Push Notifications
Um Push Notifications zu nutzen fügen sie das Notification Script in das Pluginverzeichniss ihres Nagiosservers ein. Sie können das Script hier downloaden.

Konfiguration:
1. Erstellen Sie neue Commands in der Datei misccommands.cfg
Beispiel:
define command{
    command_name host-notify-by-iphone
    command_line $USER1$/notify_by_iphone.pl -t $CONTACTPAGER$ -g "$HOSTGROUPNAME$" -h "$HOSTNAME$" -m "Host $HOSTSTATE$ alert for $HOSTNAME$!"
}

define command{
    command_name service-notify-by-iphone
    command_line $USER1$/notify_by_iphone.pl -t $CONTACTPAGER$ -g "$HOSTGROUPNAME$" -h "$HOSTNAME$" -s "$SERVICEDESC$" -m "$NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$"
}


2. Erstellen Sie einen Benutzer der die Notification erhalten soll. Geben Sie dabei als Pageradresse den Notification-Token aus dem Einstellungsmenü von Nagmon ein.
Beispiel:
define contact{
    contact_name               iPhoneUser
    alias                      iPhoneUser
    contactgroups               admins
    host_notification_period        24x7
    service_notification_period      24x7
    host_notification_options       d,u,r,f,s
    service_notification_options     w,u,c,r,f,s
    host_notification_commands    host-notify-by-email, host-notify-by-iphone
    service_notification_commands  service-notify-by-email, service-notify-by-iphone
    email                    iphone@yourdomain.com
    pager     3c9667fcaf86bfb015611920ed9ecfc5dbb3dcbe9f9a129a97a7c115e5eebe40
}