[1116192157] Error: Host '1nx1' specified in service 'SMTP' not defined anywhere!

D.S. org_nagios at L93.com
Mon May 16 03:20:32 CEST 2005


Ahem :)  Yup.. It was a "1"(one" and not a "l"(L).  Thanks!  I checked
the 1's at the end, but never thought that vi might of gotten a little
crazy and stuck one at the front(probably during a delete gone wrong)

Guy Waugh wrote:

> Hello,
>
> D.S. wrote:
>
>> I've tried to greatly simplify the sample configuration files that come
>> with nagios.. To this end I have only 1 sample host, and two services
>> that are monitored.  The problem is I get in the logs:
>>
>>
>> [1116192157] Nagios 1.2 starting... (PID=28945)
>> [1116192157] Error: Host '1nx1' specified in service 'SMTP' not defined
>> anywhere!
>
>
> This looks suspiciously like a one ('1') rather than the letter 'l' to
> me...
>
>> [1116192157] Warning: Contact group 'linux-admins' is not used in any
>> hostgroup/service definitions or host/hostgroup/service escalations!
>> [1116192157] Warning: Contact group 'nt-admins' is not used in any
>> hostgroup/service definitions or host/hostgroup/service escalations!
>> [1116192157] Warning: Contact group 'printer-admins' is not used in any
>> hostgroup/service definitions or host/hostgroup/service escalations!
>> [1116192157] Warning: Contact group 'router-admins' is not used in any
>> hostgroup/service definitions or host/hostgroup/service escalations!
>> [1116192157] Warning: Contact group 'switch-admins' is not used in any
>> hostgroup/service definitions or host/hostgroup/service escalations!
>
>
> Sounds like you have these contact groups defined, but are not using
> them...
>
> Cheers,
> Guy.
>
>> [1116192157] Bailing out due to errors encountered while running the
>> pre-flight check.  Run Nagios from the command line with the -v option
>> to verify your config before restarting. (PID=28945)
>>
>> The host lnx1 is defined below in the hosts.cfg file?  I don't know
>> where else I should put it.. Any suggestions?
>>
>> --David
>
>
> <snip>
>



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
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