Is there a way to set the discagnt.log generation to prune automatically ?
Just deploying agents for the first time inour environment and one of our UNIX admins asks:
Wherever /root/.discagnt exists (currently 190 LPARs), there’s a log that is growing continually - /root/.discagnt/discagnt.log. Do y’all know if this is set up to be pruned?
Re: Is there a way to set the discagnt.log generation to prune automatically ?
The discagnt.log should not grow very large and should roll-over after 10K. My recommendation is to set the $HOME on these servers to a different directory then root since I believe using the /.discagnt in the root is an issue as well.
You can install the agents using the options as below:
./agentinstall.sh [--help] [--url0 ipaddress] [--url1 ipaddress] [--url2 ipaddress] [--port number] [--timeout
seconds] [--cert path] [--usage] [--softwareutilization] [--softwareutilizationonly] [--period days] [--
home path] [--upgrade] [--uninstall] [--clean] [--temp] [--user] [--group] packagename
./agentinstall.sh --port 2738 --home /var/log/ hp-ud-agent-linux-x86.rpm >install.log.
Alternately open up a Support ticket so that we can look at why it is not rolling over and growing this large.
If you find that this or any post has resolved your issues please mark it as solved.