A new Flexera Community experience is coming on November 25th, click here for more information.
This article provides a quick cheat sheet illustrating an approach to gathering diagnostic tracing from a FlexNet inventory agent process running on a Unix-like operating system.
Diagnostic tracing may be helpful to gather when troubleshooting various types of problems that can occur in the agent.
Here is a set of Unix shell commands to enable FlexNet inventory agent tracing, run an agent process, and restore tracing configuration to its original state:
cp /opt/managesoft/etcp.trace /opt/managesoft/etcp.trace.orig
sed -e 's/filename=.*/filename=\/tmp\/ndtrack-trace.log/g' -e 's/flush_freq=[0-9]\+/flush_freq=0/g' /opt/managesoft/etcp.trace.orig >/opt/managesoft/etcp.trace
echo '+Inventory' >>/opt/managesoft/etcp.trace
/opt/managesoft/bin/ndtrack -t Machine -o LogFile=/tmp/ndtrack-log.log >/tmp/ndtrack-output.log 2>&1
cp /opt/managesoft/etcp.trace.orig /opt/managesoft/etcp.trace
In more detail, the above commands do the following things:
After these steps, in this example the following files will be generated containing information for further inspection in the troubleshooting process:
Trace files that are generated can be very large, depending on what trace classes are enabled and what traced processes do. If filesystem space is limited then you may need to watch out for these files filling up the filesystem. When sending trace files to somebody it is generally recommend to compress them - they will normally compress very well.
See the following pages for additional information about configuring and using diagnostic tracing with the FlexNet inventory agent:
Oct 15, 2024 10:54 PM