Lemseffer. Tahar (MSA) wrote:
> All,
> 
> I'm at a loss about why this  snmpget in a simple script that loops
> over all the device name is not working . 
> I changed csh to ksh
> I checked and I know the snmpget is installed.

I believe, though I don't have any proof to back me up, that it's considered
good practice to use the full path to the command in scripts, rather than
assume the environment will guide you to the correct binary.  Instead of
"snmpget" try "/bin/snmpget" or whereever snmpget is installed on your
system.  This may not fix your problem, but it will make a more robust
script.

Brian

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to