When I run verify I am getting the following errors:
Verify Nagios Configuration
Synchronizing logo directories...
Creating dynamic Port Scan services...
Creating dynamic Service Group services...
Creating Parent Dependencies...
Creating Service Escalations...
/usr/local/nagios/bin/nagios -v -
c /usr/local/nagmin/nagios/verify.cfg
Verification Failed!!
Nagios 1.2
Copyright (c) 1999-2004 Ethan Galstad
(nagios@nagios.org)
Last Modified: 02-02-2004
License: GPL
Reading configuration data...
Error: Contact name, alias, or email address and pager
number are NULL
Error: Could not register contact (config
file '/usr/local/nagmin/nagios/ContactTemplate.cfg', line
3)
***> The name of the main configuration file looks
suspicious...
Make sure you are specifying the name of the MAIN
configuration file on
the command line and not the name of the host
configuration file. The
main configuration file is
typically '/usr/local/nagios/etc/nagios.cfg'
***> One or more problems was encountered while
processing the config files...
Check your configuration file(s) to ensure that they
contain valid
directives and data defintions. If you are upgrading
from a previous
version of Nagios, you should be aware that some
variables/definitions
may have been removed or modified in this version.
Make sure to read
the HTML documentation on the main and host
config files, as well as the
'Whats New' section to find out what has changed.
ContactTemplate.cfg
1: ## NagMIN Configuration File
(/usr/local/nagmin/nagios/ContactTemplate.cfg) for
ContactTemplate
2: ## Generated Wed Jul 28 17:42:13 2004
3: define contact {
4: name generic-contact
5: service_notification_period 24x7
6: host_notification_period 24x7
7: service_notification_options w,u,c,r
8: host_notification_options d,u,r
9: service_notification_commands notify-by-email
10: host_notification_commands host-notify-by-
email
11: register 1
12: }
Contact.cfg
1: ## NagMIN Configuration File
(/usr/local/nagmin/nagios/Contact.cfg) for Contact
2: ## Generated Wed Jul 28 17:42:13 2004
3: define contact {
4: use generic-contact
5: contact_name nagios
6: alias DH Innovations, LLC - NMS Administrator
7: email webmin@dhinnovations.com
8: pager webmin@dhinnovations.com
9: service_notification_period 24x7
10: host_notification_period 24x7
11: service_notification_options w,u,c,r
12: host_notification_options d,u,r
13: service_notification_commands notify-by-email
14: host_notification_commands host-notify-by-
email
15: }
Contactgroup.cfg
1: ## NagMIN Configuration File
(/usr/local/nagmin/nagios/ContactGroup.cfg) for
ContactGroup
2: ## Generated Wed Jul 28 17:42:13 2004
3: define contactgroup {
4: contactgroup_name system-admins
5: alias DH Innovations System Administrators
6: members nagios
7: }
Logged In: YES
user_id=1143929
Hi Chriss, you problens seems to be with the register in
your template.
set it to 0 and it should work fine.