Book Image

IT Inventory and Resource Management with OCS Inventory NG 1.02

Book Image

IT Inventory and Resource Management with OCS Inventory NG 1.02

Overview of this book

OCS Inventory NG is a cross-platform, open-source inventory and asset management solution. It brings more than plentiful features to the table to satisfy the business needs of small-to-large organizations with up to tens of thousands of computers. However, to put this inventory solution to optimum use requires a lot of skill.This book will lead you through the steps of implementing OCS-NG until you master working with it. This book aims at reducing efforts involved in resource management. The solution gives a robust foundation on top of which we can implement other third party applications, plugins, and much more.This book begins with the basics—it explains what IT inventorying needs are to be met in the real-world. Then, it covers a step-by-step approach to everything you need to know to set up and implement OCS-NG as a centralized inventory solution to meet all these requirements. It delves deeper into carrying out inventory tasks with every chapter.You will learn how to choose the best agent type and deployment method. We discuss the process of gathering inventory data and cover techniques for creating and deploying packages. You will also learn how to acquire added benefits with the use of plugins. We discuss best practices on inventorying and troubleshooting agent-related problems. The book presents real-world inventorying scenarios along with their solutions. You will basically learn how to use OCS-NG to get the most out of it.As a conclusion, if you want to learn about a free solution that fulfils inventorying necessities of the real-world, this is the book for you.
Table of Contents (16 chapters)
IT Inventory and Resource Management with OCS Inventory NG 1.02
Credits
About the Author
Acknowledgement
About the Reviewer
Preface
Keeping Pace with Version Updates—Glancing over the changelog of the Latest Release

Keeping an eye on the behavior of agents


There are situations when everything seems to work alright, agents are uploading their inventory, the server backend accepts the connections and handles the queries appropriately, but then we recognize some client agent is not reporting status. There are more than a handful of reasons why an agent does not upload its inventory to the OCS-NG server and logging is the key to keep an eye on their behavior.

A closer look at the agent's logfile

Thankfully, OCS-NG has inbuilt logging mechanisms. Using the /debug parameter when launching the agent forces it to automatically create the logfile. This can be found in the directory of the agent under the following naming scheme: hostname.log, where the hostname stands for the name of the computer on which the agent runs.

In the case of Linux agents, the parameter is -debug and the logfile can be located in the /var/log/ocsinventory-client folder. The filename is called the same as hostname.log.

The logfile is...