can not read localhost.cfg file that is cratedwebgui

Nedim Bicic nedo72 at gmail.com
Mon Oct 1 23:15:00 CEST 2007


Here is what i have in the commands.cfg file

*# 'check_ping' command definition
define command{
        command_name    check_ping
        command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c
$ARG2$ -p 5
        }*

this should be workign regardless i mean i dont need a plugin this is a
standard check that came with the distribution package  why do i need to
install a plugin i dont understand when i dont need to be running fancy
commnads.

also some one mentioned the resource.cfg file its pointing to the follwing :

*# Sets $USER1$ to be the path to the plugins
$USER1$=/usr/local/nagios/libexec*
**
*should this last line be tweaked to be like this:*
*$USER1$=/usr/local/nagios/commands.cfg ---> since the commads are defined
here how to do the checks??*
**
Please help me

thanks
**
**
**




On 10/1/07, Marc Powell <marc at ena.com> wrote:
>
>
>
> > -----Original Message-----
> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> > bounces at lists.sourceforge.net] On Behalf Of Nedim Bicic
> > Sent: Monday, October 01, 2007 2:24 PM
> > To: Jim Perrin
> > Cc: nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] can not read localhost.cfg file that is
> > cratedwebgui
> >
> > Is is possible not to run the macros i see ur right dont see the
> plugin in
> > the path shown in the resource.cfg
> >
> > i want to use an existing commands.cfg , i dotn want to use no plugin
> is
> > this possible or do i still have to install nagios plugin
> > in order to get local info running again
>
> I believe you had/have a working nagios that is checking hosts and
> services already, correct? What did you change? Are the previous checks
> you had still working? If so, how are the new service checks different
> than the working ones? Without seeing your service/command definitions
> in question, it sounds like you've got a check_command or command_line
> wrong.
>
> --
> Marc
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071001/bff94b63/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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