Saving the MIB objects after pressing CTRL-C does not work under Linux

Frank Fock Frank.Fock____t-online.de
Sat Sep 22 11:01:35 CEST 2001


Hi Guenter,

It works on my Linux box and I do not see why it should not work
on yours. Did you check whether you have the "config" subdirectory?

Regards,
Frank

Guenter Dannoritzer wrote:

>  Hi Frank, well I used the ATM agent example that comes with Agent++
> compiled it and started it out of the src directory. At the beginning
> I did not know about the persistent saving of the MIB variables by
> pressing CTRL-C and so I added an extra MIB object to the agent. When
> setting this MIB object to a certain value I called the save function
> and stored the variables persistent. The files were saved direct into
> the src directory were I started the agent from. However pressing
> CTRL-C never saved the objects persistent. Then I used the same
> example on a solaris workstation and actually then learned the first
> time that exiting the agent with CTRL-C would save the MIB objects
> persistent. I also learned that pressing CTRL-C twice (because I was
> so impatient to get the prompt) would cancel the saving and not save
> the objects properly. Is there a way to figure out why the saving does
> not work under the Linux computer? Basically the function must work,
> because adding that special object and initiating the save function
> works. Also canceling the agent with CTRL-C does save the boot count
> to the hard drive. Thanks for the help Guenter




More information about the AGENTPP mailing list