Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..
161 views

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?

 

0 Likes
1 Reply
Highlighted
Contributor.
Contributor.

Re: Is there a way to set the discagnt.log generation to prune automatically ?

Hi,

 

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

--isnative

e.g. 

./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.

 

Thanks

 

 

HP Support
If you find that this or any post has resolved your issues please mark it as solved.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.