Nagios This host has not yet been checked, so status information is not available
akp geek
akpgeek at gmail.com
Tue Nov 17 21:36:04 CET 2009
I just want add the following information also... When I monitor the
logs , it saying
The check of host 'devl_02' looks like it was orphaned (results never
came back).
Regards
On Tue, Nov 17, 2009 at 3:03 PM, akp geek <akpgeek at gmail.com> wrote:
> Thanks for the response. Following are the details of my commands.cfg,
> localhost.cfg and templates.cfg
>
>
> ################################################################################
> #
> # SAMPLE HOST CHECK COMMANDS commands.cfg
> #
> ################################################################################
>
>
> # 'check-host-alive' command definition
> define command{
> command_name check-host-alive
> command_line $USER1$/check_ping -H $HOSTADDRESS:devl_01$ -w
> 3000.0,80% -c 5000.0,100% -p 5
> }
>
> define command{
> command_name check-solaris-alive
> command_line $USER1$/check_ping -H $HOSTADDRESS:devl_02$ -w
> 3000.0,80% -c 5000.0,100% -p 5
> }
>
>
> #################################################################################
>
> localhost.cfg
>
> define host{
> use solaris-server ; Name of host template to use
> ; This host
> definition will inherit all variables that are defined
> ; in (or
> inherited by) the linux-server host template definition.
> host_name devl_01
> alias devl02
> address xx.xxx.xxx.24
> }
>
> define host{
> use solaris-server; inherit
> default values from a template
> host_name devl_02; The name we're
> giving to this server
> alias devl02 longer name for the server
> address xx.xxx.xxx.30 IP address of the server
> }
>
> # Define a service to "ping" the local machine
>
> define service{
> use local-service ; Name
> of service template to use
> host_name devl_01
> service_description PING
> check_command check_ping!100.0,20%!500.0,60%
> }
>
> define service{
> use local-service ; Name
> of service template to use
> host_name devl_02
> service_description PING
> check_command check_ping!100.0,20%!500.0,60%
> }
>
>
> ########################################################################################
>
> templates.cfg
>
> define host{
> name solaris-server ; The name of
> this host template
> use generic-host ; This
> template inherits other values from the generic-host template
> check_period 24x7 ; By default,
> Linux hosts are checked round the clock
> check_interval 5 ; Actively
> check the host every 5 minutes
> retry_interval 1 ; Schedule
> host check retries at 1 minute intervals
> max_check_attempts 10 ; Check each
> Linux host 10 times (max)
> check_command check-solaris-alive; Default
> command to check Linux hosts
> notification_period workhours ; Linux admins
> hate to be woken up, so we only notify during the day
> ; Note that
> the notification_period variable is being overridden from
> ; the value
> that is inherited from the generic-host template!
> notification_interval 120 ; Resend
> notifications every 2 hours
> notification_options d,u,r ; Only send
> notifications for specific host states
> contact_groups admins ;
> Notifications get sent to the admins by default
> register 0 ; DONT
> REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
> }
> =============================================================================
>
> Appreciate your help
>
> Regards
> On Tue, Nov 17, 2009 at 10:52 AM, Marc Powell <marc at ena.com> wrote:
>>
>> On Nov 17, 2009, at 7:40 AM, akp geek wrote:
>>
>>> Hi all -
>>>
>>> Can you please help with the issue?
>>
>> You problem is to vague at this point; too many possibilities. It would help if you provided real configuration information (host{} definitions, service{} definitions from objects.cache). A pointer to the instructions you used for installation would help give context on the steps you took as well.
>>
>> --
>> Marc
>>
>>
>>
>>> ---------- Forwarded message ----------
>>> From: akp geek <akpgeek at gmail.com>
>>> Date: Mon, Nov 16, 2009 at 2:27 PM
>>> Subject: This host has not yet been checked, so status information is
>>> not available
>>> To: Nagios-Users Mailinglist <nagios-users at lists.sourceforge.net>
>>>
>>>
>>> Hi All -
>>>
>>> I have installed Nagios on solaris. I have defined a
>>> new host in templates.cfg and check_command.
>>> I have also define host in localhost.cfg for the new host
>>> I have added the command in commands.cfg and I have
>>> verified the configuration and did not get any errors.
>>>
>>> when I opened the Nagios page. I got the servers and but the status is
>>> showing as pending instead of UP. I am not able to figure what else I
>>> need to do ? Can you please help
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> 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
>>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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