Hi, 01.10.2007 23:15,, Nedim Bicic wrote:: > 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
The line above calls the *plugin command* check_ping. > }* > > this should be workign regardless i mean i dont need a plugin this is a > standard check that came with the distribution package As far as I know there are no check_* commands included in the Nagios core distribution. All the programs that do the actual checking are defined as plugins. > why do i need to > install a plugin i dont understand when i dont need to be running fancy > commnads. That's got nothing to do with fancy. Nagios itself *does not contain* the check commands, these are by definition plugins to Nagios. The plugins are distributed as separate packages. > 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??** > ** No, this would be wrong. $USER1$ is not supposed to point to a configuration file. You should reread the manual to refresh your knowledge of these variables, and why they are defined in a separate file. Arno > Please help me > > thanks > ** > ** > ** > > > > > On 10/1/07, *Marc Powell* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > [mailto:nagios-users- <mailto:nagios-users-> > > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>] On Behalf Of Nedim Bicic > > Sent: Monday, October 01, 2007 2:24 PM > > To: Jim Perrin > > Cc: nagios-users@lists.sourceforge.net > <mailto:nagios-users@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@lists.sourceforge.net > <mailto:Nagios-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/nagios-users > <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: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users@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 -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- 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@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