Setting up a passive check problem
Subhendu Ghosh
sghosh at sghosh.org
Thu Apr 14 05:33:28 CEST 2005
On Wed, 13 Apr 2005, Lewis Getschel wrote:
> Thanks to everyone for your input! (Ain't it great when we all help each
> other!)
>
<snip>
>
> On a side note....
> Can someone explain the idea of "register". As far as I can tell, since
> I have "register 0" in my templates, nothing is registered. When would
> I want to register something, and what does it get me?
>
> When I _try_ to register this service (as above) (with a 1), when I
> reload, I get:
> Error: Service description, host name, or check command is NULL
> Error: Could not register service (config file
> '/usr/local/nagios/etc/general/services.cfg', line 345)
> When I change back to zero, it reloads fine...
> ... Just wondering what I'm "missing".
>
> Thanks again to all.
>
register=0 is used for templates
templates may or may not contain all the required entries for a definition
register=1 (true) is used for instances
The instance definition MUST (after resolution of templates used) contain
all the required entries for the definition.
--
-sg
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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