"Boulieris, Arthur" wrote:
> Hi Steve,
> Thanks for the script. Ive tried doing:
> /usr/OV/bin/snmpget -c community router1 .1.3.6.1.4.1.9.2.1.55.serverip
> octetstring
> /tftpboot/router1.
Actually, the script does an snmpset, not a get.
>
> This is pretty much what your script does only I get "A general failure
> occured on the agent"
> I had to create /tftpboot, Should it allready have been there?
I think it is not default on AIX: I may have had to create it too.
> I created the file router1,both tftpboot and router1 and chmod 666 them.
> The community string is ok so Im not sure why this isnt working.
> Did you have any problems with this?
Probably just the getting instead of setting the variable.
|