problem setting up contact

Andy Kriger andy.kriger at gmail.com
Tue Aug 9 20:46:50 CEST 2005


I'm trying to get Nagios 2.0b4 running on Apache 1.3.33 under Solaris
9.x  but nagios -v nagios.cfg is failing on my contact definition.

>From nagios.log...
[1123612753] Error: Contact name, alias, or email address and pager
number are NULL
[1123612753] Error: Could not register contact (config file
'/usr/local/nagios/etc/minimal.cfg', starting on line 60)

This is my single contact...
define contact{
        contact_name                    nagios
        alias                           Nagios Admin
        host_notification_period        24x7
        service_notification_period     24x7
        host_notification_options       n
        service_notification_options    n
        }

Since I just want to get things running for now, I have notifications
turned off and no email (which is not a required field according to
the docs). However, this fails. When I add an email entry, I get a
segfault in add_contact (so the verification still fails). We don't
have sendmail or any mailserver running on the box (haven't needed one
up to now) so that could be causing the  segfault (though I don't know
if/why nagios would check the email).

I'm new to Nagios and just want to get this running. Can anyone point
me in the right direction?

-a


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list