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 > }* > > 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. >
You need to install the check_ping program. Nagios has *no* builtin checks (although if it ever got any, that would probably be the very first one to become one). > 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. USER1 should point to wherever you installed your plugins. Think of it as a variable that makes you save a lot of headache in case you should want to move your plugins somewhere else than where you originally installed them. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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