File nagios.sample-config.email-admin-localhost.patch of Package nagios

Mail to nagios@localhost instead of non-existant nagios-admin@localhost

---
 sample-config/template-object/localhost.cfg.in |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Index: nagios-2.6/sample-config/template-object/localhost.cfg.in
===================================================================
--- nagios-2.6.orig/sample-config/template-object/localhost.cfg.in
+++ nagios-2.6/sample-config/template-object/localhost.cfg.in
@@ -91,8 +91,6 @@ define timeperiod{
 ###############################################################################
 
 # In this simple config file, a single contact will receive all alerts.
-# This assumes that you have an account (or email alias) called
-# "@nagios_user@-admin" on the local host.
 
 define contact{
         contact_name                    @nagios_user@-admin
@@ -103,7 +101,7 @@ define contact{
         host_notification_options       d,r
         service_notification_commands   notify-by-email
         host_notification_commands      host-notify-by-email
-        email                           @nagios_user@-admin@localhost
+        email                           @nagios_user@@localhost
         }
 
 
openSUSE Build Service is sponsored by