<HTML>
<font style="font-family: tahoma; font-size: 10pt;"> <div>ah, after all the
install stuff to fall with something like that was just bad! Well your
right, but I am still having a problem. I read alot on hostgroups,
etc. and starting writing out the map of what and how so to then go back to
this, man, I am ready for bed! But here is the scoop / problem. </div>
<div> </div> <div>The command file is untouched. There is
nothing in the services file as I am only testing on one host, so it's in
that servername.cfg file. Once things work I can move it, but that box
now has the following; </div> <div> </div> <div> </div> <div>define
command{ <br /> command_name check_snmp_load_v1 <br />
command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$
$USER7$ -T $ARG1$ -w $ARG2$ -c $$ <br />} <br /> </div></font><font>
<div> </div></font> <div><font style="font-family: tahoma; font-size:
10pt;">define host{ <br />
use
linux-server ; Name of host template to use <br />
; This host definition will inherit all variables that are defined <br />
; in (or inherited by) the linux-server host template definition. <br />
host_name db1 <br />
alias
db1 <br />
address
public ip here <br /> }</font>
</div> <div><font> <div> </div></font>define service{ <br />
use
local-service ; Name of
service template to use <br />
host_name
bigbird <br />
service_description
Current Load via SNMP <br />
check_command
check_snmp_load_v1 <br /> } <br /> </div> <div> </div> <div>I
tried a few things after the _v1 but nagios kept failing on restart, so I
think I just need to figure out howto push the variables (such as hostIP ,
community name) to the check_command, right? Since changing the
service to use the new command, nagios is now red with the following
error; Return code of 255 is out of bounds </div> <div> </div>
<div>I'm getting closer, as I said some good reading 2nt, but not for this,
so hopefully someone has a quick answer and I promise to have more
intelligent questions after ;) </div> <div> <br /> </div>
</HTML>