Nagios This host has not yet been checked, so status information is not available
akp geek
akpgeek at gmail.com
Wed Nov 18 18:05:04 CET 2009
Thanks for the input and I made the changes. the main problem is , I
did not install the plugins. Now I have installed them and with the
changes you have mentioned , every thing is fine..
Regards
On Tue, Nov 17, 2009 at 4:33 PM, Marc Powell <marc at ena.com> wrote:
>
> On Nov 17, 2009, at 2:03 PM, akp geek 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
>> }
>
> This command doesn't appear to be used (not in what you've posted, at least).
>
>> 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
>> }
>
> $HOSTADDRESS:devl_01$ and $HOSTADDRESS:devl_02$ aren't needed here or above. Use $HOSTADDRESS$ only in both command_lines. This will substitute the value for the 'address' parameter in the host{} definition for the host currently being checked. This may be your issue.
>
>> 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%
>> }
>
> These are redundant. If you're doing active ping checks of the host, it doesn't make sense to add another ping check as a service.
>
> --
> Marc
>
>
> ------------------------------------------------------------------------------
> 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