Errors from check_nagios -v
John Tabasz (jtabasz)
jtabasz at cisco.com
Thu Oct 4 19:23:41 CEST 2007
I was hoping that would be the case as well. If we're talking about the
error I made by omitting the template string in "use-generic-template"
line in the services.cfg file. I fixed that and rechecked the config
files using nagios -s nagios.cfg and restarted the nagios process.
Still get the "no services associated with $hostname" messages. Still no
automatic running of the ping_check command.
Do I need to specify a check_command argument in the host declaration in
hosts.cfg?
Is my services.cfg file looking the way it is supposed to? Do I need to
include the hosts in a service group?
Thanks,
John
-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc
Powell
Sent: Thursday, October 04, 2007 7:19 AM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Errors from check_nagios -v
> -----Original Message-----
> From: John Tabasz (jtabasz) [mailto:jtabasz at cisco.com]
> Sent: Wednesday, October 03, 2007 5:17 PM
> To: Marc Powell; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Errors from check_nagios -v
>
> Here is the output of the check_nagios -v /opt/nagios/etc/nagios.cfg:
>
> Checking services...
> Checked 10 services.
> Checking hosts...
> Warning: Host 'atest11idev1' has no services associated with it!
> Warning: Host 'dev5b' has no services associated with it!
> Warning: Host 'dev5e' has no services associated with it!
> Warning: Host 'dev5i' has no services associated with it!
> Warning: Host 'dev5k' has no services associated with it!
> Warning: Host 'dev5v' has no services associated with it!
I think if you correct the service template name problem mentioned by
others that I missed you should be OK.
--
Marc
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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